pg_query 2.0.3 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +30 -0
  3. data/README.md +12 -0
  4. data/Rakefile +5 -19
  5. data/ext/pg_query/extconf.rb +3 -1
  6. data/ext/pg_query/include/c.h +12 -0
  7. data/ext/pg_query/include/executor/executor.h +6 -0
  8. data/ext/pg_query/include/nodes/execnodes.h +9 -6
  9. data/ext/pg_query/include/nodes/pathnodes.h +1 -1
  10. data/ext/pg_query/include/optimizer/paths.h +8 -0
  11. data/ext/pg_query/include/pg_config.h +6 -6
  12. data/ext/pg_query/include/pg_config_manual.h +7 -0
  13. data/ext/pg_query/include/pg_query.h +2 -2
  14. data/ext/pg_query/include/pg_query_outfuncs_defs.c +1 -0
  15. data/ext/pg_query/include/pg_query_readfuncs_defs.c +1 -0
  16. data/ext/pg_query/include/protobuf-c.h +7 -3
  17. data/ext/pg_query/include/protobuf-c/protobuf-c.h +7 -3
  18. data/ext/pg_query/include/protobuf/pg_query.pb-c.h +472 -467
  19. data/ext/pg_query/include/utils/array.h +1 -0
  20. data/ext/pg_query/include/utils/lsyscache.h +1 -0
  21. data/ext/pg_query/include/utils/probes.h +57 -57
  22. data/ext/pg_query/pg_query.pb-c.c +502 -487
  23. data/ext/pg_query/pg_query_deparse.c +6 -0
  24. data/ext/pg_query/pg_query_fingerprint.c +104 -32
  25. data/ext/pg_query/pg_query_normalize.c +112 -60
  26. data/ext/pg_query/protobuf-c.c +34 -27
  27. data/ext/pg_query/src_backend_utils_mmgr_mcxt.c +36 -0
  28. data/ext/pg_query/src_common_hashfn.c +420 -0
  29. data/lib/pg_query.rb +0 -1
  30. data/lib/pg_query/filter_columns.rb +1 -1
  31. data/lib/pg_query/fingerprint.rb +1 -3
  32. data/lib/pg_query/parse.rb +60 -5
  33. data/lib/pg_query/pg_query_pb.rb +1385 -1383
  34. data/lib/pg_query/version.rb +1 -1
  35. metadata +7 -7
  36. data/lib/pg_query/json_field_names.rb +0 -1402
@@ -438,6 +438,7 @@ extern void array_free_iterator(ArrayIterator iterator);
438
438
  extern int ArrayGetOffset(int n, const int *dim, const int *lb, const int *indx);
439
439
  extern int ArrayGetOffset0(int n, const int *tup, const int *scale);
440
440
  extern int ArrayGetNItems(int ndim, const int *dims);
441
+ extern void ArrayCheckBounds(int ndim, const int *dims, const int *lb);
441
442
  extern void mda_get_range(int n, int *span, const int *st, const int *endp);
442
443
  extern void mda_get_prod(int n, const int *range, int *prod);
443
444
  extern void mda_get_offset_values(int n, int *dist, const int *prod, const int *span);
@@ -87,6 +87,7 @@ extern Oid get_opfamily_proc(Oid opfamily, Oid lefttype, Oid righttype,
87
87
  int16 procnum);
88
88
  extern char *get_attname(Oid relid, AttrNumber attnum, bool missing_ok);
89
89
  extern AttrNumber get_attnum(Oid relid, const char *attname);
90
+ extern int get_attstattarget(Oid relid, AttrNumber attnum);
90
91
  extern char get_attgenerated(Oid relid, AttrNumber attnum);
91
92
  extern Oid get_atttype(Oid relid, AttrNumber attnum);
92
93
  extern void get_atttypetypmodcoll(Oid relid, AttrNumber attnum,
@@ -1,114 +1,114 @@
1
- #define TRACE_POSTGRESQL_TRANSACTION_START(INT1)
1
+ #define TRACE_POSTGRESQL_TRANSACTION_START(INT1) do {} while (0)
2
2
  #define TRACE_POSTGRESQL_TRANSACTION_START_ENABLED() (0)
3
- #define TRACE_POSTGRESQL_TRANSACTION_COMMIT(INT1)
3
+ #define TRACE_POSTGRESQL_TRANSACTION_COMMIT(INT1) do {} while (0)
4
4
  #define TRACE_POSTGRESQL_TRANSACTION_COMMIT_ENABLED() (0)
5
- #define TRACE_POSTGRESQL_TRANSACTION_ABORT(INT1)
5
+ #define TRACE_POSTGRESQL_TRANSACTION_ABORT(INT1) do {} while (0)
6
6
  #define TRACE_POSTGRESQL_TRANSACTION_ABORT_ENABLED() (0)
7
- #define TRACE_POSTGRESQL_LWLOCK_ACQUIRE(INT1, INT2)
7
+ #define TRACE_POSTGRESQL_LWLOCK_ACQUIRE(INT1, INT2) do {} while (0)
8
8
  #define TRACE_POSTGRESQL_LWLOCK_ACQUIRE_ENABLED() (0)
9
- #define TRACE_POSTGRESQL_LWLOCK_RELEASE(INT1)
9
+ #define TRACE_POSTGRESQL_LWLOCK_RELEASE(INT1) do {} while (0)
10
10
  #define TRACE_POSTGRESQL_LWLOCK_RELEASE_ENABLED() (0)
11
- #define TRACE_POSTGRESQL_LWLOCK_WAIT_START(INT1, INT2)
11
+ #define TRACE_POSTGRESQL_LWLOCK_WAIT_START(INT1, INT2) do {} while (0)
12
12
  #define TRACE_POSTGRESQL_LWLOCK_WAIT_START_ENABLED() (0)
13
- #define TRACE_POSTGRESQL_LWLOCK_WAIT_DONE(INT1, INT2)
13
+ #define TRACE_POSTGRESQL_LWLOCK_WAIT_DONE(INT1, INT2) do {} while (0)
14
14
  #define TRACE_POSTGRESQL_LWLOCK_WAIT_DONE_ENABLED() (0)
15
- #define TRACE_POSTGRESQL_LWLOCK_CONDACQUIRE(INT1, INT2)
15
+ #define TRACE_POSTGRESQL_LWLOCK_CONDACQUIRE(INT1, INT2) do {} while (0)
16
16
  #define TRACE_POSTGRESQL_LWLOCK_CONDACQUIRE_ENABLED() (0)
17
- #define TRACE_POSTGRESQL_LWLOCK_CONDACQUIRE_FAIL(INT1, INT2)
17
+ #define TRACE_POSTGRESQL_LWLOCK_CONDACQUIRE_FAIL(INT1, INT2) do {} while (0)
18
18
  #define TRACE_POSTGRESQL_LWLOCK_CONDACQUIRE_FAIL_ENABLED() (0)
19
- #define TRACE_POSTGRESQL_LWLOCK_ACQUIRE_OR_WAIT(INT1, INT2)
19
+ #define TRACE_POSTGRESQL_LWLOCK_ACQUIRE_OR_WAIT(INT1, INT2) do {} while (0)
20
20
  #define TRACE_POSTGRESQL_LWLOCK_ACQUIRE_OR_WAIT_ENABLED() (0)
21
- #define TRACE_POSTGRESQL_LWLOCK_ACQUIRE_OR_WAIT_FAIL(INT1, INT2)
21
+ #define TRACE_POSTGRESQL_LWLOCK_ACQUIRE_OR_WAIT_FAIL(INT1, INT2) do {} while (0)
22
22
  #define TRACE_POSTGRESQL_LWLOCK_ACQUIRE_OR_WAIT_FAIL_ENABLED() (0)
23
- #define TRACE_POSTGRESQL_LOCK_WAIT_START(INT1, INT2, INT3, INT4, INT5, INT6)
23
+ #define TRACE_POSTGRESQL_LOCK_WAIT_START(INT1, INT2, INT3, INT4, INT5, INT6) do {} while (0)
24
24
  #define TRACE_POSTGRESQL_LOCK_WAIT_START_ENABLED() (0)
25
- #define TRACE_POSTGRESQL_LOCK_WAIT_DONE(INT1, INT2, INT3, INT4, INT5, INT6)
25
+ #define TRACE_POSTGRESQL_LOCK_WAIT_DONE(INT1, INT2, INT3, INT4, INT5, INT6) do {} while (0)
26
26
  #define TRACE_POSTGRESQL_LOCK_WAIT_DONE_ENABLED() (0)
27
- #define TRACE_POSTGRESQL_QUERY_PARSE_START(INT1)
27
+ #define TRACE_POSTGRESQL_QUERY_PARSE_START(INT1) do {} while (0)
28
28
  #define TRACE_POSTGRESQL_QUERY_PARSE_START_ENABLED() (0)
29
- #define TRACE_POSTGRESQL_QUERY_PARSE_DONE(INT1)
29
+ #define TRACE_POSTGRESQL_QUERY_PARSE_DONE(INT1) do {} while (0)
30
30
  #define TRACE_POSTGRESQL_QUERY_PARSE_DONE_ENABLED() (0)
31
- #define TRACE_POSTGRESQL_QUERY_REWRITE_START(INT1)
31
+ #define TRACE_POSTGRESQL_QUERY_REWRITE_START(INT1) do {} while (0)
32
32
  #define TRACE_POSTGRESQL_QUERY_REWRITE_START_ENABLED() (0)
33
- #define TRACE_POSTGRESQL_QUERY_REWRITE_DONE(INT1)
33
+ #define TRACE_POSTGRESQL_QUERY_REWRITE_DONE(INT1) do {} while (0)
34
34
  #define TRACE_POSTGRESQL_QUERY_REWRITE_DONE_ENABLED() (0)
35
- #define TRACE_POSTGRESQL_QUERY_PLAN_START()
35
+ #define TRACE_POSTGRESQL_QUERY_PLAN_START() do {} while (0)
36
36
  #define TRACE_POSTGRESQL_QUERY_PLAN_START_ENABLED() (0)
37
- #define TRACE_POSTGRESQL_QUERY_PLAN_DONE()
37
+ #define TRACE_POSTGRESQL_QUERY_PLAN_DONE() do {} while (0)
38
38
  #define TRACE_POSTGRESQL_QUERY_PLAN_DONE_ENABLED() (0)
39
- #define TRACE_POSTGRESQL_QUERY_EXECUTE_START()
39
+ #define TRACE_POSTGRESQL_QUERY_EXECUTE_START() do {} while (0)
40
40
  #define TRACE_POSTGRESQL_QUERY_EXECUTE_START_ENABLED() (0)
41
- #define TRACE_POSTGRESQL_QUERY_EXECUTE_DONE()
41
+ #define TRACE_POSTGRESQL_QUERY_EXECUTE_DONE() do {} while (0)
42
42
  #define TRACE_POSTGRESQL_QUERY_EXECUTE_DONE_ENABLED() (0)
43
- #define TRACE_POSTGRESQL_QUERY_START(INT1)
43
+ #define TRACE_POSTGRESQL_QUERY_START(INT1) do {} while (0)
44
44
  #define TRACE_POSTGRESQL_QUERY_START_ENABLED() (0)
45
- #define TRACE_POSTGRESQL_QUERY_DONE(INT1)
45
+ #define TRACE_POSTGRESQL_QUERY_DONE(INT1) do {} while (0)
46
46
  #define TRACE_POSTGRESQL_QUERY_DONE_ENABLED() (0)
47
- #define TRACE_POSTGRESQL_STATEMENT_STATUS(INT1)
47
+ #define TRACE_POSTGRESQL_STATEMENT_STATUS(INT1) do {} while (0)
48
48
  #define TRACE_POSTGRESQL_STATEMENT_STATUS_ENABLED() (0)
49
- #define TRACE_POSTGRESQL_SORT_START(INT1, INT2, INT3, INT4, INT5, INT6)
49
+ #define TRACE_POSTGRESQL_SORT_START(INT1, INT2, INT3, INT4, INT5, INT6) do {} while (0)
50
50
  #define TRACE_POSTGRESQL_SORT_START_ENABLED() (0)
51
- #define TRACE_POSTGRESQL_SORT_DONE(INT1, INT2)
51
+ #define TRACE_POSTGRESQL_SORT_DONE(INT1, INT2) do {} while (0)
52
52
  #define TRACE_POSTGRESQL_SORT_DONE_ENABLED() (0)
53
- #define TRACE_POSTGRESQL_BUFFER_READ_START(INT1, INT2, INT3, INT4, INT5, INT6, INT7)
53
+ #define TRACE_POSTGRESQL_BUFFER_READ_START(INT1, INT2, INT3, INT4, INT5, INT6, INT7) do {} while (0)
54
54
  #define TRACE_POSTGRESQL_BUFFER_READ_START_ENABLED() (0)
55
- #define TRACE_POSTGRESQL_BUFFER_READ_DONE(INT1, INT2, INT3, INT4, INT5, INT6, INT7, INT8)
55
+ #define TRACE_POSTGRESQL_BUFFER_READ_DONE(INT1, INT2, INT3, INT4, INT5, INT6, INT7, INT8) do {} while (0)
56
56
  #define TRACE_POSTGRESQL_BUFFER_READ_DONE_ENABLED() (0)
57
- #define TRACE_POSTGRESQL_BUFFER_FLUSH_START(INT1, INT2, INT3, INT4, INT5)
57
+ #define TRACE_POSTGRESQL_BUFFER_FLUSH_START(INT1, INT2, INT3, INT4, INT5) do {} while (0)
58
58
  #define TRACE_POSTGRESQL_BUFFER_FLUSH_START_ENABLED() (0)
59
- #define TRACE_POSTGRESQL_BUFFER_FLUSH_DONE(INT1, INT2, INT3, INT4, INT5)
59
+ #define TRACE_POSTGRESQL_BUFFER_FLUSH_DONE(INT1, INT2, INT3, INT4, INT5) do {} while (0)
60
60
  #define TRACE_POSTGRESQL_BUFFER_FLUSH_DONE_ENABLED() (0)
61
- #define TRACE_POSTGRESQL_BUFFER_CHECKPOINT_START(INT1)
61
+ #define TRACE_POSTGRESQL_BUFFER_CHECKPOINT_START(INT1) do {} while (0)
62
62
  #define TRACE_POSTGRESQL_BUFFER_CHECKPOINT_START_ENABLED() (0)
63
- #define TRACE_POSTGRESQL_BUFFER_CHECKPOINT_SYNC_START()
63
+ #define TRACE_POSTGRESQL_BUFFER_CHECKPOINT_SYNC_START() do {} while (0)
64
64
  #define TRACE_POSTGRESQL_BUFFER_CHECKPOINT_SYNC_START_ENABLED() (0)
65
- #define TRACE_POSTGRESQL_BUFFER_CHECKPOINT_DONE()
65
+ #define TRACE_POSTGRESQL_BUFFER_CHECKPOINT_DONE() do {} while (0)
66
66
  #define TRACE_POSTGRESQL_BUFFER_CHECKPOINT_DONE_ENABLED() (0)
67
- #define TRACE_POSTGRESQL_BUFFER_SYNC_START(INT1, INT2)
67
+ #define TRACE_POSTGRESQL_BUFFER_SYNC_START(INT1, INT2) do {} while (0)
68
68
  #define TRACE_POSTGRESQL_BUFFER_SYNC_START_ENABLED() (0)
69
- #define TRACE_POSTGRESQL_BUFFER_SYNC_WRITTEN(INT1)
69
+ #define TRACE_POSTGRESQL_BUFFER_SYNC_WRITTEN(INT1) do {} while (0)
70
70
  #define TRACE_POSTGRESQL_BUFFER_SYNC_WRITTEN_ENABLED() (0)
71
- #define TRACE_POSTGRESQL_BUFFER_SYNC_DONE(INT1, INT2, INT3)
71
+ #define TRACE_POSTGRESQL_BUFFER_SYNC_DONE(INT1, INT2, INT3) do {} while (0)
72
72
  #define TRACE_POSTGRESQL_BUFFER_SYNC_DONE_ENABLED() (0)
73
- #define TRACE_POSTGRESQL_BUFFER_WRITE_DIRTY_START(INT1, INT2, INT3, INT4, INT5)
73
+ #define TRACE_POSTGRESQL_BUFFER_WRITE_DIRTY_START(INT1, INT2, INT3, INT4, INT5) do {} while (0)
74
74
  #define TRACE_POSTGRESQL_BUFFER_WRITE_DIRTY_START_ENABLED() (0)
75
- #define TRACE_POSTGRESQL_BUFFER_WRITE_DIRTY_DONE(INT1, INT2, INT3, INT4, INT5)
75
+ #define TRACE_POSTGRESQL_BUFFER_WRITE_DIRTY_DONE(INT1, INT2, INT3, INT4, INT5) do {} while (0)
76
76
  #define TRACE_POSTGRESQL_BUFFER_WRITE_DIRTY_DONE_ENABLED() (0)
77
- #define TRACE_POSTGRESQL_DEADLOCK_FOUND()
77
+ #define TRACE_POSTGRESQL_DEADLOCK_FOUND() do {} while (0)
78
78
  #define TRACE_POSTGRESQL_DEADLOCK_FOUND_ENABLED() (0)
79
- #define TRACE_POSTGRESQL_CHECKPOINT_START(INT1)
79
+ #define TRACE_POSTGRESQL_CHECKPOINT_START(INT1) do {} while (0)
80
80
  #define TRACE_POSTGRESQL_CHECKPOINT_START_ENABLED() (0)
81
- #define TRACE_POSTGRESQL_CHECKPOINT_DONE(INT1, INT2, INT3, INT4, INT5)
81
+ #define TRACE_POSTGRESQL_CHECKPOINT_DONE(INT1, INT2, INT3, INT4, INT5) do {} while (0)
82
82
  #define TRACE_POSTGRESQL_CHECKPOINT_DONE_ENABLED() (0)
83
- #define TRACE_POSTGRESQL_CLOG_CHECKPOINT_START(INT1)
83
+ #define TRACE_POSTGRESQL_CLOG_CHECKPOINT_START(INT1) do {} while (0)
84
84
  #define TRACE_POSTGRESQL_CLOG_CHECKPOINT_START_ENABLED() (0)
85
- #define TRACE_POSTGRESQL_CLOG_CHECKPOINT_DONE(INT1)
85
+ #define TRACE_POSTGRESQL_CLOG_CHECKPOINT_DONE(INT1) do {} while (0)
86
86
  #define TRACE_POSTGRESQL_CLOG_CHECKPOINT_DONE_ENABLED() (0)
87
- #define TRACE_POSTGRESQL_SUBTRANS_CHECKPOINT_START(INT1)
87
+ #define TRACE_POSTGRESQL_SUBTRANS_CHECKPOINT_START(INT1) do {} while (0)
88
88
  #define TRACE_POSTGRESQL_SUBTRANS_CHECKPOINT_START_ENABLED() (0)
89
- #define TRACE_POSTGRESQL_SUBTRANS_CHECKPOINT_DONE(INT1)
89
+ #define TRACE_POSTGRESQL_SUBTRANS_CHECKPOINT_DONE(INT1) do {} while (0)
90
90
  #define TRACE_POSTGRESQL_SUBTRANS_CHECKPOINT_DONE_ENABLED() (0)
91
- #define TRACE_POSTGRESQL_MULTIXACT_CHECKPOINT_START(INT1)
91
+ #define TRACE_POSTGRESQL_MULTIXACT_CHECKPOINT_START(INT1) do {} while (0)
92
92
  #define TRACE_POSTGRESQL_MULTIXACT_CHECKPOINT_START_ENABLED() (0)
93
- #define TRACE_POSTGRESQL_MULTIXACT_CHECKPOINT_DONE(INT1)
93
+ #define TRACE_POSTGRESQL_MULTIXACT_CHECKPOINT_DONE(INT1) do {} while (0)
94
94
  #define TRACE_POSTGRESQL_MULTIXACT_CHECKPOINT_DONE_ENABLED() (0)
95
- #define TRACE_POSTGRESQL_TWOPHASE_CHECKPOINT_START()
95
+ #define TRACE_POSTGRESQL_TWOPHASE_CHECKPOINT_START() do {} while (0)
96
96
  #define TRACE_POSTGRESQL_TWOPHASE_CHECKPOINT_START_ENABLED() (0)
97
- #define TRACE_POSTGRESQL_TWOPHASE_CHECKPOINT_DONE()
97
+ #define TRACE_POSTGRESQL_TWOPHASE_CHECKPOINT_DONE() do {} while (0)
98
98
  #define TRACE_POSTGRESQL_TWOPHASE_CHECKPOINT_DONE_ENABLED() (0)
99
- #define TRACE_POSTGRESQL_SMGR_MD_READ_START(INT1, INT2, INT3, INT4, INT5, INT6)
99
+ #define TRACE_POSTGRESQL_SMGR_MD_READ_START(INT1, INT2, INT3, INT4, INT5, INT6) do {} while (0)
100
100
  #define TRACE_POSTGRESQL_SMGR_MD_READ_START_ENABLED() (0)
101
- #define TRACE_POSTGRESQL_SMGR_MD_READ_DONE(INT1, INT2, INT3, INT4, INT5, INT6, INT7, INT8)
101
+ #define TRACE_POSTGRESQL_SMGR_MD_READ_DONE(INT1, INT2, INT3, INT4, INT5, INT6, INT7, INT8) do {} while (0)
102
102
  #define TRACE_POSTGRESQL_SMGR_MD_READ_DONE_ENABLED() (0)
103
- #define TRACE_POSTGRESQL_SMGR_MD_WRITE_START(INT1, INT2, INT3, INT4, INT5, INT6)
103
+ #define TRACE_POSTGRESQL_SMGR_MD_WRITE_START(INT1, INT2, INT3, INT4, INT5, INT6) do {} while (0)
104
104
  #define TRACE_POSTGRESQL_SMGR_MD_WRITE_START_ENABLED() (0)
105
- #define TRACE_POSTGRESQL_SMGR_MD_WRITE_DONE(INT1, INT2, INT3, INT4, INT5, INT6, INT7, INT8)
105
+ #define TRACE_POSTGRESQL_SMGR_MD_WRITE_DONE(INT1, INT2, INT3, INT4, INT5, INT6, INT7, INT8) do {} while (0)
106
106
  #define TRACE_POSTGRESQL_SMGR_MD_WRITE_DONE_ENABLED() (0)
107
- #define TRACE_POSTGRESQL_WAL_INSERT(INT1, INT2)
107
+ #define TRACE_POSTGRESQL_WAL_INSERT(INT1, INT2) do {} while (0)
108
108
  #define TRACE_POSTGRESQL_WAL_INSERT_ENABLED() (0)
109
- #define TRACE_POSTGRESQL_WAL_SWITCH()
109
+ #define TRACE_POSTGRESQL_WAL_SWITCH() do {} while (0)
110
110
  #define TRACE_POSTGRESQL_WAL_SWITCH_ENABLED() (0)
111
- #define TRACE_POSTGRESQL_WAL_BUFFER_WRITE_DIRTY_START()
111
+ #define TRACE_POSTGRESQL_WAL_BUFFER_WRITE_DIRTY_START() do {} while (0)
112
112
  #define TRACE_POSTGRESQL_WAL_BUFFER_WRITE_DIRTY_START_ENABLED() (0)
113
- #define TRACE_POSTGRESQL_WAL_BUFFER_WRITE_DIRTY_DONE()
113
+ #define TRACE_POSTGRESQL_WAL_BUFFER_WRITE_DIRTY_DONE() do {} while (0)
114
114
  #define TRACE_POSTGRESQL_WAL_BUFFER_WRITE_DIRTY_DONE_ENABLED() (0)
@@ -32866,7 +32866,7 @@ const ProtobufCMessageDescriptor pg_query__create_op_class_item__descriptor =
32866
32866
  (ProtobufCMessageInit) pg_query__create_op_class_item__init,
32867
32867
  NULL,NULL,NULL /* reserved[123] */
32868
32868
  };
32869
- static const ProtobufCFieldDescriptor pg_query__table_like_clause__field_descriptors[2] =
32869
+ static const ProtobufCFieldDescriptor pg_query__table_like_clause__field_descriptors[3] =
32870
32870
  {
32871
32871
  {
32872
32872
  "relation",
@@ -32892,15 +32892,28 @@ static const ProtobufCFieldDescriptor pg_query__table_like_clause__field_descrip
32892
32892
  0, /* flags */
32893
32893
  0,NULL,NULL /* reserved1,reserved2, etc */
32894
32894
  },
32895
+ {
32896
+ "relation_oid",
32897
+ 3,
32898
+ PROTOBUF_C_LABEL_NONE,
32899
+ PROTOBUF_C_TYPE_UINT32,
32900
+ 0, /* quantifier_offset */
32901
+ offsetof(PgQuery__TableLikeClause, relation_oid),
32902
+ NULL,
32903
+ NULL,
32904
+ 0, /* flags */
32905
+ 0,NULL,NULL /* reserved1,reserved2, etc */
32906
+ },
32895
32907
  };
32896
32908
  static const unsigned pg_query__table_like_clause__field_indices_by_name[] = {
32897
32909
  1, /* field[1] = options */
32898
32910
  0, /* field[0] = relation */
32911
+ 2, /* field[2] = relation_oid */
32899
32912
  };
32900
32913
  static const ProtobufCIntRange pg_query__table_like_clause__number_ranges[1 + 1] =
32901
32914
  {
32902
32915
  { 1, 0 },
32903
- { 0, 2 }
32916
+ { 0, 3 }
32904
32917
  };
32905
32918
  const ProtobufCMessageDescriptor pg_query__table_like_clause__descriptor =
32906
32919
  {
@@ -32910,7 +32923,7 @@ const ProtobufCMessageDescriptor pg_query__table_like_clause__descriptor =
32910
32923
  "PgQuery__TableLikeClause",
32911
32924
  "pg_query",
32912
32925
  sizeof(PgQuery__TableLikeClause),
32913
- 2,
32926
+ 3,
32914
32927
  pg_query__table_like_clause__field_descriptors,
32915
32928
  pg_query__table_like_clause__field_indices_by_name,
32916
32929
  1, pg_query__table_like_clause__number_ranges,
@@ -36616,7 +36629,7 @@ const ProtobufCEnumDescriptor pg_query__keyword_kind__descriptor =
36616
36629
  pg_query__keyword_kind__value_ranges,
36617
36630
  NULL,NULL,NULL,NULL /* reserved[1234] */
36618
36631
  };
36619
- static const ProtobufCEnumValue pg_query__token__enum_values_by_number[493] =
36632
+ static const ProtobufCEnumValue pg_query__token__enum_values_by_number[494] =
36620
36633
  {
36621
36634
  { "NUL", "PG_QUERY__TOKEN__NUL", 0 },
36622
36635
  { "ASCII_37", "PG_QUERY__TOKEN__ASCII_37", 37 },
@@ -36635,6 +36648,7 @@ static const ProtobufCEnumValue pg_query__token__enum_values_by_number[493] =
36635
36648
  { "ASCII_62", "PG_QUERY__TOKEN__ASCII_62", 62 },
36636
36649
  { "ASCII_63", "PG_QUERY__TOKEN__ASCII_63", 63 },
36637
36650
  { "ASCII_91", "PG_QUERY__TOKEN__ASCII_91", 91 },
36651
+ { "ASCII_92", "PG_QUERY__TOKEN__ASCII_92", 92 },
36638
36652
  { "ASCII_93", "PG_QUERY__TOKEN__ASCII_93", 93 },
36639
36653
  { "ASCII_94", "PG_QUERY__TOKEN__ASCII_94", 94 },
36640
36654
  { "IDENT", "PG_QUERY__TOKEN__IDENT", 258 },
@@ -37113,29 +37127,29 @@ static const ProtobufCEnumValue pg_query__token__enum_values_by_number[493] =
37113
37127
  { "UMINUS", "PG_QUERY__TOKEN__UMINUS", 731 },
37114
37128
  };
37115
37129
  static const ProtobufCIntRange pg_query__token__value_ranges[] = {
37116
- {0, 0},{37, 1},{40, 2},{58, 10},{91, 16},{93, 17},{258, 19},{0, 493}
37117
- };
37118
- static const ProtobufCEnumValueIndex pg_query__token__enum_values_by_name[493] =
37119
- {
37120
- { "ABORT_P", 38 },
37121
- { "ABSOLUTE_P", 39 },
37122
- { "ACCESS", 40 },
37123
- { "ACTION", 41 },
37124
- { "ADD_P", 42 },
37125
- { "ADMIN", 43 },
37126
- { "AFTER", 44 },
37127
- { "AGGREGATE", 45 },
37128
- { "ALL", 46 },
37129
- { "ALSO", 47 },
37130
- { "ALTER", 48 },
37131
- { "ALWAYS", 49 },
37132
- { "ANALYSE", 50 },
37133
- { "ANALYZE", 51 },
37134
- { "AND", 52 },
37135
- { "ANY", 53 },
37136
- { "ARRAY", 54 },
37137
- { "AS", 55 },
37138
- { "ASC", 56 },
37130
+ {0, 0},{37, 1},{40, 2},{58, 10},{91, 16},{258, 20},{0, 494}
37131
+ };
37132
+ static const ProtobufCEnumValueIndex pg_query__token__enum_values_by_name[494] =
37133
+ {
37134
+ { "ABORT_P", 39 },
37135
+ { "ABSOLUTE_P", 40 },
37136
+ { "ACCESS", 41 },
37137
+ { "ACTION", 42 },
37138
+ { "ADD_P", 43 },
37139
+ { "ADMIN", 44 },
37140
+ { "AFTER", 45 },
37141
+ { "AGGREGATE", 46 },
37142
+ { "ALL", 47 },
37143
+ { "ALSO", 48 },
37144
+ { "ALTER", 49 },
37145
+ { "ALWAYS", 50 },
37146
+ { "ANALYSE", 51 },
37147
+ { "ANALYZE", 52 },
37148
+ { "AND", 53 },
37149
+ { "ANY", 54 },
37150
+ { "ARRAY", 55 },
37151
+ { "AS", 56 },
37152
+ { "ASC", 57 },
37139
37153
  { "ASCII_37", 1 },
37140
37154
  { "ASCII_40", 2 },
37141
37155
  { "ASCII_41", 3 },
@@ -37152,464 +37166,465 @@ static const ProtobufCEnumValueIndex pg_query__token__enum_values_by_name[493] =
37152
37166
  { "ASCII_62", 14 },
37153
37167
  { "ASCII_63", 15 },
37154
37168
  { "ASCII_91", 16 },
37155
- { "ASCII_93", 17 },
37156
- { "ASCII_94", 18 },
37157
- { "ASSERTION", 57 },
37158
- { "ASSIGNMENT", 58 },
37159
- { "ASYMMETRIC", 59 },
37160
- { "AT", 60 },
37161
- { "ATTACH", 61 },
37162
- { "ATTRIBUTE", 62 },
37163
- { "AUTHORIZATION", 63 },
37164
- { "BACKWARD", 64 },
37165
- { "BCONST", 24 },
37166
- { "BEFORE", 65 },
37167
- { "BEGIN_P", 66 },
37168
- { "BETWEEN", 67 },
37169
- { "BIGINT", 68 },
37170
- { "BINARY", 69 },
37171
- { "BIT", 70 },
37172
- { "BOOLEAN_P", 71 },
37173
- { "BOTH", 72 },
37174
- { "BY", 73 },
37175
- { "CACHE", 74 },
37176
- { "CALL", 75 },
37177
- { "CALLED", 76 },
37178
- { "CASCADE", 77 },
37179
- { "CASCADED", 78 },
37180
- { "CASE", 79 },
37181
- { "CAST", 80 },
37182
- { "CATALOG_P", 81 },
37183
- { "CHAIN", 82 },
37184
- { "CHARACTER", 84 },
37185
- { "CHARACTERISTICS", 85 },
37186
- { "CHAR_P", 83 },
37187
- { "CHECK", 86 },
37188
- { "CHECKPOINT", 87 },
37189
- { "CLASS", 88 },
37190
- { "CLOSE", 89 },
37191
- { "CLUSTER", 90 },
37192
- { "COALESCE", 91 },
37193
- { "COLLATE", 92 },
37194
- { "COLLATION", 93 },
37195
- { "COLON_EQUALS", 31 },
37196
- { "COLUMN", 94 },
37197
- { "COLUMNS", 95 },
37198
- { "COMMENT", 96 },
37199
- { "COMMENTS", 97 },
37200
- { "COMMIT", 98 },
37201
- { "COMMITTED", 99 },
37202
- { "CONCURRENTLY", 100 },
37203
- { "CONFIGURATION", 101 },
37204
- { "CONFLICT", 102 },
37205
- { "CONNECTION", 103 },
37206
- { "CONSTRAINT", 104 },
37207
- { "CONSTRAINTS", 105 },
37208
- { "CONTENT_P", 106 },
37209
- { "CONTINUE_P", 107 },
37210
- { "CONVERSION_P", 108 },
37211
- { "COPY", 109 },
37212
- { "COST", 110 },
37213
- { "CREATE", 111 },
37214
- { "CROSS", 112 },
37215
- { "CSV", 113 },
37216
- { "CUBE", 114 },
37217
- { "CURRENT_CATALOG", 116 },
37218
- { "CURRENT_DATE", 117 },
37219
- { "CURRENT_P", 115 },
37220
- { "CURRENT_ROLE", 118 },
37221
- { "CURRENT_SCHEMA", 119 },
37222
- { "CURRENT_TIME", 120 },
37223
- { "CURRENT_TIMESTAMP", 121 },
37224
- { "CURRENT_USER", 122 },
37225
- { "CURSOR", 123 },
37226
- { "CYCLE", 124 },
37227
- { "C_COMMENT", 37 },
37228
- { "DATABASE", 126 },
37229
- { "DATA_P", 125 },
37230
- { "DAY_P", 127 },
37231
- { "DEALLOCATE", 128 },
37232
- { "DEC", 129 },
37233
- { "DECIMAL_P", 130 },
37234
- { "DECLARE", 131 },
37235
- { "DEFAULT", 132 },
37236
- { "DEFAULTS", 133 },
37237
- { "DEFERRABLE", 134 },
37238
- { "DEFERRED", 135 },
37239
- { "DEFINER", 136 },
37240
- { "DELETE_P", 137 },
37241
- { "DELIMITER", 138 },
37242
- { "DELIMITERS", 139 },
37243
- { "DEPENDS", 140 },
37244
- { "DESC", 141 },
37245
- { "DETACH", 142 },
37246
- { "DICTIONARY", 143 },
37247
- { "DISABLE_P", 144 },
37248
- { "DISCARD", 145 },
37249
- { "DISTINCT", 146 },
37250
- { "DO", 147 },
37251
- { "DOCUMENT_P", 148 },
37252
- { "DOMAIN_P", 149 },
37253
- { "DOT_DOT", 30 },
37254
- { "DOUBLE_P", 150 },
37255
- { "DROP", 151 },
37256
- { "EACH", 152 },
37257
- { "ELSE", 153 },
37258
- { "ENABLE_P", 154 },
37259
- { "ENCODING", 155 },
37260
- { "ENCRYPTED", 156 },
37261
- { "END_P", 157 },
37262
- { "ENUM_P", 158 },
37263
- { "EQUALS_GREATER", 32 },
37264
- { "ESCAPE", 159 },
37265
- { "EVENT", 160 },
37266
- { "EXCEPT", 161 },
37267
- { "EXCLUDE", 162 },
37268
- { "EXCLUDING", 163 },
37269
- { "EXCLUSIVE", 164 },
37270
- { "EXECUTE", 165 },
37271
- { "EXISTS", 166 },
37272
- { "EXPLAIN", 167 },
37273
- { "EXPRESSION", 168 },
37274
- { "EXTENSION", 169 },
37275
- { "EXTERNAL", 170 },
37276
- { "EXTRACT", 171 },
37277
- { "FALSE_P", 172 },
37278
- { "FAMILY", 173 },
37279
- { "FCONST", 21 },
37280
- { "FETCH", 174 },
37281
- { "FILTER", 175 },
37282
- { "FIRST_P", 176 },
37283
- { "FLOAT_P", 177 },
37284
- { "FOLLOWING", 178 },
37285
- { "FOR", 179 },
37286
- { "FORCE", 180 },
37287
- { "FOREIGN", 181 },
37288
- { "FORWARD", 182 },
37289
- { "FREEZE", 183 },
37290
- { "FROM", 184 },
37291
- { "FULL", 185 },
37292
- { "FUNCTION", 186 },
37293
- { "FUNCTIONS", 187 },
37294
- { "GENERATED", 188 },
37295
- { "GLOBAL", 189 },
37296
- { "GRANT", 190 },
37297
- { "GRANTED", 191 },
37298
- { "GREATER_EQUALS", 34 },
37299
- { "GREATEST", 192 },
37300
- { "GROUPING", 194 },
37301
- { "GROUPS", 195 },
37302
- { "GROUP_P", 193 },
37303
- { "HANDLER", 196 },
37304
- { "HAVING", 197 },
37305
- { "HEADER_P", 198 },
37306
- { "HOLD", 199 },
37307
- { "HOUR_P", 200 },
37308
- { "ICONST", 27 },
37309
- { "IDENT", 19 },
37310
- { "IDENTITY_P", 201 },
37311
- { "IF_P", 202 },
37312
- { "ILIKE", 203 },
37313
- { "IMMEDIATE", 204 },
37314
- { "IMMUTABLE", 205 },
37315
- { "IMPLICIT_P", 206 },
37316
- { "IMPORT_P", 207 },
37317
- { "INCLUDE", 209 },
37318
- { "INCLUDING", 210 },
37319
- { "INCREMENT", 211 },
37320
- { "INDEX", 212 },
37321
- { "INDEXES", 213 },
37322
- { "INHERIT", 214 },
37323
- { "INHERITS", 215 },
37324
- { "INITIALLY", 216 },
37325
- { "INLINE_P", 217 },
37326
- { "INNER_P", 218 },
37327
- { "INOUT", 219 },
37328
- { "INPUT_P", 220 },
37329
- { "INSENSITIVE", 221 },
37330
- { "INSERT", 222 },
37331
- { "INSTEAD", 223 },
37332
- { "INTEGER", 225 },
37333
- { "INTERSECT", 226 },
37334
- { "INTERVAL", 227 },
37335
- { "INTO", 228 },
37336
- { "INT_P", 224 },
37337
- { "INVOKER", 229 },
37338
- { "IN_P", 208 },
37339
- { "IS", 230 },
37340
- { "ISNULL", 231 },
37341
- { "ISOLATION", 232 },
37342
- { "JOIN", 233 },
37343
- { "KEY", 234 },
37344
- { "LABEL", 235 },
37345
- { "LANGUAGE", 236 },
37346
- { "LARGE_P", 237 },
37347
- { "LAST_P", 238 },
37348
- { "LATERAL_P", 239 },
37349
- { "LEADING", 240 },
37350
- { "LEAKPROOF", 241 },
37351
- { "LEAST", 242 },
37352
- { "LEFT", 243 },
37353
- { "LESS_EQUALS", 33 },
37354
- { "LEVEL", 244 },
37355
- { "LIKE", 245 },
37356
- { "LIMIT", 246 },
37357
- { "LISTEN", 247 },
37358
- { "LOAD", 248 },
37359
- { "LOCAL", 249 },
37360
- { "LOCALTIME", 250 },
37361
- { "LOCALTIMESTAMP", 251 },
37362
- { "LOCATION", 252 },
37363
- { "LOCKED", 254 },
37364
- { "LOCK_P", 253 },
37365
- { "LOGGED", 255 },
37366
- { "MAPPING", 256 },
37367
- { "MATCH", 257 },
37368
- { "MATERIALIZED", 258 },
37369
- { "MAXVALUE", 259 },
37370
- { "METHOD", 260 },
37371
- { "MINUTE_P", 261 },
37372
- { "MINVALUE", 262 },
37373
- { "MODE", 263 },
37374
- { "MONTH_P", 264 },
37375
- { "MOVE", 265 },
37376
- { "NAMES", 267 },
37377
- { "NAME_P", 266 },
37378
- { "NATIONAL", 268 },
37379
- { "NATURAL", 269 },
37380
- { "NCHAR", 270 },
37381
- { "NEW", 271 },
37382
- { "NEXT", 272 },
37383
- { "NFC", 273 },
37384
- { "NFD", 274 },
37385
- { "NFKC", 275 },
37386
- { "NFKD", 276 },
37387
- { "NO", 277 },
37388
- { "NONE", 278 },
37389
- { "NORMALIZE", 279 },
37390
- { "NORMALIZED", 280 },
37391
- { "NOT", 281 },
37392
- { "NOTHING", 282 },
37393
- { "NOTIFY", 283 },
37394
- { "NOTNULL", 284 },
37395
- { "NOT_EQUALS", 35 },
37396
- { "NOT_LA", 488 },
37397
- { "NOWAIT", 285 },
37169
+ { "ASCII_92", 17 },
37170
+ { "ASCII_93", 18 },
37171
+ { "ASCII_94", 19 },
37172
+ { "ASSERTION", 58 },
37173
+ { "ASSIGNMENT", 59 },
37174
+ { "ASYMMETRIC", 60 },
37175
+ { "AT", 61 },
37176
+ { "ATTACH", 62 },
37177
+ { "ATTRIBUTE", 63 },
37178
+ { "AUTHORIZATION", 64 },
37179
+ { "BACKWARD", 65 },
37180
+ { "BCONST", 25 },
37181
+ { "BEFORE", 66 },
37182
+ { "BEGIN_P", 67 },
37183
+ { "BETWEEN", 68 },
37184
+ { "BIGINT", 69 },
37185
+ { "BINARY", 70 },
37186
+ { "BIT", 71 },
37187
+ { "BOOLEAN_P", 72 },
37188
+ { "BOTH", 73 },
37189
+ { "BY", 74 },
37190
+ { "CACHE", 75 },
37191
+ { "CALL", 76 },
37192
+ { "CALLED", 77 },
37193
+ { "CASCADE", 78 },
37194
+ { "CASCADED", 79 },
37195
+ { "CASE", 80 },
37196
+ { "CAST", 81 },
37197
+ { "CATALOG_P", 82 },
37198
+ { "CHAIN", 83 },
37199
+ { "CHARACTER", 85 },
37200
+ { "CHARACTERISTICS", 86 },
37201
+ { "CHAR_P", 84 },
37202
+ { "CHECK", 87 },
37203
+ { "CHECKPOINT", 88 },
37204
+ { "CLASS", 89 },
37205
+ { "CLOSE", 90 },
37206
+ { "CLUSTER", 91 },
37207
+ { "COALESCE", 92 },
37208
+ { "COLLATE", 93 },
37209
+ { "COLLATION", 94 },
37210
+ { "COLON_EQUALS", 32 },
37211
+ { "COLUMN", 95 },
37212
+ { "COLUMNS", 96 },
37213
+ { "COMMENT", 97 },
37214
+ { "COMMENTS", 98 },
37215
+ { "COMMIT", 99 },
37216
+ { "COMMITTED", 100 },
37217
+ { "CONCURRENTLY", 101 },
37218
+ { "CONFIGURATION", 102 },
37219
+ { "CONFLICT", 103 },
37220
+ { "CONNECTION", 104 },
37221
+ { "CONSTRAINT", 105 },
37222
+ { "CONSTRAINTS", 106 },
37223
+ { "CONTENT_P", 107 },
37224
+ { "CONTINUE_P", 108 },
37225
+ { "CONVERSION_P", 109 },
37226
+ { "COPY", 110 },
37227
+ { "COST", 111 },
37228
+ { "CREATE", 112 },
37229
+ { "CROSS", 113 },
37230
+ { "CSV", 114 },
37231
+ { "CUBE", 115 },
37232
+ { "CURRENT_CATALOG", 117 },
37233
+ { "CURRENT_DATE", 118 },
37234
+ { "CURRENT_P", 116 },
37235
+ { "CURRENT_ROLE", 119 },
37236
+ { "CURRENT_SCHEMA", 120 },
37237
+ { "CURRENT_TIME", 121 },
37238
+ { "CURRENT_TIMESTAMP", 122 },
37239
+ { "CURRENT_USER", 123 },
37240
+ { "CURSOR", 124 },
37241
+ { "CYCLE", 125 },
37242
+ { "C_COMMENT", 38 },
37243
+ { "DATABASE", 127 },
37244
+ { "DATA_P", 126 },
37245
+ { "DAY_P", 128 },
37246
+ { "DEALLOCATE", 129 },
37247
+ { "DEC", 130 },
37248
+ { "DECIMAL_P", 131 },
37249
+ { "DECLARE", 132 },
37250
+ { "DEFAULT", 133 },
37251
+ { "DEFAULTS", 134 },
37252
+ { "DEFERRABLE", 135 },
37253
+ { "DEFERRED", 136 },
37254
+ { "DEFINER", 137 },
37255
+ { "DELETE_P", 138 },
37256
+ { "DELIMITER", 139 },
37257
+ { "DELIMITERS", 140 },
37258
+ { "DEPENDS", 141 },
37259
+ { "DESC", 142 },
37260
+ { "DETACH", 143 },
37261
+ { "DICTIONARY", 144 },
37262
+ { "DISABLE_P", 145 },
37263
+ { "DISCARD", 146 },
37264
+ { "DISTINCT", 147 },
37265
+ { "DO", 148 },
37266
+ { "DOCUMENT_P", 149 },
37267
+ { "DOMAIN_P", 150 },
37268
+ { "DOT_DOT", 31 },
37269
+ { "DOUBLE_P", 151 },
37270
+ { "DROP", 152 },
37271
+ { "EACH", 153 },
37272
+ { "ELSE", 154 },
37273
+ { "ENABLE_P", 155 },
37274
+ { "ENCODING", 156 },
37275
+ { "ENCRYPTED", 157 },
37276
+ { "END_P", 158 },
37277
+ { "ENUM_P", 159 },
37278
+ { "EQUALS_GREATER", 33 },
37279
+ { "ESCAPE", 160 },
37280
+ { "EVENT", 161 },
37281
+ { "EXCEPT", 162 },
37282
+ { "EXCLUDE", 163 },
37283
+ { "EXCLUDING", 164 },
37284
+ { "EXCLUSIVE", 165 },
37285
+ { "EXECUTE", 166 },
37286
+ { "EXISTS", 167 },
37287
+ { "EXPLAIN", 168 },
37288
+ { "EXPRESSION", 169 },
37289
+ { "EXTENSION", 170 },
37290
+ { "EXTERNAL", 171 },
37291
+ { "EXTRACT", 172 },
37292
+ { "FALSE_P", 173 },
37293
+ { "FAMILY", 174 },
37294
+ { "FCONST", 22 },
37295
+ { "FETCH", 175 },
37296
+ { "FILTER", 176 },
37297
+ { "FIRST_P", 177 },
37298
+ { "FLOAT_P", 178 },
37299
+ { "FOLLOWING", 179 },
37300
+ { "FOR", 180 },
37301
+ { "FORCE", 181 },
37302
+ { "FOREIGN", 182 },
37303
+ { "FORWARD", 183 },
37304
+ { "FREEZE", 184 },
37305
+ { "FROM", 185 },
37306
+ { "FULL", 186 },
37307
+ { "FUNCTION", 187 },
37308
+ { "FUNCTIONS", 188 },
37309
+ { "GENERATED", 189 },
37310
+ { "GLOBAL", 190 },
37311
+ { "GRANT", 191 },
37312
+ { "GRANTED", 192 },
37313
+ { "GREATER_EQUALS", 35 },
37314
+ { "GREATEST", 193 },
37315
+ { "GROUPING", 195 },
37316
+ { "GROUPS", 196 },
37317
+ { "GROUP_P", 194 },
37318
+ { "HANDLER", 197 },
37319
+ { "HAVING", 198 },
37320
+ { "HEADER_P", 199 },
37321
+ { "HOLD", 200 },
37322
+ { "HOUR_P", 201 },
37323
+ { "ICONST", 28 },
37324
+ { "IDENT", 20 },
37325
+ { "IDENTITY_P", 202 },
37326
+ { "IF_P", 203 },
37327
+ { "ILIKE", 204 },
37328
+ { "IMMEDIATE", 205 },
37329
+ { "IMMUTABLE", 206 },
37330
+ { "IMPLICIT_P", 207 },
37331
+ { "IMPORT_P", 208 },
37332
+ { "INCLUDE", 210 },
37333
+ { "INCLUDING", 211 },
37334
+ { "INCREMENT", 212 },
37335
+ { "INDEX", 213 },
37336
+ { "INDEXES", 214 },
37337
+ { "INHERIT", 215 },
37338
+ { "INHERITS", 216 },
37339
+ { "INITIALLY", 217 },
37340
+ { "INLINE_P", 218 },
37341
+ { "INNER_P", 219 },
37342
+ { "INOUT", 220 },
37343
+ { "INPUT_P", 221 },
37344
+ { "INSENSITIVE", 222 },
37345
+ { "INSERT", 223 },
37346
+ { "INSTEAD", 224 },
37347
+ { "INTEGER", 226 },
37348
+ { "INTERSECT", 227 },
37349
+ { "INTERVAL", 228 },
37350
+ { "INTO", 229 },
37351
+ { "INT_P", 225 },
37352
+ { "INVOKER", 230 },
37353
+ { "IN_P", 209 },
37354
+ { "IS", 231 },
37355
+ { "ISNULL", 232 },
37356
+ { "ISOLATION", 233 },
37357
+ { "JOIN", 234 },
37358
+ { "KEY", 235 },
37359
+ { "LABEL", 236 },
37360
+ { "LANGUAGE", 237 },
37361
+ { "LARGE_P", 238 },
37362
+ { "LAST_P", 239 },
37363
+ { "LATERAL_P", 240 },
37364
+ { "LEADING", 241 },
37365
+ { "LEAKPROOF", 242 },
37366
+ { "LEAST", 243 },
37367
+ { "LEFT", 244 },
37368
+ { "LESS_EQUALS", 34 },
37369
+ { "LEVEL", 245 },
37370
+ { "LIKE", 246 },
37371
+ { "LIMIT", 247 },
37372
+ { "LISTEN", 248 },
37373
+ { "LOAD", 249 },
37374
+ { "LOCAL", 250 },
37375
+ { "LOCALTIME", 251 },
37376
+ { "LOCALTIMESTAMP", 252 },
37377
+ { "LOCATION", 253 },
37378
+ { "LOCKED", 255 },
37379
+ { "LOCK_P", 254 },
37380
+ { "LOGGED", 256 },
37381
+ { "MAPPING", 257 },
37382
+ { "MATCH", 258 },
37383
+ { "MATERIALIZED", 259 },
37384
+ { "MAXVALUE", 260 },
37385
+ { "METHOD", 261 },
37386
+ { "MINUTE_P", 262 },
37387
+ { "MINVALUE", 263 },
37388
+ { "MODE", 264 },
37389
+ { "MONTH_P", 265 },
37390
+ { "MOVE", 266 },
37391
+ { "NAMES", 268 },
37392
+ { "NAME_P", 267 },
37393
+ { "NATIONAL", 269 },
37394
+ { "NATURAL", 270 },
37395
+ { "NCHAR", 271 },
37396
+ { "NEW", 272 },
37397
+ { "NEXT", 273 },
37398
+ { "NFC", 274 },
37399
+ { "NFD", 275 },
37400
+ { "NFKC", 276 },
37401
+ { "NFKD", 277 },
37402
+ { "NO", 278 },
37403
+ { "NONE", 279 },
37404
+ { "NORMALIZE", 280 },
37405
+ { "NORMALIZED", 281 },
37406
+ { "NOT", 282 },
37407
+ { "NOTHING", 283 },
37408
+ { "NOTIFY", 284 },
37409
+ { "NOTNULL", 285 },
37410
+ { "NOT_EQUALS", 36 },
37411
+ { "NOT_LA", 489 },
37412
+ { "NOWAIT", 286 },
37398
37413
  { "NUL", 0 },
37399
- { "NULLIF", 287 },
37400
- { "NULLS_LA", 489 },
37401
- { "NULLS_P", 288 },
37402
- { "NULL_P", 286 },
37403
- { "NUMERIC", 289 },
37404
- { "OBJECT_P", 290 },
37405
- { "OF", 291 },
37406
- { "OFF", 292 },
37407
- { "OFFSET", 293 },
37408
- { "OIDS", 294 },
37409
- { "OLD", 295 },
37410
- { "ON", 296 },
37411
- { "ONLY", 297 },
37412
- { "OPERATOR", 298 },
37413
- { "OPTION", 299 },
37414
- { "OPTIONS", 300 },
37415
- { "OR", 301 },
37416
- { "ORDER", 302 },
37417
- { "ORDINALITY", 303 },
37418
- { "OTHERS", 304 },
37419
- { "OUTER_P", 306 },
37420
- { "OUT_P", 305 },
37421
- { "OVER", 307 },
37422
- { "OVERLAPS", 308 },
37423
- { "OVERLAY", 309 },
37424
- { "OVERRIDING", 310 },
37425
- { "OWNED", 311 },
37426
- { "OWNER", 312 },
37427
- { "Op", 26 },
37428
- { "PARALLEL", 313 },
37429
- { "PARAM", 28 },
37430
- { "PARSER", 314 },
37431
- { "PARTIAL", 315 },
37432
- { "PARTITION", 316 },
37433
- { "PASSING", 317 },
37434
- { "PASSWORD", 318 },
37435
- { "PLACING", 319 },
37436
- { "PLANS", 320 },
37437
- { "POLICY", 321 },
37438
- { "POSITION", 322 },
37439
- { "POSTFIXOP", 491 },
37440
- { "PRECEDING", 323 },
37441
- { "PRECISION", 324 },
37442
- { "PREPARE", 326 },
37443
- { "PREPARED", 327 },
37444
- { "PRESERVE", 325 },
37445
- { "PRIMARY", 328 },
37446
- { "PRIOR", 329 },
37447
- { "PRIVILEGES", 330 },
37448
- { "PROCEDURAL", 331 },
37449
- { "PROCEDURE", 332 },
37450
- { "PROCEDURES", 333 },
37451
- { "PROGRAM", 334 },
37452
- { "PUBLICATION", 335 },
37453
- { "QUOTE", 336 },
37454
- { "RANGE", 337 },
37455
- { "READ", 338 },
37456
- { "REAL", 339 },
37457
- { "REASSIGN", 340 },
37458
- { "RECHECK", 341 },
37459
- { "RECURSIVE", 342 },
37460
- { "REF", 343 },
37461
- { "REFERENCES", 344 },
37462
- { "REFERENCING", 345 },
37463
- { "REFRESH", 346 },
37464
- { "REINDEX", 347 },
37465
- { "RELATIVE_P", 348 },
37466
- { "RELEASE", 349 },
37467
- { "RENAME", 350 },
37468
- { "REPEATABLE", 351 },
37469
- { "REPLACE", 352 },
37470
- { "REPLICA", 353 },
37471
- { "RESET", 354 },
37472
- { "RESTART", 355 },
37473
- { "RESTRICT", 356 },
37474
- { "RETURNING", 357 },
37475
- { "RETURNS", 358 },
37476
- { "REVOKE", 359 },
37477
- { "RIGHT", 360 },
37478
- { "ROLE", 361 },
37479
- { "ROLLBACK", 362 },
37480
- { "ROLLUP", 363 },
37481
- { "ROUTINE", 364 },
37482
- { "ROUTINES", 365 },
37483
- { "ROW", 366 },
37484
- { "ROWS", 367 },
37485
- { "RULE", 368 },
37486
- { "SAVEPOINT", 369 },
37487
- { "SCHEMA", 370 },
37488
- { "SCHEMAS", 371 },
37489
- { "SCONST", 22 },
37490
- { "SCROLL", 372 },
37491
- { "SEARCH", 373 },
37492
- { "SECOND_P", 374 },
37493
- { "SECURITY", 375 },
37494
- { "SELECT", 376 },
37495
- { "SEQUENCE", 377 },
37496
- { "SEQUENCES", 378 },
37497
- { "SERIALIZABLE", 379 },
37498
- { "SERVER", 380 },
37499
- { "SESSION", 381 },
37500
- { "SESSION_USER", 382 },
37501
- { "SET", 383 },
37502
- { "SETOF", 385 },
37503
- { "SETS", 384 },
37504
- { "SHARE", 386 },
37505
- { "SHOW", 387 },
37506
- { "SIMILAR", 388 },
37507
- { "SIMPLE", 389 },
37508
- { "SKIP", 390 },
37509
- { "SMALLINT", 391 },
37510
- { "SNAPSHOT", 392 },
37511
- { "SOME", 393 },
37512
- { "SQL_COMMENT", 36 },
37513
- { "SQL_P", 394 },
37514
- { "STABLE", 395 },
37515
- { "STANDALONE_P", 396 },
37516
- { "START", 397 },
37517
- { "STATEMENT", 398 },
37518
- { "STATISTICS", 399 },
37519
- { "STDIN", 400 },
37520
- { "STDOUT", 401 },
37521
- { "STORAGE", 402 },
37522
- { "STORED", 403 },
37523
- { "STRICT_P", 404 },
37524
- { "STRIP_P", 405 },
37525
- { "SUBSCRIPTION", 406 },
37526
- { "SUBSTRING", 407 },
37527
- { "SUPPORT", 408 },
37528
- { "SYMMETRIC", 409 },
37529
- { "SYSID", 410 },
37530
- { "SYSTEM_P", 411 },
37531
- { "TABLE", 412 },
37532
- { "TABLES", 413 },
37533
- { "TABLESAMPLE", 414 },
37534
- { "TABLESPACE", 415 },
37535
- { "TEMP", 416 },
37536
- { "TEMPLATE", 417 },
37537
- { "TEMPORARY", 418 },
37538
- { "TEXT_P", 419 },
37539
- { "THEN", 420 },
37540
- { "TIES", 421 },
37541
- { "TIME", 422 },
37542
- { "TIMESTAMP", 423 },
37543
- { "TO", 424 },
37544
- { "TRAILING", 425 },
37545
- { "TRANSACTION", 426 },
37546
- { "TRANSFORM", 427 },
37547
- { "TREAT", 428 },
37548
- { "TRIGGER", 429 },
37549
- { "TRIM", 430 },
37550
- { "TRUE_P", 431 },
37551
- { "TRUNCATE", 432 },
37552
- { "TRUSTED", 433 },
37553
- { "TYPECAST", 29 },
37554
- { "TYPES_P", 435 },
37555
- { "TYPE_P", 434 },
37556
- { "UESCAPE", 436 },
37557
- { "UIDENT", 20 },
37558
- { "UMINUS", 492 },
37559
- { "UNBOUNDED", 437 },
37560
- { "UNCOMMITTED", 438 },
37561
- { "UNENCRYPTED", 439 },
37562
- { "UNION", 440 },
37563
- { "UNIQUE", 441 },
37564
- { "UNKNOWN", 442 },
37565
- { "UNLISTEN", 443 },
37566
- { "UNLOGGED", 444 },
37567
- { "UNTIL", 445 },
37568
- { "UPDATE", 446 },
37569
- { "USCONST", 23 },
37570
- { "USER", 447 },
37571
- { "USING", 448 },
37572
- { "VACUUM", 449 },
37573
- { "VALID", 450 },
37574
- { "VALIDATE", 451 },
37575
- { "VALIDATOR", 452 },
37576
- { "VALUES", 454 },
37577
- { "VALUE_P", 453 },
37578
- { "VARCHAR", 455 },
37579
- { "VARIADIC", 456 },
37580
- { "VARYING", 457 },
37581
- { "VERBOSE", 458 },
37582
- { "VERSION_P", 459 },
37583
- { "VIEW", 460 },
37584
- { "VIEWS", 461 },
37585
- { "VOLATILE", 462 },
37586
- { "WHEN", 463 },
37587
- { "WHERE", 464 },
37588
- { "WHITESPACE_P", 465 },
37589
- { "WINDOW", 466 },
37590
- { "WITH", 467 },
37591
- { "WITHIN", 468 },
37592
- { "WITHOUT", 469 },
37593
- { "WITH_LA", 490 },
37594
- { "WORK", 470 },
37595
- { "WRAPPER", 471 },
37596
- { "WRITE", 472 },
37597
- { "XCONST", 25 },
37598
- { "XMLATTRIBUTES", 474 },
37599
- { "XMLCONCAT", 475 },
37600
- { "XMLELEMENT", 476 },
37601
- { "XMLEXISTS", 477 },
37602
- { "XMLFOREST", 478 },
37603
- { "XMLNAMESPACES", 479 },
37604
- { "XMLPARSE", 480 },
37605
- { "XMLPI", 481 },
37606
- { "XMLROOT", 482 },
37607
- { "XMLSERIALIZE", 483 },
37608
- { "XMLTABLE", 484 },
37609
- { "XML_P", 473 },
37610
- { "YEAR_P", 485 },
37611
- { "YES_P", 486 },
37612
- { "ZONE", 487 },
37414
+ { "NULLIF", 288 },
37415
+ { "NULLS_LA", 490 },
37416
+ { "NULLS_P", 289 },
37417
+ { "NULL_P", 287 },
37418
+ { "NUMERIC", 290 },
37419
+ { "OBJECT_P", 291 },
37420
+ { "OF", 292 },
37421
+ { "OFF", 293 },
37422
+ { "OFFSET", 294 },
37423
+ { "OIDS", 295 },
37424
+ { "OLD", 296 },
37425
+ { "ON", 297 },
37426
+ { "ONLY", 298 },
37427
+ { "OPERATOR", 299 },
37428
+ { "OPTION", 300 },
37429
+ { "OPTIONS", 301 },
37430
+ { "OR", 302 },
37431
+ { "ORDER", 303 },
37432
+ { "ORDINALITY", 304 },
37433
+ { "OTHERS", 305 },
37434
+ { "OUTER_P", 307 },
37435
+ { "OUT_P", 306 },
37436
+ { "OVER", 308 },
37437
+ { "OVERLAPS", 309 },
37438
+ { "OVERLAY", 310 },
37439
+ { "OVERRIDING", 311 },
37440
+ { "OWNED", 312 },
37441
+ { "OWNER", 313 },
37442
+ { "Op", 27 },
37443
+ { "PARALLEL", 314 },
37444
+ { "PARAM", 29 },
37445
+ { "PARSER", 315 },
37446
+ { "PARTIAL", 316 },
37447
+ { "PARTITION", 317 },
37448
+ { "PASSING", 318 },
37449
+ { "PASSWORD", 319 },
37450
+ { "PLACING", 320 },
37451
+ { "PLANS", 321 },
37452
+ { "POLICY", 322 },
37453
+ { "POSITION", 323 },
37454
+ { "POSTFIXOP", 492 },
37455
+ { "PRECEDING", 324 },
37456
+ { "PRECISION", 325 },
37457
+ { "PREPARE", 327 },
37458
+ { "PREPARED", 328 },
37459
+ { "PRESERVE", 326 },
37460
+ { "PRIMARY", 329 },
37461
+ { "PRIOR", 330 },
37462
+ { "PRIVILEGES", 331 },
37463
+ { "PROCEDURAL", 332 },
37464
+ { "PROCEDURE", 333 },
37465
+ { "PROCEDURES", 334 },
37466
+ { "PROGRAM", 335 },
37467
+ { "PUBLICATION", 336 },
37468
+ { "QUOTE", 337 },
37469
+ { "RANGE", 338 },
37470
+ { "READ", 339 },
37471
+ { "REAL", 340 },
37472
+ { "REASSIGN", 341 },
37473
+ { "RECHECK", 342 },
37474
+ { "RECURSIVE", 343 },
37475
+ { "REF", 344 },
37476
+ { "REFERENCES", 345 },
37477
+ { "REFERENCING", 346 },
37478
+ { "REFRESH", 347 },
37479
+ { "REINDEX", 348 },
37480
+ { "RELATIVE_P", 349 },
37481
+ { "RELEASE", 350 },
37482
+ { "RENAME", 351 },
37483
+ { "REPEATABLE", 352 },
37484
+ { "REPLACE", 353 },
37485
+ { "REPLICA", 354 },
37486
+ { "RESET", 355 },
37487
+ { "RESTART", 356 },
37488
+ { "RESTRICT", 357 },
37489
+ { "RETURNING", 358 },
37490
+ { "RETURNS", 359 },
37491
+ { "REVOKE", 360 },
37492
+ { "RIGHT", 361 },
37493
+ { "ROLE", 362 },
37494
+ { "ROLLBACK", 363 },
37495
+ { "ROLLUP", 364 },
37496
+ { "ROUTINE", 365 },
37497
+ { "ROUTINES", 366 },
37498
+ { "ROW", 367 },
37499
+ { "ROWS", 368 },
37500
+ { "RULE", 369 },
37501
+ { "SAVEPOINT", 370 },
37502
+ { "SCHEMA", 371 },
37503
+ { "SCHEMAS", 372 },
37504
+ { "SCONST", 23 },
37505
+ { "SCROLL", 373 },
37506
+ { "SEARCH", 374 },
37507
+ { "SECOND_P", 375 },
37508
+ { "SECURITY", 376 },
37509
+ { "SELECT", 377 },
37510
+ { "SEQUENCE", 378 },
37511
+ { "SEQUENCES", 379 },
37512
+ { "SERIALIZABLE", 380 },
37513
+ { "SERVER", 381 },
37514
+ { "SESSION", 382 },
37515
+ { "SESSION_USER", 383 },
37516
+ { "SET", 384 },
37517
+ { "SETOF", 386 },
37518
+ { "SETS", 385 },
37519
+ { "SHARE", 387 },
37520
+ { "SHOW", 388 },
37521
+ { "SIMILAR", 389 },
37522
+ { "SIMPLE", 390 },
37523
+ { "SKIP", 391 },
37524
+ { "SMALLINT", 392 },
37525
+ { "SNAPSHOT", 393 },
37526
+ { "SOME", 394 },
37527
+ { "SQL_COMMENT", 37 },
37528
+ { "SQL_P", 395 },
37529
+ { "STABLE", 396 },
37530
+ { "STANDALONE_P", 397 },
37531
+ { "START", 398 },
37532
+ { "STATEMENT", 399 },
37533
+ { "STATISTICS", 400 },
37534
+ { "STDIN", 401 },
37535
+ { "STDOUT", 402 },
37536
+ { "STORAGE", 403 },
37537
+ { "STORED", 404 },
37538
+ { "STRICT_P", 405 },
37539
+ { "STRIP_P", 406 },
37540
+ { "SUBSCRIPTION", 407 },
37541
+ { "SUBSTRING", 408 },
37542
+ { "SUPPORT", 409 },
37543
+ { "SYMMETRIC", 410 },
37544
+ { "SYSID", 411 },
37545
+ { "SYSTEM_P", 412 },
37546
+ { "TABLE", 413 },
37547
+ { "TABLES", 414 },
37548
+ { "TABLESAMPLE", 415 },
37549
+ { "TABLESPACE", 416 },
37550
+ { "TEMP", 417 },
37551
+ { "TEMPLATE", 418 },
37552
+ { "TEMPORARY", 419 },
37553
+ { "TEXT_P", 420 },
37554
+ { "THEN", 421 },
37555
+ { "TIES", 422 },
37556
+ { "TIME", 423 },
37557
+ { "TIMESTAMP", 424 },
37558
+ { "TO", 425 },
37559
+ { "TRAILING", 426 },
37560
+ { "TRANSACTION", 427 },
37561
+ { "TRANSFORM", 428 },
37562
+ { "TREAT", 429 },
37563
+ { "TRIGGER", 430 },
37564
+ { "TRIM", 431 },
37565
+ { "TRUE_P", 432 },
37566
+ { "TRUNCATE", 433 },
37567
+ { "TRUSTED", 434 },
37568
+ { "TYPECAST", 30 },
37569
+ { "TYPES_P", 436 },
37570
+ { "TYPE_P", 435 },
37571
+ { "UESCAPE", 437 },
37572
+ { "UIDENT", 21 },
37573
+ { "UMINUS", 493 },
37574
+ { "UNBOUNDED", 438 },
37575
+ { "UNCOMMITTED", 439 },
37576
+ { "UNENCRYPTED", 440 },
37577
+ { "UNION", 441 },
37578
+ { "UNIQUE", 442 },
37579
+ { "UNKNOWN", 443 },
37580
+ { "UNLISTEN", 444 },
37581
+ { "UNLOGGED", 445 },
37582
+ { "UNTIL", 446 },
37583
+ { "UPDATE", 447 },
37584
+ { "USCONST", 24 },
37585
+ { "USER", 448 },
37586
+ { "USING", 449 },
37587
+ { "VACUUM", 450 },
37588
+ { "VALID", 451 },
37589
+ { "VALIDATE", 452 },
37590
+ { "VALIDATOR", 453 },
37591
+ { "VALUES", 455 },
37592
+ { "VALUE_P", 454 },
37593
+ { "VARCHAR", 456 },
37594
+ { "VARIADIC", 457 },
37595
+ { "VARYING", 458 },
37596
+ { "VERBOSE", 459 },
37597
+ { "VERSION_P", 460 },
37598
+ { "VIEW", 461 },
37599
+ { "VIEWS", 462 },
37600
+ { "VOLATILE", 463 },
37601
+ { "WHEN", 464 },
37602
+ { "WHERE", 465 },
37603
+ { "WHITESPACE_P", 466 },
37604
+ { "WINDOW", 467 },
37605
+ { "WITH", 468 },
37606
+ { "WITHIN", 469 },
37607
+ { "WITHOUT", 470 },
37608
+ { "WITH_LA", 491 },
37609
+ { "WORK", 471 },
37610
+ { "WRAPPER", 472 },
37611
+ { "WRITE", 473 },
37612
+ { "XCONST", 26 },
37613
+ { "XMLATTRIBUTES", 475 },
37614
+ { "XMLCONCAT", 476 },
37615
+ { "XMLELEMENT", 477 },
37616
+ { "XMLEXISTS", 478 },
37617
+ { "XMLFOREST", 479 },
37618
+ { "XMLNAMESPACES", 480 },
37619
+ { "XMLPARSE", 481 },
37620
+ { "XMLPI", 482 },
37621
+ { "XMLROOT", 483 },
37622
+ { "XMLSERIALIZE", 484 },
37623
+ { "XMLTABLE", 485 },
37624
+ { "XML_P", 474 },
37625
+ { "YEAR_P", 486 },
37626
+ { "YES_P", 487 },
37627
+ { "ZONE", 488 },
37613
37628
  };
37614
37629
  const ProtobufCEnumDescriptor pg_query__token__descriptor =
37615
37630
  {
@@ -37618,11 +37633,11 @@ const ProtobufCEnumDescriptor pg_query__token__descriptor =
37618
37633
  "Token",
37619
37634
  "PgQuery__Token",
37620
37635
  "pg_query",
37621
- 493,
37636
+ 494,
37622
37637
  pg_query__token__enum_values_by_number,
37623
- 493,
37638
+ 494,
37624
37639
  pg_query__token__enum_values_by_name,
37625
- 7,
37640
+ 6,
37626
37641
  pg_query__token__value_ranges,
37627
37642
  NULL,NULL,NULL,NULL /* reserved[1234] */
37628
37643
  };