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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +30 -0
- data/README.md +12 -0
- data/Rakefile +5 -19
- data/ext/pg_query/extconf.rb +3 -1
- data/ext/pg_query/include/c.h +12 -0
- data/ext/pg_query/include/executor/executor.h +6 -0
- data/ext/pg_query/include/nodes/execnodes.h +9 -6
- data/ext/pg_query/include/nodes/pathnodes.h +1 -1
- data/ext/pg_query/include/optimizer/paths.h +8 -0
- data/ext/pg_query/include/pg_config.h +6 -6
- data/ext/pg_query/include/pg_config_manual.h +7 -0
- data/ext/pg_query/include/pg_query.h +2 -2
- data/ext/pg_query/include/pg_query_outfuncs_defs.c +1 -0
- data/ext/pg_query/include/pg_query_readfuncs_defs.c +1 -0
- data/ext/pg_query/include/protobuf-c.h +7 -3
- data/ext/pg_query/include/protobuf-c/protobuf-c.h +7 -3
- data/ext/pg_query/include/protobuf/pg_query.pb-c.h +472 -467
- data/ext/pg_query/include/utils/array.h +1 -0
- data/ext/pg_query/include/utils/lsyscache.h +1 -0
- data/ext/pg_query/include/utils/probes.h +57 -57
- data/ext/pg_query/pg_query.pb-c.c +502 -487
- data/ext/pg_query/pg_query_deparse.c +6 -0
- data/ext/pg_query/pg_query_fingerprint.c +104 -32
- data/ext/pg_query/pg_query_normalize.c +112 -60
- data/ext/pg_query/protobuf-c.c +34 -27
- data/ext/pg_query/src_backend_utils_mmgr_mcxt.c +36 -0
- data/ext/pg_query/src_common_hashfn.c +420 -0
- data/lib/pg_query.rb +0 -1
- data/lib/pg_query/filter_columns.rb +1 -1
- data/lib/pg_query/fingerprint.rb +1 -3
- data/lib/pg_query/parse.rb +60 -5
- data/lib/pg_query/pg_query_pb.rb +1385 -1383
- data/lib/pg_query/version.rb +1 -1
- metadata +7 -7
- data/lib/pg_query/json_field_names.rb +0 -1402
data/lib/pg_query.rb
CHANGED
@@ -5,7 +5,7 @@ module PgQuery
|
|
5
5
|
#
|
6
6
|
# Note: This also traverses into sub-selects.
|
7
7
|
def filter_columns # rubocop:disable Metrics/CyclomaticComplexity
|
8
|
-
|
8
|
+
load_objects! if @aliases.nil?
|
9
9
|
|
10
10
|
# Get condition items from the parsetree
|
11
11
|
statements = @tree.stmts.dup.to_a.map(&:stmt)
|
data/lib/pg_query/fingerprint.rb
CHANGED
@@ -60,9 +60,7 @@ module PgQuery
|
|
60
60
|
end
|
61
61
|
|
62
62
|
def node_protobuf_field_name_to_json_name(node_class, field)
|
63
|
-
|
64
|
-
# node_class.descriptor.find { |d| d.name == field.to_s }.json_name
|
65
|
-
INTERNAL_PROTO_FIELD_NAME_TO_JSON_NAME.fetch([node_class, field])
|
63
|
+
node_class.descriptor.find { |d| d.name == field.to_s }.json_name
|
66
64
|
end
|
67
65
|
|
68
66
|
def fingerprint_node(node, hash, parent_node_name = nil, parent_field_name = nil) # rubocop:disable Metrics/CyclomaticComplexity
|
data/lib/pg_query/parse.rb
CHANGED
@@ -29,6 +29,7 @@ module PgQuery
|
|
29
29
|
@tables = nil
|
30
30
|
@aliases = nil
|
31
31
|
@cte_names = nil
|
32
|
+
@functions = nil
|
32
33
|
end
|
33
34
|
|
34
35
|
def dup_tree
|
@@ -51,27 +52,48 @@ module PgQuery
|
|
51
52
|
tables_with_details.select { |t| t[:type] == :ddl }.map { |t| t[:name] }.uniq
|
52
53
|
end
|
53
54
|
|
55
|
+
# Returns function names, ignoring their argument types. This may be insufficient
|
56
|
+
# if you need to disambiguate two functions with the same name but different argument
|
57
|
+
# types.
|
58
|
+
def functions
|
59
|
+
functions_with_details.map { |f| f[:function] }.uniq
|
60
|
+
end
|
61
|
+
|
62
|
+
def ddl_functions
|
63
|
+
functions_with_details.select { |f| f[:type] == :ddl }.map { |f| f[:function] }.uniq
|
64
|
+
end
|
65
|
+
|
66
|
+
def call_functions
|
67
|
+
functions_with_details.select { |f| f[:type] == :call }.map { |f| f[:function] }.uniq
|
68
|
+
end
|
69
|
+
|
54
70
|
def cte_names
|
55
|
-
|
71
|
+
load_objects! if @cte_names.nil?
|
56
72
|
@cte_names
|
57
73
|
end
|
58
74
|
|
59
75
|
def aliases
|
60
|
-
|
76
|
+
load_objects! if @aliases.nil?
|
61
77
|
@aliases
|
62
78
|
end
|
63
79
|
|
64
80
|
def tables_with_details
|
65
|
-
|
81
|
+
load_objects! if @tables.nil?
|
66
82
|
@tables
|
67
83
|
end
|
68
84
|
|
85
|
+
def functions_with_details
|
86
|
+
load_objects! if @functions.nil?
|
87
|
+
@functions
|
88
|
+
end
|
89
|
+
|
69
90
|
protected
|
70
91
|
|
71
|
-
def
|
92
|
+
def load_objects! # rubocop:disable Metrics/CyclomaticComplexity
|
72
93
|
@tables = [] # types: select, dml, ddl
|
73
94
|
@cte_names = []
|
74
95
|
@aliases = {}
|
96
|
+
@functions = [] # types: call, ddl
|
75
97
|
|
76
98
|
statements = @tree.stmts.dup.to_a.map(&:stmt)
|
77
99
|
from_clause_items = [] # types: select, dml, ddl
|
@@ -117,7 +139,13 @@ module PgQuery
|
|
117
139
|
from_clause_items << { item: PgQuery::Node.new(range_var: value.relation), type: :dml }
|
118
140
|
statements << value.select_stmt if statement.node == :insert_stmt && value.select_stmt
|
119
141
|
|
120
|
-
|
142
|
+
if statement.node == :update_stmt
|
143
|
+
value.from_clause.each do |item|
|
144
|
+
from_clause_items << { item: item, type: :select }
|
145
|
+
end
|
146
|
+
subselect_items.concat(statement.update_stmt.target_list)
|
147
|
+
end
|
148
|
+
|
121
149
|
subselect_items << statement.update_stmt.where_clause if statement.node == :update_stmt && statement.update_stmt.where_clause
|
122
150
|
subselect_items << statement.delete_stmt.where_clause if statement.node == :delete_stmt && statement.delete_stmt.where_clause
|
123
151
|
|
@@ -168,6 +196,10 @@ module PgQuery
|
|
168
196
|
@tables += objects.map { |r| { name: r.join('.'), type: :ddl } }
|
169
197
|
when :OBJECT_RULE, :OBJECT_TRIGGER
|
170
198
|
@tables += objects.map { |r| { name: r[0..-2].join('.'), type: :ddl } }
|
199
|
+
when :OBJECT_FUNCTION
|
200
|
+
# Only one function can be dropped in a statement
|
201
|
+
obj = statement.drop_stmt.objects[0].object_with_args
|
202
|
+
@functions << { function: obj.objname[0].string.str, type: :ddl }
|
171
203
|
end
|
172
204
|
when :grant_stmt
|
173
205
|
objects = statement.grant_stmt.objects
|
@@ -184,6 +216,20 @@ module PgQuery
|
|
184
216
|
# The following are other statements that don't fit into query/DML/DDL
|
185
217
|
when :explain_stmt
|
186
218
|
statements << statement.explain_stmt.query
|
219
|
+
when :create_function_stmt
|
220
|
+
@functions << {
|
221
|
+
function: statement.create_function_stmt.funcname[0].string.str,
|
222
|
+
type: :ddl
|
223
|
+
}
|
224
|
+
when :rename_stmt
|
225
|
+
if statement.rename_stmt.rename_type == :OBJECT_FUNCTION
|
226
|
+
original_name = statement.rename_stmt.object.object_with_args.objname[0].string.str
|
227
|
+
new_name = statement.rename_stmt.newname
|
228
|
+
@functions += [
|
229
|
+
{ function: original_name, type: :ddl },
|
230
|
+
{ function: new_name, type: :ddl }
|
231
|
+
]
|
232
|
+
end
|
187
233
|
end
|
188
234
|
end
|
189
235
|
|
@@ -202,10 +248,19 @@ module PgQuery
|
|
202
248
|
end
|
203
249
|
when :bool_expr
|
204
250
|
subselect_items.concat(next_item.bool_expr.args)
|
251
|
+
when :coalesce_expr
|
252
|
+
subselect_items.concat(next_item.coalesce_expr.args)
|
253
|
+
when :min_max_expr
|
254
|
+
subselect_items.concat(next_item.min_max_expr.args)
|
205
255
|
when :res_target
|
206
256
|
subselect_items << next_item.res_target.val
|
207
257
|
when :sub_link
|
208
258
|
statements << next_item.sub_link.subselect
|
259
|
+
when :func_call
|
260
|
+
@functions << {
|
261
|
+
function: next_item.func_call.funcname[0].string.str,
|
262
|
+
type: :call
|
263
|
+
}
|
209
264
|
end
|
210
265
|
end
|
211
266
|
|
data/lib/pg_query/pg_query_pb.rb
CHANGED
@@ -15,234 +15,234 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
15
15
|
end
|
16
16
|
add_message "pg_query.Node" do
|
17
17
|
oneof :node do
|
18
|
-
optional :alias, :message, 1, "pg_query.Alias"
|
19
|
-
optional :range_var, :message, 2, "pg_query.RangeVar"
|
20
|
-
optional :table_func, :message, 3, "pg_query.TableFunc"
|
21
|
-
optional :expr, :message, 4, "pg_query.Expr"
|
22
|
-
optional :var, :message, 5, "pg_query.Var"
|
23
|
-
optional :param, :message, 6, "pg_query.Param"
|
24
|
-
optional :aggref, :message, 7, "pg_query.Aggref"
|
25
|
-
optional :grouping_func, :message, 8, "pg_query.GroupingFunc"
|
26
|
-
optional :window_func, :message, 9, "pg_query.WindowFunc"
|
27
|
-
optional :subscripting_ref, :message, 10, "pg_query.SubscriptingRef"
|
28
|
-
optional :func_expr, :message, 11, "pg_query.FuncExpr"
|
29
|
-
optional :named_arg_expr, :message, 12, "pg_query.NamedArgExpr"
|
30
|
-
optional :op_expr, :message, 13, "pg_query.OpExpr"
|
31
|
-
optional :distinct_expr, :message, 14, "pg_query.DistinctExpr"
|
32
|
-
optional :null_if_expr, :message, 15, "pg_query.NullIfExpr"
|
33
|
-
optional :scalar_array_op_expr, :message, 16, "pg_query.ScalarArrayOpExpr"
|
34
|
-
optional :bool_expr, :message, 17, "pg_query.BoolExpr"
|
35
|
-
optional :sub_link, :message, 18, "pg_query.SubLink"
|
36
|
-
optional :sub_plan, :message, 19, "pg_query.SubPlan"
|
37
|
-
optional :alternative_sub_plan, :message, 20, "pg_query.AlternativeSubPlan"
|
38
|
-
optional :field_select, :message, 21, "pg_query.FieldSelect"
|
39
|
-
optional :field_store, :message, 22, "pg_query.FieldStore"
|
40
|
-
optional :relabel_type, :message, 23, "pg_query.RelabelType"
|
41
|
-
optional :coerce_via_io, :message, 24, "pg_query.CoerceViaIO"
|
42
|
-
optional :array_coerce_expr, :message, 25, "pg_query.ArrayCoerceExpr"
|
43
|
-
optional :convert_rowtype_expr, :message, 26, "pg_query.ConvertRowtypeExpr"
|
44
|
-
optional :collate_expr, :message, 27, "pg_query.CollateExpr"
|
45
|
-
optional :case_expr, :message, 28, "pg_query.CaseExpr"
|
46
|
-
optional :case_when, :message, 29, "pg_query.CaseWhen"
|
47
|
-
optional :case_test_expr, :message, 30, "pg_query.CaseTestExpr"
|
48
|
-
optional :array_expr, :message, 31, "pg_query.ArrayExpr"
|
49
|
-
optional :row_expr, :message, 32, "pg_query.RowExpr"
|
50
|
-
optional :row_compare_expr, :message, 33, "pg_query.RowCompareExpr"
|
51
|
-
optional :coalesce_expr, :message, 34, "pg_query.CoalesceExpr"
|
52
|
-
optional :min_max_expr, :message, 35, "pg_query.MinMaxExpr"
|
53
|
-
optional :sqlvalue_function, :message, 36, "pg_query.SQLValueFunction"
|
54
|
-
optional :xml_expr, :message, 37, "pg_query.XmlExpr"
|
55
|
-
optional :null_test, :message, 38, "pg_query.NullTest"
|
56
|
-
optional :boolean_test, :message, 39, "pg_query.BooleanTest"
|
57
|
-
optional :coerce_to_domain, :message, 40, "pg_query.CoerceToDomain"
|
58
|
-
optional :coerce_to_domain_value, :message, 41, "pg_query.CoerceToDomainValue"
|
59
|
-
optional :set_to_default, :message, 42, "pg_query.SetToDefault"
|
60
|
-
optional :current_of_expr, :message, 43, "pg_query.CurrentOfExpr"
|
61
|
-
optional :next_value_expr, :message, 44, "pg_query.NextValueExpr"
|
62
|
-
optional :inference_elem, :message, 45, "pg_query.InferenceElem"
|
63
|
-
optional :target_entry, :message, 46, "pg_query.TargetEntry"
|
64
|
-
optional :range_tbl_ref, :message, 47, "pg_query.RangeTblRef"
|
65
|
-
optional :join_expr, :message, 48, "pg_query.JoinExpr"
|
66
|
-
optional :from_expr, :message, 49, "pg_query.FromExpr"
|
67
|
-
optional :on_conflict_expr, :message, 50, "pg_query.OnConflictExpr"
|
68
|
-
optional :into_clause, :message, 51, "pg_query.IntoClause"
|
69
|
-
optional :raw_stmt, :message, 52, "pg_query.RawStmt"
|
70
|
-
optional :query, :message, 53, "pg_query.Query"
|
71
|
-
optional :insert_stmt, :message, 54, "pg_query.InsertStmt"
|
72
|
-
optional :delete_stmt, :message, 55, "pg_query.DeleteStmt"
|
73
|
-
optional :update_stmt, :message, 56, "pg_query.UpdateStmt"
|
74
|
-
optional :select_stmt, :message, 57, "pg_query.SelectStmt"
|
75
|
-
optional :alter_table_stmt, :message, 58, "pg_query.AlterTableStmt"
|
76
|
-
optional :alter_table_cmd, :message, 59, "pg_query.AlterTableCmd"
|
77
|
-
optional :alter_domain_stmt, :message, 60, "pg_query.AlterDomainStmt"
|
78
|
-
optional :set_operation_stmt, :message, 61, "pg_query.SetOperationStmt"
|
79
|
-
optional :grant_stmt, :message, 62, "pg_query.GrantStmt"
|
80
|
-
optional :grant_role_stmt, :message, 63, "pg_query.GrantRoleStmt"
|
81
|
-
optional :alter_default_privileges_stmt, :message, 64, "pg_query.AlterDefaultPrivilegesStmt"
|
82
|
-
optional :close_portal_stmt, :message, 65, "pg_query.ClosePortalStmt"
|
83
|
-
optional :cluster_stmt, :message, 66, "pg_query.ClusterStmt"
|
84
|
-
optional :copy_stmt, :message, 67, "pg_query.CopyStmt"
|
85
|
-
optional :create_stmt, :message, 68, "pg_query.CreateStmt"
|
86
|
-
optional :define_stmt, :message, 69, "pg_query.DefineStmt"
|
87
|
-
optional :drop_stmt, :message, 70, "pg_query.DropStmt"
|
88
|
-
optional :truncate_stmt, :message, 71, "pg_query.TruncateStmt"
|
89
|
-
optional :comment_stmt, :message, 72, "pg_query.CommentStmt"
|
90
|
-
optional :fetch_stmt, :message, 73, "pg_query.FetchStmt"
|
91
|
-
optional :index_stmt, :message, 74, "pg_query.IndexStmt"
|
92
|
-
optional :create_function_stmt, :message, 75, "pg_query.CreateFunctionStmt"
|
93
|
-
optional :alter_function_stmt, :message, 76, "pg_query.AlterFunctionStmt"
|
94
|
-
optional :do_stmt, :message, 77, "pg_query.DoStmt"
|
95
|
-
optional :rename_stmt, :message, 78, "pg_query.RenameStmt"
|
96
|
-
optional :rule_stmt, :message, 79, "pg_query.RuleStmt"
|
97
|
-
optional :notify_stmt, :message, 80, "pg_query.NotifyStmt"
|
98
|
-
optional :listen_stmt, :message, 81, "pg_query.ListenStmt"
|
99
|
-
optional :unlisten_stmt, :message, 82, "pg_query.UnlistenStmt"
|
100
|
-
optional :transaction_stmt, :message, 83, "pg_query.TransactionStmt"
|
101
|
-
optional :view_stmt, :message, 84, "pg_query.ViewStmt"
|
102
|
-
optional :load_stmt, :message, 85, "pg_query.LoadStmt"
|
103
|
-
optional :create_domain_stmt, :message, 86, "pg_query.CreateDomainStmt"
|
104
|
-
optional :createdb_stmt, :message, 87, "pg_query.CreatedbStmt"
|
105
|
-
optional :dropdb_stmt, :message, 88, "pg_query.DropdbStmt"
|
106
|
-
optional :vacuum_stmt, :message, 89, "pg_query.VacuumStmt"
|
107
|
-
optional :explain_stmt, :message, 90, "pg_query.ExplainStmt"
|
108
|
-
optional :create_table_as_stmt, :message, 91, "pg_query.CreateTableAsStmt"
|
109
|
-
optional :create_seq_stmt, :message, 92, "pg_query.CreateSeqStmt"
|
110
|
-
optional :alter_seq_stmt, :message, 93, "pg_query.AlterSeqStmt"
|
111
|
-
optional :variable_set_stmt, :message, 94, "pg_query.VariableSetStmt"
|
112
|
-
optional :variable_show_stmt, :message, 95, "pg_query.VariableShowStmt"
|
113
|
-
optional :discard_stmt, :message, 96, "pg_query.DiscardStmt"
|
114
|
-
optional :create_trig_stmt, :message, 97, "pg_query.CreateTrigStmt"
|
115
|
-
optional :create_plang_stmt, :message, 98, "pg_query.CreatePLangStmt"
|
116
|
-
optional :create_role_stmt, :message, 99, "pg_query.CreateRoleStmt"
|
117
|
-
optional :alter_role_stmt, :message, 100, "pg_query.AlterRoleStmt"
|
118
|
-
optional :drop_role_stmt, :message, 101, "pg_query.DropRoleStmt"
|
119
|
-
optional :lock_stmt, :message, 102, "pg_query.LockStmt"
|
120
|
-
optional :constraints_set_stmt, :message, 103, "pg_query.ConstraintsSetStmt"
|
121
|
-
optional :reindex_stmt, :message, 104, "pg_query.ReindexStmt"
|
122
|
-
optional :check_point_stmt, :message, 105, "pg_query.CheckPointStmt"
|
123
|
-
optional :create_schema_stmt, :message, 106, "pg_query.CreateSchemaStmt"
|
124
|
-
optional :alter_database_stmt, :message, 107, "pg_query.AlterDatabaseStmt"
|
125
|
-
optional :alter_database_set_stmt, :message, 108, "pg_query.AlterDatabaseSetStmt"
|
126
|
-
optional :alter_role_set_stmt, :message, 109, "pg_query.AlterRoleSetStmt"
|
127
|
-
optional :create_conversion_stmt, :message, 110, "pg_query.CreateConversionStmt"
|
128
|
-
optional :create_cast_stmt, :message, 111, "pg_query.CreateCastStmt"
|
129
|
-
optional :create_op_class_stmt, :message, 112, "pg_query.CreateOpClassStmt"
|
130
|
-
optional :create_op_family_stmt, :message, 113, "pg_query.CreateOpFamilyStmt"
|
131
|
-
optional :alter_op_family_stmt, :message, 114, "pg_query.AlterOpFamilyStmt"
|
132
|
-
optional :prepare_stmt, :message, 115, "pg_query.PrepareStmt"
|
133
|
-
optional :execute_stmt, :message, 116, "pg_query.ExecuteStmt"
|
134
|
-
optional :deallocate_stmt, :message, 117, "pg_query.DeallocateStmt"
|
135
|
-
optional :declare_cursor_stmt, :message, 118, "pg_query.DeclareCursorStmt"
|
136
|
-
optional :create_table_space_stmt, :message, 119, "pg_query.CreateTableSpaceStmt"
|
137
|
-
optional :drop_table_space_stmt, :message, 120, "pg_query.DropTableSpaceStmt"
|
138
|
-
optional :alter_object_depends_stmt, :message, 121, "pg_query.AlterObjectDependsStmt"
|
139
|
-
optional :alter_object_schema_stmt, :message, 122, "pg_query.AlterObjectSchemaStmt"
|
140
|
-
optional :alter_owner_stmt, :message, 123, "pg_query.AlterOwnerStmt"
|
141
|
-
optional :alter_operator_stmt, :message, 124, "pg_query.AlterOperatorStmt"
|
142
|
-
optional :alter_type_stmt, :message, 125, "pg_query.AlterTypeStmt"
|
143
|
-
optional :drop_owned_stmt, :message, 126, "pg_query.DropOwnedStmt"
|
144
|
-
optional :reassign_owned_stmt, :message, 127, "pg_query.ReassignOwnedStmt"
|
145
|
-
optional :composite_type_stmt, :message, 128, "pg_query.CompositeTypeStmt"
|
146
|
-
optional :create_enum_stmt, :message, 129, "pg_query.CreateEnumStmt"
|
147
|
-
optional :create_range_stmt, :message, 130, "pg_query.CreateRangeStmt"
|
148
|
-
optional :alter_enum_stmt, :message, 131, "pg_query.AlterEnumStmt"
|
149
|
-
optional :alter_tsdictionary_stmt, :message, 132, "pg_query.AlterTSDictionaryStmt"
|
150
|
-
optional :alter_tsconfiguration_stmt, :message, 133, "pg_query.AlterTSConfigurationStmt"
|
151
|
-
optional :create_fdw_stmt, :message, 134, "pg_query.CreateFdwStmt"
|
152
|
-
optional :alter_fdw_stmt, :message, 135, "pg_query.AlterFdwStmt"
|
153
|
-
optional :create_foreign_server_stmt, :message, 136, "pg_query.CreateForeignServerStmt"
|
154
|
-
optional :alter_foreign_server_stmt, :message, 137, "pg_query.AlterForeignServerStmt"
|
155
|
-
optional :create_user_mapping_stmt, :message, 138, "pg_query.CreateUserMappingStmt"
|
156
|
-
optional :alter_user_mapping_stmt, :message, 139, "pg_query.AlterUserMappingStmt"
|
157
|
-
optional :drop_user_mapping_stmt, :message, 140, "pg_query.DropUserMappingStmt"
|
158
|
-
optional :alter_table_space_options_stmt, :message, 141, "pg_query.AlterTableSpaceOptionsStmt"
|
159
|
-
optional :alter_table_move_all_stmt, :message, 142, "pg_query.AlterTableMoveAllStmt"
|
160
|
-
optional :sec_label_stmt, :message, 143, "pg_query.SecLabelStmt"
|
161
|
-
optional :create_foreign_table_stmt, :message, 144, "pg_query.CreateForeignTableStmt"
|
162
|
-
optional :import_foreign_schema_stmt, :message, 145, "pg_query.ImportForeignSchemaStmt"
|
163
|
-
optional :create_extension_stmt, :message, 146, "pg_query.CreateExtensionStmt"
|
164
|
-
optional :alter_extension_stmt, :message, 147, "pg_query.AlterExtensionStmt"
|
165
|
-
optional :alter_extension_contents_stmt, :message, 148, "pg_query.AlterExtensionContentsStmt"
|
166
|
-
optional :create_event_trig_stmt, :message, 149, "pg_query.CreateEventTrigStmt"
|
167
|
-
optional :alter_event_trig_stmt, :message, 150, "pg_query.AlterEventTrigStmt"
|
168
|
-
optional :refresh_mat_view_stmt, :message, 151, "pg_query.RefreshMatViewStmt"
|
169
|
-
optional :replica_identity_stmt, :message, 152, "pg_query.ReplicaIdentityStmt"
|
170
|
-
optional :alter_system_stmt, :message, 153, "pg_query.AlterSystemStmt"
|
171
|
-
optional :create_policy_stmt, :message, 154, "pg_query.CreatePolicyStmt"
|
172
|
-
optional :alter_policy_stmt, :message, 155, "pg_query.AlterPolicyStmt"
|
173
|
-
optional :create_transform_stmt, :message, 156, "pg_query.CreateTransformStmt"
|
174
|
-
optional :create_am_stmt, :message, 157, "pg_query.CreateAmStmt"
|
175
|
-
optional :create_publication_stmt, :message, 158, "pg_query.CreatePublicationStmt"
|
176
|
-
optional :alter_publication_stmt, :message, 159, "pg_query.AlterPublicationStmt"
|
177
|
-
optional :create_subscription_stmt, :message, 160, "pg_query.CreateSubscriptionStmt"
|
178
|
-
optional :alter_subscription_stmt, :message, 161, "pg_query.AlterSubscriptionStmt"
|
179
|
-
optional :drop_subscription_stmt, :message, 162, "pg_query.DropSubscriptionStmt"
|
180
|
-
optional :create_stats_stmt, :message, 163, "pg_query.CreateStatsStmt"
|
181
|
-
optional :alter_collation_stmt, :message, 164, "pg_query.AlterCollationStmt"
|
182
|
-
optional :call_stmt, :message, 165, "pg_query.CallStmt"
|
183
|
-
optional :alter_stats_stmt, :message, 166, "pg_query.AlterStatsStmt"
|
184
|
-
optional :a_expr, :message, 167, "pg_query.A_Expr"
|
185
|
-
optional :column_ref, :message, 168, "pg_query.ColumnRef"
|
186
|
-
optional :param_ref, :message, 169, "pg_query.ParamRef"
|
187
|
-
optional :a_const, :message, 170, "pg_query.A_Const"
|
188
|
-
optional :func_call, :message, 171, "pg_query.FuncCall"
|
189
|
-
optional :a_star, :message, 172, "pg_query.A_Star"
|
190
|
-
optional :a_indices, :message, 173, "pg_query.A_Indices"
|
191
|
-
optional :a_indirection, :message, 174, "pg_query.A_Indirection"
|
192
|
-
optional :a_array_expr, :message, 175, "pg_query.A_ArrayExpr"
|
193
|
-
optional :res_target, :message, 176, "pg_query.ResTarget"
|
194
|
-
optional :multi_assign_ref, :message, 177, "pg_query.MultiAssignRef"
|
195
|
-
optional :type_cast, :message, 178, "pg_query.TypeCast"
|
196
|
-
optional :collate_clause, :message, 179, "pg_query.CollateClause"
|
197
|
-
optional :sort_by, :message, 180, "pg_query.SortBy"
|
198
|
-
optional :window_def, :message, 181, "pg_query.WindowDef"
|
199
|
-
optional :range_subselect, :message, 182, "pg_query.RangeSubselect"
|
200
|
-
optional :range_function, :message, 183, "pg_query.RangeFunction"
|
201
|
-
optional :range_table_sample, :message, 184, "pg_query.RangeTableSample"
|
202
|
-
optional :range_table_func, :message, 185, "pg_query.RangeTableFunc"
|
203
|
-
optional :range_table_func_col, :message, 186, "pg_query.RangeTableFuncCol"
|
204
|
-
optional :type_name, :message, 187, "pg_query.TypeName"
|
205
|
-
optional :column_def, :message, 188, "pg_query.ColumnDef"
|
206
|
-
optional :index_elem, :message, 189, "pg_query.IndexElem"
|
207
|
-
optional :constraint, :message, 190, "pg_query.Constraint"
|
208
|
-
optional :def_elem, :message, 191, "pg_query.DefElem"
|
209
|
-
optional :range_tbl_entry, :message, 192, "pg_query.RangeTblEntry"
|
210
|
-
optional :range_tbl_function, :message, 193, "pg_query.RangeTblFunction"
|
211
|
-
optional :table_sample_clause, :message, 194, "pg_query.TableSampleClause"
|
212
|
-
optional :with_check_option, :message, 195, "pg_query.WithCheckOption"
|
213
|
-
optional :sort_group_clause, :message, 196, "pg_query.SortGroupClause"
|
214
|
-
optional :grouping_set, :message, 197, "pg_query.GroupingSet"
|
215
|
-
optional :window_clause, :message, 198, "pg_query.WindowClause"
|
216
|
-
optional :object_with_args, :message, 199, "pg_query.ObjectWithArgs"
|
217
|
-
optional :access_priv, :message, 200, "pg_query.AccessPriv"
|
218
|
-
optional :create_op_class_item, :message, 201, "pg_query.CreateOpClassItem"
|
219
|
-
optional :table_like_clause, :message, 202, "pg_query.TableLikeClause"
|
220
|
-
optional :function_parameter, :message, 203, "pg_query.FunctionParameter"
|
221
|
-
optional :locking_clause, :message, 204, "pg_query.LockingClause"
|
222
|
-
optional :row_mark_clause, :message, 205, "pg_query.RowMarkClause"
|
223
|
-
optional :xml_serialize, :message, 206, "pg_query.XmlSerialize"
|
224
|
-
optional :with_clause, :message, 207, "pg_query.WithClause"
|
225
|
-
optional :infer_clause, :message, 208, "pg_query.InferClause"
|
226
|
-
optional :on_conflict_clause, :message, 209, "pg_query.OnConflictClause"
|
227
|
-
optional :common_table_expr, :message, 210, "pg_query.CommonTableExpr"
|
228
|
-
optional :role_spec, :message, 211, "pg_query.RoleSpec"
|
229
|
-
optional :trigger_transition, :message, 212, "pg_query.TriggerTransition"
|
230
|
-
optional :partition_elem, :message, 213, "pg_query.PartitionElem"
|
231
|
-
optional :partition_spec, :message, 214, "pg_query.PartitionSpec"
|
232
|
-
optional :partition_bound_spec, :message, 215, "pg_query.PartitionBoundSpec"
|
233
|
-
optional :partition_range_datum, :message, 216, "pg_query.PartitionRangeDatum"
|
234
|
-
optional :partition_cmd, :message, 217, "pg_query.PartitionCmd"
|
235
|
-
optional :vacuum_relation, :message, 218, "pg_query.VacuumRelation"
|
236
|
-
optional :inline_code_block, :message, 219, "pg_query.InlineCodeBlock"
|
237
|
-
optional :call_context, :message, 220, "pg_query.CallContext"
|
238
|
-
optional :integer, :message, 221, "pg_query.Integer"
|
239
|
-
optional :float, :message, 222, "pg_query.Float"
|
240
|
-
optional :string, :message, 223, "pg_query.String"
|
241
|
-
optional :bit_string, :message, 224, "pg_query.BitString"
|
242
|
-
optional :null, :message, 225, "pg_query.Null"
|
243
|
-
optional :list, :message, 226, "pg_query.List"
|
244
|
-
optional :int_list, :message, 227, "pg_query.IntList"
|
245
|
-
optional :oid_list, :message, 228, "pg_query.OidList"
|
18
|
+
optional :alias, :message, 1, "pg_query.Alias", json_name: "Alias"
|
19
|
+
optional :range_var, :message, 2, "pg_query.RangeVar", json_name: "RangeVar"
|
20
|
+
optional :table_func, :message, 3, "pg_query.TableFunc", json_name: "TableFunc"
|
21
|
+
optional :expr, :message, 4, "pg_query.Expr", json_name: "Expr"
|
22
|
+
optional :var, :message, 5, "pg_query.Var", json_name: "Var"
|
23
|
+
optional :param, :message, 6, "pg_query.Param", json_name: "Param"
|
24
|
+
optional :aggref, :message, 7, "pg_query.Aggref", json_name: "Aggref"
|
25
|
+
optional :grouping_func, :message, 8, "pg_query.GroupingFunc", json_name: "GroupingFunc"
|
26
|
+
optional :window_func, :message, 9, "pg_query.WindowFunc", json_name: "WindowFunc"
|
27
|
+
optional :subscripting_ref, :message, 10, "pg_query.SubscriptingRef", json_name: "SubscriptingRef"
|
28
|
+
optional :func_expr, :message, 11, "pg_query.FuncExpr", json_name: "FuncExpr"
|
29
|
+
optional :named_arg_expr, :message, 12, "pg_query.NamedArgExpr", json_name: "NamedArgExpr"
|
30
|
+
optional :op_expr, :message, 13, "pg_query.OpExpr", json_name: "OpExpr"
|
31
|
+
optional :distinct_expr, :message, 14, "pg_query.DistinctExpr", json_name: "DistinctExpr"
|
32
|
+
optional :null_if_expr, :message, 15, "pg_query.NullIfExpr", json_name: "NullIfExpr"
|
33
|
+
optional :scalar_array_op_expr, :message, 16, "pg_query.ScalarArrayOpExpr", json_name: "ScalarArrayOpExpr"
|
34
|
+
optional :bool_expr, :message, 17, "pg_query.BoolExpr", json_name: "BoolExpr"
|
35
|
+
optional :sub_link, :message, 18, "pg_query.SubLink", json_name: "SubLink"
|
36
|
+
optional :sub_plan, :message, 19, "pg_query.SubPlan", json_name: "SubPlan"
|
37
|
+
optional :alternative_sub_plan, :message, 20, "pg_query.AlternativeSubPlan", json_name: "AlternativeSubPlan"
|
38
|
+
optional :field_select, :message, 21, "pg_query.FieldSelect", json_name: "FieldSelect"
|
39
|
+
optional :field_store, :message, 22, "pg_query.FieldStore", json_name: "FieldStore"
|
40
|
+
optional :relabel_type, :message, 23, "pg_query.RelabelType", json_name: "RelabelType"
|
41
|
+
optional :coerce_via_io, :message, 24, "pg_query.CoerceViaIO", json_name: "CoerceViaIO"
|
42
|
+
optional :array_coerce_expr, :message, 25, "pg_query.ArrayCoerceExpr", json_name: "ArrayCoerceExpr"
|
43
|
+
optional :convert_rowtype_expr, :message, 26, "pg_query.ConvertRowtypeExpr", json_name: "ConvertRowtypeExpr"
|
44
|
+
optional :collate_expr, :message, 27, "pg_query.CollateExpr", json_name: "CollateExpr"
|
45
|
+
optional :case_expr, :message, 28, "pg_query.CaseExpr", json_name: "CaseExpr"
|
46
|
+
optional :case_when, :message, 29, "pg_query.CaseWhen", json_name: "CaseWhen"
|
47
|
+
optional :case_test_expr, :message, 30, "pg_query.CaseTestExpr", json_name: "CaseTestExpr"
|
48
|
+
optional :array_expr, :message, 31, "pg_query.ArrayExpr", json_name: "ArrayExpr"
|
49
|
+
optional :row_expr, :message, 32, "pg_query.RowExpr", json_name: "RowExpr"
|
50
|
+
optional :row_compare_expr, :message, 33, "pg_query.RowCompareExpr", json_name: "RowCompareExpr"
|
51
|
+
optional :coalesce_expr, :message, 34, "pg_query.CoalesceExpr", json_name: "CoalesceExpr"
|
52
|
+
optional :min_max_expr, :message, 35, "pg_query.MinMaxExpr", json_name: "MinMaxExpr"
|
53
|
+
optional :sqlvalue_function, :message, 36, "pg_query.SQLValueFunction", json_name: "SQLValueFunction"
|
54
|
+
optional :xml_expr, :message, 37, "pg_query.XmlExpr", json_name: "XmlExpr"
|
55
|
+
optional :null_test, :message, 38, "pg_query.NullTest", json_name: "NullTest"
|
56
|
+
optional :boolean_test, :message, 39, "pg_query.BooleanTest", json_name: "BooleanTest"
|
57
|
+
optional :coerce_to_domain, :message, 40, "pg_query.CoerceToDomain", json_name: "CoerceToDomain"
|
58
|
+
optional :coerce_to_domain_value, :message, 41, "pg_query.CoerceToDomainValue", json_name: "CoerceToDomainValue"
|
59
|
+
optional :set_to_default, :message, 42, "pg_query.SetToDefault", json_name: "SetToDefault"
|
60
|
+
optional :current_of_expr, :message, 43, "pg_query.CurrentOfExpr", json_name: "CurrentOfExpr"
|
61
|
+
optional :next_value_expr, :message, 44, "pg_query.NextValueExpr", json_name: "NextValueExpr"
|
62
|
+
optional :inference_elem, :message, 45, "pg_query.InferenceElem", json_name: "InferenceElem"
|
63
|
+
optional :target_entry, :message, 46, "pg_query.TargetEntry", json_name: "TargetEntry"
|
64
|
+
optional :range_tbl_ref, :message, 47, "pg_query.RangeTblRef", json_name: "RangeTblRef"
|
65
|
+
optional :join_expr, :message, 48, "pg_query.JoinExpr", json_name: "JoinExpr"
|
66
|
+
optional :from_expr, :message, 49, "pg_query.FromExpr", json_name: "FromExpr"
|
67
|
+
optional :on_conflict_expr, :message, 50, "pg_query.OnConflictExpr", json_name: "OnConflictExpr"
|
68
|
+
optional :into_clause, :message, 51, "pg_query.IntoClause", json_name: "IntoClause"
|
69
|
+
optional :raw_stmt, :message, 52, "pg_query.RawStmt", json_name: "RawStmt"
|
70
|
+
optional :query, :message, 53, "pg_query.Query", json_name: "Query"
|
71
|
+
optional :insert_stmt, :message, 54, "pg_query.InsertStmt", json_name: "InsertStmt"
|
72
|
+
optional :delete_stmt, :message, 55, "pg_query.DeleteStmt", json_name: "DeleteStmt"
|
73
|
+
optional :update_stmt, :message, 56, "pg_query.UpdateStmt", json_name: "UpdateStmt"
|
74
|
+
optional :select_stmt, :message, 57, "pg_query.SelectStmt", json_name: "SelectStmt"
|
75
|
+
optional :alter_table_stmt, :message, 58, "pg_query.AlterTableStmt", json_name: "AlterTableStmt"
|
76
|
+
optional :alter_table_cmd, :message, 59, "pg_query.AlterTableCmd", json_name: "AlterTableCmd"
|
77
|
+
optional :alter_domain_stmt, :message, 60, "pg_query.AlterDomainStmt", json_name: "AlterDomainStmt"
|
78
|
+
optional :set_operation_stmt, :message, 61, "pg_query.SetOperationStmt", json_name: "SetOperationStmt"
|
79
|
+
optional :grant_stmt, :message, 62, "pg_query.GrantStmt", json_name: "GrantStmt"
|
80
|
+
optional :grant_role_stmt, :message, 63, "pg_query.GrantRoleStmt", json_name: "GrantRoleStmt"
|
81
|
+
optional :alter_default_privileges_stmt, :message, 64, "pg_query.AlterDefaultPrivilegesStmt", json_name: "AlterDefaultPrivilegesStmt"
|
82
|
+
optional :close_portal_stmt, :message, 65, "pg_query.ClosePortalStmt", json_name: "ClosePortalStmt"
|
83
|
+
optional :cluster_stmt, :message, 66, "pg_query.ClusterStmt", json_name: "ClusterStmt"
|
84
|
+
optional :copy_stmt, :message, 67, "pg_query.CopyStmt", json_name: "CopyStmt"
|
85
|
+
optional :create_stmt, :message, 68, "pg_query.CreateStmt", json_name: "CreateStmt"
|
86
|
+
optional :define_stmt, :message, 69, "pg_query.DefineStmt", json_name: "DefineStmt"
|
87
|
+
optional :drop_stmt, :message, 70, "pg_query.DropStmt", json_name: "DropStmt"
|
88
|
+
optional :truncate_stmt, :message, 71, "pg_query.TruncateStmt", json_name: "TruncateStmt"
|
89
|
+
optional :comment_stmt, :message, 72, "pg_query.CommentStmt", json_name: "CommentStmt"
|
90
|
+
optional :fetch_stmt, :message, 73, "pg_query.FetchStmt", json_name: "FetchStmt"
|
91
|
+
optional :index_stmt, :message, 74, "pg_query.IndexStmt", json_name: "IndexStmt"
|
92
|
+
optional :create_function_stmt, :message, 75, "pg_query.CreateFunctionStmt", json_name: "CreateFunctionStmt"
|
93
|
+
optional :alter_function_stmt, :message, 76, "pg_query.AlterFunctionStmt", json_name: "AlterFunctionStmt"
|
94
|
+
optional :do_stmt, :message, 77, "pg_query.DoStmt", json_name: "DoStmt"
|
95
|
+
optional :rename_stmt, :message, 78, "pg_query.RenameStmt", json_name: "RenameStmt"
|
96
|
+
optional :rule_stmt, :message, 79, "pg_query.RuleStmt", json_name: "RuleStmt"
|
97
|
+
optional :notify_stmt, :message, 80, "pg_query.NotifyStmt", json_name: "NotifyStmt"
|
98
|
+
optional :listen_stmt, :message, 81, "pg_query.ListenStmt", json_name: "ListenStmt"
|
99
|
+
optional :unlisten_stmt, :message, 82, "pg_query.UnlistenStmt", json_name: "UnlistenStmt"
|
100
|
+
optional :transaction_stmt, :message, 83, "pg_query.TransactionStmt", json_name: "TransactionStmt"
|
101
|
+
optional :view_stmt, :message, 84, "pg_query.ViewStmt", json_name: "ViewStmt"
|
102
|
+
optional :load_stmt, :message, 85, "pg_query.LoadStmt", json_name: "LoadStmt"
|
103
|
+
optional :create_domain_stmt, :message, 86, "pg_query.CreateDomainStmt", json_name: "CreateDomainStmt"
|
104
|
+
optional :createdb_stmt, :message, 87, "pg_query.CreatedbStmt", json_name: "CreatedbStmt"
|
105
|
+
optional :dropdb_stmt, :message, 88, "pg_query.DropdbStmt", json_name: "DropdbStmt"
|
106
|
+
optional :vacuum_stmt, :message, 89, "pg_query.VacuumStmt", json_name: "VacuumStmt"
|
107
|
+
optional :explain_stmt, :message, 90, "pg_query.ExplainStmt", json_name: "ExplainStmt"
|
108
|
+
optional :create_table_as_stmt, :message, 91, "pg_query.CreateTableAsStmt", json_name: "CreateTableAsStmt"
|
109
|
+
optional :create_seq_stmt, :message, 92, "pg_query.CreateSeqStmt", json_name: "CreateSeqStmt"
|
110
|
+
optional :alter_seq_stmt, :message, 93, "pg_query.AlterSeqStmt", json_name: "AlterSeqStmt"
|
111
|
+
optional :variable_set_stmt, :message, 94, "pg_query.VariableSetStmt", json_name: "VariableSetStmt"
|
112
|
+
optional :variable_show_stmt, :message, 95, "pg_query.VariableShowStmt", json_name: "VariableShowStmt"
|
113
|
+
optional :discard_stmt, :message, 96, "pg_query.DiscardStmt", json_name: "DiscardStmt"
|
114
|
+
optional :create_trig_stmt, :message, 97, "pg_query.CreateTrigStmt", json_name: "CreateTrigStmt"
|
115
|
+
optional :create_plang_stmt, :message, 98, "pg_query.CreatePLangStmt", json_name: "CreatePLangStmt"
|
116
|
+
optional :create_role_stmt, :message, 99, "pg_query.CreateRoleStmt", json_name: "CreateRoleStmt"
|
117
|
+
optional :alter_role_stmt, :message, 100, "pg_query.AlterRoleStmt", json_name: "AlterRoleStmt"
|
118
|
+
optional :drop_role_stmt, :message, 101, "pg_query.DropRoleStmt", json_name: "DropRoleStmt"
|
119
|
+
optional :lock_stmt, :message, 102, "pg_query.LockStmt", json_name: "LockStmt"
|
120
|
+
optional :constraints_set_stmt, :message, 103, "pg_query.ConstraintsSetStmt", json_name: "ConstraintsSetStmt"
|
121
|
+
optional :reindex_stmt, :message, 104, "pg_query.ReindexStmt", json_name: "ReindexStmt"
|
122
|
+
optional :check_point_stmt, :message, 105, "pg_query.CheckPointStmt", json_name: "CheckPointStmt"
|
123
|
+
optional :create_schema_stmt, :message, 106, "pg_query.CreateSchemaStmt", json_name: "CreateSchemaStmt"
|
124
|
+
optional :alter_database_stmt, :message, 107, "pg_query.AlterDatabaseStmt", json_name: "AlterDatabaseStmt"
|
125
|
+
optional :alter_database_set_stmt, :message, 108, "pg_query.AlterDatabaseSetStmt", json_name: "AlterDatabaseSetStmt"
|
126
|
+
optional :alter_role_set_stmt, :message, 109, "pg_query.AlterRoleSetStmt", json_name: "AlterRoleSetStmt"
|
127
|
+
optional :create_conversion_stmt, :message, 110, "pg_query.CreateConversionStmt", json_name: "CreateConversionStmt"
|
128
|
+
optional :create_cast_stmt, :message, 111, "pg_query.CreateCastStmt", json_name: "CreateCastStmt"
|
129
|
+
optional :create_op_class_stmt, :message, 112, "pg_query.CreateOpClassStmt", json_name: "CreateOpClassStmt"
|
130
|
+
optional :create_op_family_stmt, :message, 113, "pg_query.CreateOpFamilyStmt", json_name: "CreateOpFamilyStmt"
|
131
|
+
optional :alter_op_family_stmt, :message, 114, "pg_query.AlterOpFamilyStmt", json_name: "AlterOpFamilyStmt"
|
132
|
+
optional :prepare_stmt, :message, 115, "pg_query.PrepareStmt", json_name: "PrepareStmt"
|
133
|
+
optional :execute_stmt, :message, 116, "pg_query.ExecuteStmt", json_name: "ExecuteStmt"
|
134
|
+
optional :deallocate_stmt, :message, 117, "pg_query.DeallocateStmt", json_name: "DeallocateStmt"
|
135
|
+
optional :declare_cursor_stmt, :message, 118, "pg_query.DeclareCursorStmt", json_name: "DeclareCursorStmt"
|
136
|
+
optional :create_table_space_stmt, :message, 119, "pg_query.CreateTableSpaceStmt", json_name: "CreateTableSpaceStmt"
|
137
|
+
optional :drop_table_space_stmt, :message, 120, "pg_query.DropTableSpaceStmt", json_name: "DropTableSpaceStmt"
|
138
|
+
optional :alter_object_depends_stmt, :message, 121, "pg_query.AlterObjectDependsStmt", json_name: "AlterObjectDependsStmt"
|
139
|
+
optional :alter_object_schema_stmt, :message, 122, "pg_query.AlterObjectSchemaStmt", json_name: "AlterObjectSchemaStmt"
|
140
|
+
optional :alter_owner_stmt, :message, 123, "pg_query.AlterOwnerStmt", json_name: "AlterOwnerStmt"
|
141
|
+
optional :alter_operator_stmt, :message, 124, "pg_query.AlterOperatorStmt", json_name: "AlterOperatorStmt"
|
142
|
+
optional :alter_type_stmt, :message, 125, "pg_query.AlterTypeStmt", json_name: "AlterTypeStmt"
|
143
|
+
optional :drop_owned_stmt, :message, 126, "pg_query.DropOwnedStmt", json_name: "DropOwnedStmt"
|
144
|
+
optional :reassign_owned_stmt, :message, 127, "pg_query.ReassignOwnedStmt", json_name: "ReassignOwnedStmt"
|
145
|
+
optional :composite_type_stmt, :message, 128, "pg_query.CompositeTypeStmt", json_name: "CompositeTypeStmt"
|
146
|
+
optional :create_enum_stmt, :message, 129, "pg_query.CreateEnumStmt", json_name: "CreateEnumStmt"
|
147
|
+
optional :create_range_stmt, :message, 130, "pg_query.CreateRangeStmt", json_name: "CreateRangeStmt"
|
148
|
+
optional :alter_enum_stmt, :message, 131, "pg_query.AlterEnumStmt", json_name: "AlterEnumStmt"
|
149
|
+
optional :alter_tsdictionary_stmt, :message, 132, "pg_query.AlterTSDictionaryStmt", json_name: "AlterTSDictionaryStmt"
|
150
|
+
optional :alter_tsconfiguration_stmt, :message, 133, "pg_query.AlterTSConfigurationStmt", json_name: "AlterTSConfigurationStmt"
|
151
|
+
optional :create_fdw_stmt, :message, 134, "pg_query.CreateFdwStmt", json_name: "CreateFdwStmt"
|
152
|
+
optional :alter_fdw_stmt, :message, 135, "pg_query.AlterFdwStmt", json_name: "AlterFdwStmt"
|
153
|
+
optional :create_foreign_server_stmt, :message, 136, "pg_query.CreateForeignServerStmt", json_name: "CreateForeignServerStmt"
|
154
|
+
optional :alter_foreign_server_stmt, :message, 137, "pg_query.AlterForeignServerStmt", json_name: "AlterForeignServerStmt"
|
155
|
+
optional :create_user_mapping_stmt, :message, 138, "pg_query.CreateUserMappingStmt", json_name: "CreateUserMappingStmt"
|
156
|
+
optional :alter_user_mapping_stmt, :message, 139, "pg_query.AlterUserMappingStmt", json_name: "AlterUserMappingStmt"
|
157
|
+
optional :drop_user_mapping_stmt, :message, 140, "pg_query.DropUserMappingStmt", json_name: "DropUserMappingStmt"
|
158
|
+
optional :alter_table_space_options_stmt, :message, 141, "pg_query.AlterTableSpaceOptionsStmt", json_name: "AlterTableSpaceOptionsStmt"
|
159
|
+
optional :alter_table_move_all_stmt, :message, 142, "pg_query.AlterTableMoveAllStmt", json_name: "AlterTableMoveAllStmt"
|
160
|
+
optional :sec_label_stmt, :message, 143, "pg_query.SecLabelStmt", json_name: "SecLabelStmt"
|
161
|
+
optional :create_foreign_table_stmt, :message, 144, "pg_query.CreateForeignTableStmt", json_name: "CreateForeignTableStmt"
|
162
|
+
optional :import_foreign_schema_stmt, :message, 145, "pg_query.ImportForeignSchemaStmt", json_name: "ImportForeignSchemaStmt"
|
163
|
+
optional :create_extension_stmt, :message, 146, "pg_query.CreateExtensionStmt", json_name: "CreateExtensionStmt"
|
164
|
+
optional :alter_extension_stmt, :message, 147, "pg_query.AlterExtensionStmt", json_name: "AlterExtensionStmt"
|
165
|
+
optional :alter_extension_contents_stmt, :message, 148, "pg_query.AlterExtensionContentsStmt", json_name: "AlterExtensionContentsStmt"
|
166
|
+
optional :create_event_trig_stmt, :message, 149, "pg_query.CreateEventTrigStmt", json_name: "CreateEventTrigStmt"
|
167
|
+
optional :alter_event_trig_stmt, :message, 150, "pg_query.AlterEventTrigStmt", json_name: "AlterEventTrigStmt"
|
168
|
+
optional :refresh_mat_view_stmt, :message, 151, "pg_query.RefreshMatViewStmt", json_name: "RefreshMatViewStmt"
|
169
|
+
optional :replica_identity_stmt, :message, 152, "pg_query.ReplicaIdentityStmt", json_name: "ReplicaIdentityStmt"
|
170
|
+
optional :alter_system_stmt, :message, 153, "pg_query.AlterSystemStmt", json_name: "AlterSystemStmt"
|
171
|
+
optional :create_policy_stmt, :message, 154, "pg_query.CreatePolicyStmt", json_name: "CreatePolicyStmt"
|
172
|
+
optional :alter_policy_stmt, :message, 155, "pg_query.AlterPolicyStmt", json_name: "AlterPolicyStmt"
|
173
|
+
optional :create_transform_stmt, :message, 156, "pg_query.CreateTransformStmt", json_name: "CreateTransformStmt"
|
174
|
+
optional :create_am_stmt, :message, 157, "pg_query.CreateAmStmt", json_name: "CreateAmStmt"
|
175
|
+
optional :create_publication_stmt, :message, 158, "pg_query.CreatePublicationStmt", json_name: "CreatePublicationStmt"
|
176
|
+
optional :alter_publication_stmt, :message, 159, "pg_query.AlterPublicationStmt", json_name: "AlterPublicationStmt"
|
177
|
+
optional :create_subscription_stmt, :message, 160, "pg_query.CreateSubscriptionStmt", json_name: "CreateSubscriptionStmt"
|
178
|
+
optional :alter_subscription_stmt, :message, 161, "pg_query.AlterSubscriptionStmt", json_name: "AlterSubscriptionStmt"
|
179
|
+
optional :drop_subscription_stmt, :message, 162, "pg_query.DropSubscriptionStmt", json_name: "DropSubscriptionStmt"
|
180
|
+
optional :create_stats_stmt, :message, 163, "pg_query.CreateStatsStmt", json_name: "CreateStatsStmt"
|
181
|
+
optional :alter_collation_stmt, :message, 164, "pg_query.AlterCollationStmt", json_name: "AlterCollationStmt"
|
182
|
+
optional :call_stmt, :message, 165, "pg_query.CallStmt", json_name: "CallStmt"
|
183
|
+
optional :alter_stats_stmt, :message, 166, "pg_query.AlterStatsStmt", json_name: "AlterStatsStmt"
|
184
|
+
optional :a_expr, :message, 167, "pg_query.A_Expr", json_name: "A_Expr"
|
185
|
+
optional :column_ref, :message, 168, "pg_query.ColumnRef", json_name: "ColumnRef"
|
186
|
+
optional :param_ref, :message, 169, "pg_query.ParamRef", json_name: "ParamRef"
|
187
|
+
optional :a_const, :message, 170, "pg_query.A_Const", json_name: "A_Const"
|
188
|
+
optional :func_call, :message, 171, "pg_query.FuncCall", json_name: "FuncCall"
|
189
|
+
optional :a_star, :message, 172, "pg_query.A_Star", json_name: "A_Star"
|
190
|
+
optional :a_indices, :message, 173, "pg_query.A_Indices", json_name: "A_Indices"
|
191
|
+
optional :a_indirection, :message, 174, "pg_query.A_Indirection", json_name: "A_Indirection"
|
192
|
+
optional :a_array_expr, :message, 175, "pg_query.A_ArrayExpr", json_name: "A_ArrayExpr"
|
193
|
+
optional :res_target, :message, 176, "pg_query.ResTarget", json_name: "ResTarget"
|
194
|
+
optional :multi_assign_ref, :message, 177, "pg_query.MultiAssignRef", json_name: "MultiAssignRef"
|
195
|
+
optional :type_cast, :message, 178, "pg_query.TypeCast", json_name: "TypeCast"
|
196
|
+
optional :collate_clause, :message, 179, "pg_query.CollateClause", json_name: "CollateClause"
|
197
|
+
optional :sort_by, :message, 180, "pg_query.SortBy", json_name: "SortBy"
|
198
|
+
optional :window_def, :message, 181, "pg_query.WindowDef", json_name: "WindowDef"
|
199
|
+
optional :range_subselect, :message, 182, "pg_query.RangeSubselect", json_name: "RangeSubselect"
|
200
|
+
optional :range_function, :message, 183, "pg_query.RangeFunction", json_name: "RangeFunction"
|
201
|
+
optional :range_table_sample, :message, 184, "pg_query.RangeTableSample", json_name: "RangeTableSample"
|
202
|
+
optional :range_table_func, :message, 185, "pg_query.RangeTableFunc", json_name: "RangeTableFunc"
|
203
|
+
optional :range_table_func_col, :message, 186, "pg_query.RangeTableFuncCol", json_name: "RangeTableFuncCol"
|
204
|
+
optional :type_name, :message, 187, "pg_query.TypeName", json_name: "TypeName"
|
205
|
+
optional :column_def, :message, 188, "pg_query.ColumnDef", json_name: "ColumnDef"
|
206
|
+
optional :index_elem, :message, 189, "pg_query.IndexElem", json_name: "IndexElem"
|
207
|
+
optional :constraint, :message, 190, "pg_query.Constraint", json_name: "Constraint"
|
208
|
+
optional :def_elem, :message, 191, "pg_query.DefElem", json_name: "DefElem"
|
209
|
+
optional :range_tbl_entry, :message, 192, "pg_query.RangeTblEntry", json_name: "RangeTblEntry"
|
210
|
+
optional :range_tbl_function, :message, 193, "pg_query.RangeTblFunction", json_name: "RangeTblFunction"
|
211
|
+
optional :table_sample_clause, :message, 194, "pg_query.TableSampleClause", json_name: "TableSampleClause"
|
212
|
+
optional :with_check_option, :message, 195, "pg_query.WithCheckOption", json_name: "WithCheckOption"
|
213
|
+
optional :sort_group_clause, :message, 196, "pg_query.SortGroupClause", json_name: "SortGroupClause"
|
214
|
+
optional :grouping_set, :message, 197, "pg_query.GroupingSet", json_name: "GroupingSet"
|
215
|
+
optional :window_clause, :message, 198, "pg_query.WindowClause", json_name: "WindowClause"
|
216
|
+
optional :object_with_args, :message, 199, "pg_query.ObjectWithArgs", json_name: "ObjectWithArgs"
|
217
|
+
optional :access_priv, :message, 200, "pg_query.AccessPriv", json_name: "AccessPriv"
|
218
|
+
optional :create_op_class_item, :message, 201, "pg_query.CreateOpClassItem", json_name: "CreateOpClassItem"
|
219
|
+
optional :table_like_clause, :message, 202, "pg_query.TableLikeClause", json_name: "TableLikeClause"
|
220
|
+
optional :function_parameter, :message, 203, "pg_query.FunctionParameter", json_name: "FunctionParameter"
|
221
|
+
optional :locking_clause, :message, 204, "pg_query.LockingClause", json_name: "LockingClause"
|
222
|
+
optional :row_mark_clause, :message, 205, "pg_query.RowMarkClause", json_name: "RowMarkClause"
|
223
|
+
optional :xml_serialize, :message, 206, "pg_query.XmlSerialize", json_name: "XmlSerialize"
|
224
|
+
optional :with_clause, :message, 207, "pg_query.WithClause", json_name: "WithClause"
|
225
|
+
optional :infer_clause, :message, 208, "pg_query.InferClause", json_name: "InferClause"
|
226
|
+
optional :on_conflict_clause, :message, 209, "pg_query.OnConflictClause", json_name: "OnConflictClause"
|
227
|
+
optional :common_table_expr, :message, 210, "pg_query.CommonTableExpr", json_name: "CommonTableExpr"
|
228
|
+
optional :role_spec, :message, 211, "pg_query.RoleSpec", json_name: "RoleSpec"
|
229
|
+
optional :trigger_transition, :message, 212, "pg_query.TriggerTransition", json_name: "TriggerTransition"
|
230
|
+
optional :partition_elem, :message, 213, "pg_query.PartitionElem", json_name: "PartitionElem"
|
231
|
+
optional :partition_spec, :message, 214, "pg_query.PartitionSpec", json_name: "PartitionSpec"
|
232
|
+
optional :partition_bound_spec, :message, 215, "pg_query.PartitionBoundSpec", json_name: "PartitionBoundSpec"
|
233
|
+
optional :partition_range_datum, :message, 216, "pg_query.PartitionRangeDatum", json_name: "PartitionRangeDatum"
|
234
|
+
optional :partition_cmd, :message, 217, "pg_query.PartitionCmd", json_name: "PartitionCmd"
|
235
|
+
optional :vacuum_relation, :message, 218, "pg_query.VacuumRelation", json_name: "VacuumRelation"
|
236
|
+
optional :inline_code_block, :message, 219, "pg_query.InlineCodeBlock", json_name: "InlineCodeBlock"
|
237
|
+
optional :call_context, :message, 220, "pg_query.CallContext", json_name: "CallContext"
|
238
|
+
optional :integer, :message, 221, "pg_query.Integer", json_name: "Integer"
|
239
|
+
optional :float, :message, 222, "pg_query.Float", json_name: "Float"
|
240
|
+
optional :string, :message, 223, "pg_query.String", json_name: "String"
|
241
|
+
optional :bit_string, :message, 224, "pg_query.BitString", json_name: "BitString"
|
242
|
+
optional :null, :message, 225, "pg_query.Null", json_name: "Null"
|
243
|
+
optional :list, :message, 226, "pg_query.List", json_name: "List"
|
244
|
+
optional :int_list, :message, 227, "pg_query.IntList", json_name: "IntList"
|
245
|
+
optional :oid_list, :message, 228, "pg_query.OidList", json_name: "OidList"
|
246
246
|
end
|
247
247
|
end
|
248
248
|
add_message "pg_query.Integer" do
|
@@ -269,1599 +269,1600 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
269
269
|
repeated :items, :message, 1, "pg_query.Node"
|
270
270
|
end
|
271
271
|
add_message "pg_query.Alias" do
|
272
|
-
optional :aliasname, :string, 1
|
273
|
-
repeated :colnames, :message, 2, "pg_query.Node"
|
272
|
+
optional :aliasname, :string, 1, json_name: "aliasname"
|
273
|
+
repeated :colnames, :message, 2, "pg_query.Node", json_name: "colnames"
|
274
274
|
end
|
275
275
|
add_message "pg_query.RangeVar" do
|
276
|
-
optional :catalogname, :string, 1
|
277
|
-
optional :schemaname, :string, 2
|
278
|
-
optional :relname, :string, 3
|
279
|
-
optional :inh, :bool, 4
|
280
|
-
optional :relpersistence, :string, 5
|
281
|
-
optional :alias, :message, 6, "pg_query.Alias"
|
282
|
-
optional :location, :int32, 7
|
276
|
+
optional :catalogname, :string, 1, json_name: "catalogname"
|
277
|
+
optional :schemaname, :string, 2, json_name: "schemaname"
|
278
|
+
optional :relname, :string, 3, json_name: "relname"
|
279
|
+
optional :inh, :bool, 4, json_name: "inh"
|
280
|
+
optional :relpersistence, :string, 5, json_name: "relpersistence"
|
281
|
+
optional :alias, :message, 6, "pg_query.Alias", json_name: "alias"
|
282
|
+
optional :location, :int32, 7, json_name: "location"
|
283
283
|
end
|
284
284
|
add_message "pg_query.TableFunc" do
|
285
|
-
repeated :ns_uris, :message, 1, "pg_query.Node"
|
286
|
-
repeated :ns_names, :message, 2, "pg_query.Node"
|
287
|
-
optional :docexpr, :message, 3, "pg_query.Node"
|
288
|
-
optional :rowexpr, :message, 4, "pg_query.Node"
|
289
|
-
repeated :colnames, :message, 5, "pg_query.Node"
|
290
|
-
repeated :coltypes, :message, 6, "pg_query.Node"
|
291
|
-
repeated :coltypmods, :message, 7, "pg_query.Node"
|
292
|
-
repeated :colcollations, :message, 8, "pg_query.Node"
|
293
|
-
repeated :colexprs, :message, 9, "pg_query.Node"
|
294
|
-
repeated :coldefexprs, :message, 10, "pg_query.Node"
|
295
|
-
repeated :notnulls, :uint64, 11
|
296
|
-
optional :ordinalitycol, :int32, 12
|
297
|
-
optional :location, :int32, 13
|
285
|
+
repeated :ns_uris, :message, 1, "pg_query.Node", json_name: "ns_uris"
|
286
|
+
repeated :ns_names, :message, 2, "pg_query.Node", json_name: "ns_names"
|
287
|
+
optional :docexpr, :message, 3, "pg_query.Node", json_name: "docexpr"
|
288
|
+
optional :rowexpr, :message, 4, "pg_query.Node", json_name: "rowexpr"
|
289
|
+
repeated :colnames, :message, 5, "pg_query.Node", json_name: "colnames"
|
290
|
+
repeated :coltypes, :message, 6, "pg_query.Node", json_name: "coltypes"
|
291
|
+
repeated :coltypmods, :message, 7, "pg_query.Node", json_name: "coltypmods"
|
292
|
+
repeated :colcollations, :message, 8, "pg_query.Node", json_name: "colcollations"
|
293
|
+
repeated :colexprs, :message, 9, "pg_query.Node", json_name: "colexprs"
|
294
|
+
repeated :coldefexprs, :message, 10, "pg_query.Node", json_name: "coldefexprs"
|
295
|
+
repeated :notnulls, :uint64, 11, json_name: "notnulls"
|
296
|
+
optional :ordinalitycol, :int32, 12, json_name: "ordinalitycol"
|
297
|
+
optional :location, :int32, 13, json_name: "location"
|
298
298
|
end
|
299
299
|
add_message "pg_query.Expr" do
|
300
300
|
end
|
301
301
|
add_message "pg_query.Var" do
|
302
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
303
|
-
optional :varno, :uint32, 2
|
304
|
-
optional :varattno, :int32, 3
|
305
|
-
optional :vartype, :uint32, 4
|
306
|
-
optional :vartypmod, :int32, 5
|
307
|
-
optional :varcollid, :uint32, 6
|
308
|
-
optional :varlevelsup, :uint32, 7
|
309
|
-
optional :varnosyn, :uint32, 8
|
310
|
-
optional :varattnosyn, :int32, 9
|
311
|
-
optional :location, :int32, 10
|
302
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
303
|
+
optional :varno, :uint32, 2, json_name: "varno"
|
304
|
+
optional :varattno, :int32, 3, json_name: "varattno"
|
305
|
+
optional :vartype, :uint32, 4, json_name: "vartype"
|
306
|
+
optional :vartypmod, :int32, 5, json_name: "vartypmod"
|
307
|
+
optional :varcollid, :uint32, 6, json_name: "varcollid"
|
308
|
+
optional :varlevelsup, :uint32, 7, json_name: "varlevelsup"
|
309
|
+
optional :varnosyn, :uint32, 8, json_name: "varnosyn"
|
310
|
+
optional :varattnosyn, :int32, 9, json_name: "varattnosyn"
|
311
|
+
optional :location, :int32, 10, json_name: "location"
|
312
312
|
end
|
313
313
|
add_message "pg_query.Param" do
|
314
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
315
|
-
optional :paramkind, :enum, 2, "pg_query.ParamKind"
|
316
|
-
optional :paramid, :int32, 3
|
317
|
-
optional :paramtype, :uint32, 4
|
318
|
-
optional :paramtypmod, :int32, 5
|
319
|
-
optional :paramcollid, :uint32, 6
|
320
|
-
optional :location, :int32, 7
|
314
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
315
|
+
optional :paramkind, :enum, 2, "pg_query.ParamKind", json_name: "paramkind"
|
316
|
+
optional :paramid, :int32, 3, json_name: "paramid"
|
317
|
+
optional :paramtype, :uint32, 4, json_name: "paramtype"
|
318
|
+
optional :paramtypmod, :int32, 5, json_name: "paramtypmod"
|
319
|
+
optional :paramcollid, :uint32, 6, json_name: "paramcollid"
|
320
|
+
optional :location, :int32, 7, json_name: "location"
|
321
321
|
end
|
322
322
|
add_message "pg_query.Aggref" do
|
323
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
324
|
-
optional :aggfnoid, :uint32, 2
|
325
|
-
optional :aggtype, :uint32, 3
|
326
|
-
optional :aggcollid, :uint32, 4
|
327
|
-
optional :inputcollid, :uint32, 5
|
328
|
-
optional :aggtranstype, :uint32, 6
|
329
|
-
repeated :aggargtypes, :message, 7, "pg_query.Node"
|
330
|
-
repeated :aggdirectargs, :message, 8, "pg_query.Node"
|
331
|
-
repeated :args, :message, 9, "pg_query.Node"
|
332
|
-
repeated :aggorder, :message, 10, "pg_query.Node"
|
333
|
-
repeated :aggdistinct, :message, 11, "pg_query.Node"
|
334
|
-
optional :aggfilter, :message, 12, "pg_query.Node"
|
335
|
-
optional :aggstar, :bool, 13
|
336
|
-
optional :aggvariadic, :bool, 14
|
337
|
-
optional :aggkind, :string, 15
|
338
|
-
optional :agglevelsup, :uint32, 16
|
339
|
-
optional :aggsplit, :enum, 17, "pg_query.AggSplit"
|
340
|
-
optional :location, :int32, 18
|
323
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
324
|
+
optional :aggfnoid, :uint32, 2, json_name: "aggfnoid"
|
325
|
+
optional :aggtype, :uint32, 3, json_name: "aggtype"
|
326
|
+
optional :aggcollid, :uint32, 4, json_name: "aggcollid"
|
327
|
+
optional :inputcollid, :uint32, 5, json_name: "inputcollid"
|
328
|
+
optional :aggtranstype, :uint32, 6, json_name: "aggtranstype"
|
329
|
+
repeated :aggargtypes, :message, 7, "pg_query.Node", json_name: "aggargtypes"
|
330
|
+
repeated :aggdirectargs, :message, 8, "pg_query.Node", json_name: "aggdirectargs"
|
331
|
+
repeated :args, :message, 9, "pg_query.Node", json_name: "args"
|
332
|
+
repeated :aggorder, :message, 10, "pg_query.Node", json_name: "aggorder"
|
333
|
+
repeated :aggdistinct, :message, 11, "pg_query.Node", json_name: "aggdistinct"
|
334
|
+
optional :aggfilter, :message, 12, "pg_query.Node", json_name: "aggfilter"
|
335
|
+
optional :aggstar, :bool, 13, json_name: "aggstar"
|
336
|
+
optional :aggvariadic, :bool, 14, json_name: "aggvariadic"
|
337
|
+
optional :aggkind, :string, 15, json_name: "aggkind"
|
338
|
+
optional :agglevelsup, :uint32, 16, json_name: "agglevelsup"
|
339
|
+
optional :aggsplit, :enum, 17, "pg_query.AggSplit", json_name: "aggsplit"
|
340
|
+
optional :location, :int32, 18, json_name: "location"
|
341
341
|
end
|
342
342
|
add_message "pg_query.GroupingFunc" do
|
343
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
344
|
-
repeated :args, :message, 2, "pg_query.Node"
|
345
|
-
repeated :refs, :message, 3, "pg_query.Node"
|
346
|
-
repeated :cols, :message, 4, "pg_query.Node"
|
347
|
-
optional :agglevelsup, :uint32, 5
|
348
|
-
optional :location, :int32, 6
|
343
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
344
|
+
repeated :args, :message, 2, "pg_query.Node", json_name: "args"
|
345
|
+
repeated :refs, :message, 3, "pg_query.Node", json_name: "refs"
|
346
|
+
repeated :cols, :message, 4, "pg_query.Node", json_name: "cols"
|
347
|
+
optional :agglevelsup, :uint32, 5, json_name: "agglevelsup"
|
348
|
+
optional :location, :int32, 6, json_name: "location"
|
349
349
|
end
|
350
350
|
add_message "pg_query.WindowFunc" do
|
351
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
352
|
-
optional :winfnoid, :uint32, 2
|
353
|
-
optional :wintype, :uint32, 3
|
354
|
-
optional :wincollid, :uint32, 4
|
355
|
-
optional :inputcollid, :uint32, 5
|
356
|
-
repeated :args, :message, 6, "pg_query.Node"
|
357
|
-
optional :aggfilter, :message, 7, "pg_query.Node"
|
358
|
-
optional :winref, :uint32, 8
|
359
|
-
optional :winstar, :bool, 9
|
360
|
-
optional :winagg, :bool, 10
|
361
|
-
optional :location, :int32, 11
|
351
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
352
|
+
optional :winfnoid, :uint32, 2, json_name: "winfnoid"
|
353
|
+
optional :wintype, :uint32, 3, json_name: "wintype"
|
354
|
+
optional :wincollid, :uint32, 4, json_name: "wincollid"
|
355
|
+
optional :inputcollid, :uint32, 5, json_name: "inputcollid"
|
356
|
+
repeated :args, :message, 6, "pg_query.Node", json_name: "args"
|
357
|
+
optional :aggfilter, :message, 7, "pg_query.Node", json_name: "aggfilter"
|
358
|
+
optional :winref, :uint32, 8, json_name: "winref"
|
359
|
+
optional :winstar, :bool, 9, json_name: "winstar"
|
360
|
+
optional :winagg, :bool, 10, json_name: "winagg"
|
361
|
+
optional :location, :int32, 11, json_name: "location"
|
362
362
|
end
|
363
363
|
add_message "pg_query.SubscriptingRef" do
|
364
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
365
|
-
optional :refcontainertype, :uint32, 2
|
366
|
-
optional :refelemtype, :uint32, 3
|
367
|
-
optional :reftypmod, :int32, 4
|
368
|
-
optional :refcollid, :uint32, 5
|
369
|
-
repeated :refupperindexpr, :message, 6, "pg_query.Node"
|
370
|
-
repeated :reflowerindexpr, :message, 7, "pg_query.Node"
|
371
|
-
optional :refexpr, :message, 8, "pg_query.Node"
|
372
|
-
optional :refassgnexpr, :message, 9, "pg_query.Node"
|
364
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
365
|
+
optional :refcontainertype, :uint32, 2, json_name: "refcontainertype"
|
366
|
+
optional :refelemtype, :uint32, 3, json_name: "refelemtype"
|
367
|
+
optional :reftypmod, :int32, 4, json_name: "reftypmod"
|
368
|
+
optional :refcollid, :uint32, 5, json_name: "refcollid"
|
369
|
+
repeated :refupperindexpr, :message, 6, "pg_query.Node", json_name: "refupperindexpr"
|
370
|
+
repeated :reflowerindexpr, :message, 7, "pg_query.Node", json_name: "reflowerindexpr"
|
371
|
+
optional :refexpr, :message, 8, "pg_query.Node", json_name: "refexpr"
|
372
|
+
optional :refassgnexpr, :message, 9, "pg_query.Node", json_name: "refassgnexpr"
|
373
373
|
end
|
374
374
|
add_message "pg_query.FuncExpr" do
|
375
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
376
|
-
optional :funcid, :uint32, 2
|
377
|
-
optional :funcresulttype, :uint32, 3
|
378
|
-
optional :funcretset, :bool, 4
|
379
|
-
optional :funcvariadic, :bool, 5
|
380
|
-
optional :funcformat, :enum, 6, "pg_query.CoercionForm"
|
381
|
-
optional :funccollid, :uint32, 7
|
382
|
-
optional :inputcollid, :uint32, 8
|
383
|
-
repeated :args, :message, 9, "pg_query.Node"
|
384
|
-
optional :location, :int32, 10
|
375
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
376
|
+
optional :funcid, :uint32, 2, json_name: "funcid"
|
377
|
+
optional :funcresulttype, :uint32, 3, json_name: "funcresulttype"
|
378
|
+
optional :funcretset, :bool, 4, json_name: "funcretset"
|
379
|
+
optional :funcvariadic, :bool, 5, json_name: "funcvariadic"
|
380
|
+
optional :funcformat, :enum, 6, "pg_query.CoercionForm", json_name: "funcformat"
|
381
|
+
optional :funccollid, :uint32, 7, json_name: "funccollid"
|
382
|
+
optional :inputcollid, :uint32, 8, json_name: "inputcollid"
|
383
|
+
repeated :args, :message, 9, "pg_query.Node", json_name: "args"
|
384
|
+
optional :location, :int32, 10, json_name: "location"
|
385
385
|
end
|
386
386
|
add_message "pg_query.NamedArgExpr" do
|
387
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
388
|
-
optional :arg, :message, 2, "pg_query.Node"
|
389
|
-
optional :name, :string, 3
|
390
|
-
optional :argnumber, :int32, 4
|
391
|
-
optional :location, :int32, 5
|
387
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
388
|
+
optional :arg, :message, 2, "pg_query.Node", json_name: "arg"
|
389
|
+
optional :name, :string, 3, json_name: "name"
|
390
|
+
optional :argnumber, :int32, 4, json_name: "argnumber"
|
391
|
+
optional :location, :int32, 5, json_name: "location"
|
392
392
|
end
|
393
393
|
add_message "pg_query.OpExpr" do
|
394
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
395
|
-
optional :opno, :uint32, 2
|
396
|
-
optional :opfuncid, :uint32, 3
|
397
|
-
optional :opresulttype, :uint32, 4
|
398
|
-
optional :opretset, :bool, 5
|
399
|
-
optional :opcollid, :uint32, 6
|
400
|
-
optional :inputcollid, :uint32, 7
|
401
|
-
repeated :args, :message, 8, "pg_query.Node"
|
402
|
-
optional :location, :int32, 9
|
394
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
395
|
+
optional :opno, :uint32, 2, json_name: "opno"
|
396
|
+
optional :opfuncid, :uint32, 3, json_name: "opfuncid"
|
397
|
+
optional :opresulttype, :uint32, 4, json_name: "opresulttype"
|
398
|
+
optional :opretset, :bool, 5, json_name: "opretset"
|
399
|
+
optional :opcollid, :uint32, 6, json_name: "opcollid"
|
400
|
+
optional :inputcollid, :uint32, 7, json_name: "inputcollid"
|
401
|
+
repeated :args, :message, 8, "pg_query.Node", json_name: "args"
|
402
|
+
optional :location, :int32, 9, json_name: "location"
|
403
403
|
end
|
404
404
|
add_message "pg_query.DistinctExpr" do
|
405
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
406
|
-
optional :opno, :uint32, 2
|
407
|
-
optional :opfuncid, :uint32, 3
|
408
|
-
optional :opresulttype, :uint32, 4
|
409
|
-
optional :opretset, :bool, 5
|
410
|
-
optional :opcollid, :uint32, 6
|
411
|
-
optional :inputcollid, :uint32, 7
|
412
|
-
repeated :args, :message, 8, "pg_query.Node"
|
413
|
-
optional :location, :int32, 9
|
405
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
406
|
+
optional :opno, :uint32, 2, json_name: "opno"
|
407
|
+
optional :opfuncid, :uint32, 3, json_name: "opfuncid"
|
408
|
+
optional :opresulttype, :uint32, 4, json_name: "opresulttype"
|
409
|
+
optional :opretset, :bool, 5, json_name: "opretset"
|
410
|
+
optional :opcollid, :uint32, 6, json_name: "opcollid"
|
411
|
+
optional :inputcollid, :uint32, 7, json_name: "inputcollid"
|
412
|
+
repeated :args, :message, 8, "pg_query.Node", json_name: "args"
|
413
|
+
optional :location, :int32, 9, json_name: "location"
|
414
414
|
end
|
415
415
|
add_message "pg_query.NullIfExpr" do
|
416
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
417
|
-
optional :opno, :uint32, 2
|
418
|
-
optional :opfuncid, :uint32, 3
|
419
|
-
optional :opresulttype, :uint32, 4
|
420
|
-
optional :opretset, :bool, 5
|
421
|
-
optional :opcollid, :uint32, 6
|
422
|
-
optional :inputcollid, :uint32, 7
|
423
|
-
repeated :args, :message, 8, "pg_query.Node"
|
424
|
-
optional :location, :int32, 9
|
416
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
417
|
+
optional :opno, :uint32, 2, json_name: "opno"
|
418
|
+
optional :opfuncid, :uint32, 3, json_name: "opfuncid"
|
419
|
+
optional :opresulttype, :uint32, 4, json_name: "opresulttype"
|
420
|
+
optional :opretset, :bool, 5, json_name: "opretset"
|
421
|
+
optional :opcollid, :uint32, 6, json_name: "opcollid"
|
422
|
+
optional :inputcollid, :uint32, 7, json_name: "inputcollid"
|
423
|
+
repeated :args, :message, 8, "pg_query.Node", json_name: "args"
|
424
|
+
optional :location, :int32, 9, json_name: "location"
|
425
425
|
end
|
426
426
|
add_message "pg_query.ScalarArrayOpExpr" do
|
427
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
428
|
-
optional :opno, :uint32, 2
|
429
|
-
optional :opfuncid, :uint32, 3
|
430
|
-
optional :use_or, :bool, 4
|
431
|
-
optional :inputcollid, :uint32, 5
|
432
|
-
repeated :args, :message, 6, "pg_query.Node"
|
433
|
-
optional :location, :int32, 7
|
427
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
428
|
+
optional :opno, :uint32, 2, json_name: "opno"
|
429
|
+
optional :opfuncid, :uint32, 3, json_name: "opfuncid"
|
430
|
+
optional :use_or, :bool, 4, json_name: "useOr"
|
431
|
+
optional :inputcollid, :uint32, 5, json_name: "inputcollid"
|
432
|
+
repeated :args, :message, 6, "pg_query.Node", json_name: "args"
|
433
|
+
optional :location, :int32, 7, json_name: "location"
|
434
434
|
end
|
435
435
|
add_message "pg_query.BoolExpr" do
|
436
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
437
|
-
optional :boolop, :enum, 2, "pg_query.BoolExprType"
|
438
|
-
repeated :args, :message, 3, "pg_query.Node"
|
439
|
-
optional :location, :int32, 4
|
436
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
437
|
+
optional :boolop, :enum, 2, "pg_query.BoolExprType", json_name: "boolop"
|
438
|
+
repeated :args, :message, 3, "pg_query.Node", json_name: "args"
|
439
|
+
optional :location, :int32, 4, json_name: "location"
|
440
440
|
end
|
441
441
|
add_message "pg_query.SubLink" do
|
442
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
443
|
-
optional :sub_link_type, :enum, 2, "pg_query.SubLinkType"
|
444
|
-
optional :sub_link_id, :int32, 3
|
445
|
-
optional :testexpr, :message, 4, "pg_query.Node"
|
446
|
-
repeated :oper_name, :message, 5, "pg_query.Node"
|
447
|
-
optional :subselect, :message, 6, "pg_query.Node"
|
448
|
-
optional :location, :int32, 7
|
442
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
443
|
+
optional :sub_link_type, :enum, 2, "pg_query.SubLinkType", json_name: "subLinkType"
|
444
|
+
optional :sub_link_id, :int32, 3, json_name: "subLinkId"
|
445
|
+
optional :testexpr, :message, 4, "pg_query.Node", json_name: "testexpr"
|
446
|
+
repeated :oper_name, :message, 5, "pg_query.Node", json_name: "operName"
|
447
|
+
optional :subselect, :message, 6, "pg_query.Node", json_name: "subselect"
|
448
|
+
optional :location, :int32, 7, json_name: "location"
|
449
449
|
end
|
450
450
|
add_message "pg_query.SubPlan" do
|
451
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
452
|
-
optional :sub_link_type, :enum, 2, "pg_query.SubLinkType"
|
453
|
-
optional :testexpr, :message, 3, "pg_query.Node"
|
454
|
-
repeated :param_ids, :message, 4, "pg_query.Node"
|
455
|
-
optional :plan_id, :int32, 5
|
456
|
-
optional :plan_name, :string, 6
|
457
|
-
optional :first_col_type, :uint32, 7
|
458
|
-
optional :first_col_typmod, :int32, 8
|
459
|
-
optional :first_col_collation, :uint32, 9
|
460
|
-
optional :use_hash_table, :bool, 10
|
461
|
-
optional :unknown_eq_false, :bool, 11
|
462
|
-
optional :parallel_safe, :bool, 12
|
463
|
-
repeated :set_param, :message, 13, "pg_query.Node"
|
464
|
-
repeated :par_param, :message, 14, "pg_query.Node"
|
465
|
-
repeated :args, :message, 15, "pg_query.Node"
|
466
|
-
optional :startup_cost, :double, 16
|
467
|
-
optional :per_call_cost, :double, 17
|
451
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
452
|
+
optional :sub_link_type, :enum, 2, "pg_query.SubLinkType", json_name: "subLinkType"
|
453
|
+
optional :testexpr, :message, 3, "pg_query.Node", json_name: "testexpr"
|
454
|
+
repeated :param_ids, :message, 4, "pg_query.Node", json_name: "paramIds"
|
455
|
+
optional :plan_id, :int32, 5, json_name: "plan_id"
|
456
|
+
optional :plan_name, :string, 6, json_name: "plan_name"
|
457
|
+
optional :first_col_type, :uint32, 7, json_name: "firstColType"
|
458
|
+
optional :first_col_typmod, :int32, 8, json_name: "firstColTypmod"
|
459
|
+
optional :first_col_collation, :uint32, 9, json_name: "firstColCollation"
|
460
|
+
optional :use_hash_table, :bool, 10, json_name: "useHashTable"
|
461
|
+
optional :unknown_eq_false, :bool, 11, json_name: "unknownEqFalse"
|
462
|
+
optional :parallel_safe, :bool, 12, json_name: "parallel_safe"
|
463
|
+
repeated :set_param, :message, 13, "pg_query.Node", json_name: "setParam"
|
464
|
+
repeated :par_param, :message, 14, "pg_query.Node", json_name: "parParam"
|
465
|
+
repeated :args, :message, 15, "pg_query.Node", json_name: "args"
|
466
|
+
optional :startup_cost, :double, 16, json_name: "startup_cost"
|
467
|
+
optional :per_call_cost, :double, 17, json_name: "per_call_cost"
|
468
468
|
end
|
469
469
|
add_message "pg_query.AlternativeSubPlan" do
|
470
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
471
|
-
repeated :subplans, :message, 2, "pg_query.Node"
|
470
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
471
|
+
repeated :subplans, :message, 2, "pg_query.Node", json_name: "subplans"
|
472
472
|
end
|
473
473
|
add_message "pg_query.FieldSelect" do
|
474
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
475
|
-
optional :arg, :message, 2, "pg_query.Node"
|
476
|
-
optional :fieldnum, :int32, 3
|
477
|
-
optional :resulttype, :uint32, 4
|
478
|
-
optional :resulttypmod, :int32, 5
|
479
|
-
optional :resultcollid, :uint32, 6
|
474
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
475
|
+
optional :arg, :message, 2, "pg_query.Node", json_name: "arg"
|
476
|
+
optional :fieldnum, :int32, 3, json_name: "fieldnum"
|
477
|
+
optional :resulttype, :uint32, 4, json_name: "resulttype"
|
478
|
+
optional :resulttypmod, :int32, 5, json_name: "resulttypmod"
|
479
|
+
optional :resultcollid, :uint32, 6, json_name: "resultcollid"
|
480
480
|
end
|
481
481
|
add_message "pg_query.FieldStore" do
|
482
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
483
|
-
optional :arg, :message, 2, "pg_query.Node"
|
484
|
-
repeated :newvals, :message, 3, "pg_query.Node"
|
485
|
-
repeated :fieldnums, :message, 4, "pg_query.Node"
|
486
|
-
optional :resulttype, :uint32, 5
|
482
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
483
|
+
optional :arg, :message, 2, "pg_query.Node", json_name: "arg"
|
484
|
+
repeated :newvals, :message, 3, "pg_query.Node", json_name: "newvals"
|
485
|
+
repeated :fieldnums, :message, 4, "pg_query.Node", json_name: "fieldnums"
|
486
|
+
optional :resulttype, :uint32, 5, json_name: "resulttype"
|
487
487
|
end
|
488
488
|
add_message "pg_query.RelabelType" do
|
489
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
490
|
-
optional :arg, :message, 2, "pg_query.Node"
|
491
|
-
optional :resulttype, :uint32, 3
|
492
|
-
optional :resulttypmod, :int32, 4
|
493
|
-
optional :resultcollid, :uint32, 5
|
494
|
-
optional :relabelformat, :enum, 6, "pg_query.CoercionForm"
|
495
|
-
optional :location, :int32, 7
|
489
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
490
|
+
optional :arg, :message, 2, "pg_query.Node", json_name: "arg"
|
491
|
+
optional :resulttype, :uint32, 3, json_name: "resulttype"
|
492
|
+
optional :resulttypmod, :int32, 4, json_name: "resulttypmod"
|
493
|
+
optional :resultcollid, :uint32, 5, json_name: "resultcollid"
|
494
|
+
optional :relabelformat, :enum, 6, "pg_query.CoercionForm", json_name: "relabelformat"
|
495
|
+
optional :location, :int32, 7, json_name: "location"
|
496
496
|
end
|
497
497
|
add_message "pg_query.CoerceViaIO" do
|
498
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
499
|
-
optional :arg, :message, 2, "pg_query.Node"
|
500
|
-
optional :resulttype, :uint32, 3
|
501
|
-
optional :resultcollid, :uint32, 4
|
502
|
-
optional :coerceformat, :enum, 5, "pg_query.CoercionForm"
|
503
|
-
optional :location, :int32, 6
|
498
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
499
|
+
optional :arg, :message, 2, "pg_query.Node", json_name: "arg"
|
500
|
+
optional :resulttype, :uint32, 3, json_name: "resulttype"
|
501
|
+
optional :resultcollid, :uint32, 4, json_name: "resultcollid"
|
502
|
+
optional :coerceformat, :enum, 5, "pg_query.CoercionForm", json_name: "coerceformat"
|
503
|
+
optional :location, :int32, 6, json_name: "location"
|
504
504
|
end
|
505
505
|
add_message "pg_query.ArrayCoerceExpr" do
|
506
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
507
|
-
optional :arg, :message, 2, "pg_query.Node"
|
508
|
-
optional :elemexpr, :message, 3, "pg_query.Node"
|
509
|
-
optional :resulttype, :uint32, 4
|
510
|
-
optional :resulttypmod, :int32, 5
|
511
|
-
optional :resultcollid, :uint32, 6
|
512
|
-
optional :coerceformat, :enum, 7, "pg_query.CoercionForm"
|
513
|
-
optional :location, :int32, 8
|
506
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
507
|
+
optional :arg, :message, 2, "pg_query.Node", json_name: "arg"
|
508
|
+
optional :elemexpr, :message, 3, "pg_query.Node", json_name: "elemexpr"
|
509
|
+
optional :resulttype, :uint32, 4, json_name: "resulttype"
|
510
|
+
optional :resulttypmod, :int32, 5, json_name: "resulttypmod"
|
511
|
+
optional :resultcollid, :uint32, 6, json_name: "resultcollid"
|
512
|
+
optional :coerceformat, :enum, 7, "pg_query.CoercionForm", json_name: "coerceformat"
|
513
|
+
optional :location, :int32, 8, json_name: "location"
|
514
514
|
end
|
515
515
|
add_message "pg_query.ConvertRowtypeExpr" do
|
516
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
517
|
-
optional :arg, :message, 2, "pg_query.Node"
|
518
|
-
optional :resulttype, :uint32, 3
|
519
|
-
optional :convertformat, :enum, 4, "pg_query.CoercionForm"
|
520
|
-
optional :location, :int32, 5
|
516
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
517
|
+
optional :arg, :message, 2, "pg_query.Node", json_name: "arg"
|
518
|
+
optional :resulttype, :uint32, 3, json_name: "resulttype"
|
519
|
+
optional :convertformat, :enum, 4, "pg_query.CoercionForm", json_name: "convertformat"
|
520
|
+
optional :location, :int32, 5, json_name: "location"
|
521
521
|
end
|
522
522
|
add_message "pg_query.CollateExpr" do
|
523
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
524
|
-
optional :arg, :message, 2, "pg_query.Node"
|
525
|
-
optional :coll_oid, :uint32, 3
|
526
|
-
optional :location, :int32, 4
|
523
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
524
|
+
optional :arg, :message, 2, "pg_query.Node", json_name: "arg"
|
525
|
+
optional :coll_oid, :uint32, 3, json_name: "collOid"
|
526
|
+
optional :location, :int32, 4, json_name: "location"
|
527
527
|
end
|
528
528
|
add_message "pg_query.CaseExpr" do
|
529
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
530
|
-
optional :casetype, :uint32, 2
|
531
|
-
optional :casecollid, :uint32, 3
|
532
|
-
optional :arg, :message, 4, "pg_query.Node"
|
533
|
-
repeated :args, :message, 5, "pg_query.Node"
|
534
|
-
optional :defresult, :message, 6, "pg_query.Node"
|
535
|
-
optional :location, :int32, 7
|
529
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
530
|
+
optional :casetype, :uint32, 2, json_name: "casetype"
|
531
|
+
optional :casecollid, :uint32, 3, json_name: "casecollid"
|
532
|
+
optional :arg, :message, 4, "pg_query.Node", json_name: "arg"
|
533
|
+
repeated :args, :message, 5, "pg_query.Node", json_name: "args"
|
534
|
+
optional :defresult, :message, 6, "pg_query.Node", json_name: "defresult"
|
535
|
+
optional :location, :int32, 7, json_name: "location"
|
536
536
|
end
|
537
537
|
add_message "pg_query.CaseWhen" do
|
538
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
539
|
-
optional :expr, :message, 2, "pg_query.Node"
|
540
|
-
optional :result, :message, 3, "pg_query.Node"
|
541
|
-
optional :location, :int32, 4
|
538
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
539
|
+
optional :expr, :message, 2, "pg_query.Node", json_name: "expr"
|
540
|
+
optional :result, :message, 3, "pg_query.Node", json_name: "result"
|
541
|
+
optional :location, :int32, 4, json_name: "location"
|
542
542
|
end
|
543
543
|
add_message "pg_query.CaseTestExpr" do
|
544
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
545
|
-
optional :type_id, :uint32, 2
|
546
|
-
optional :type_mod, :int32, 3
|
547
|
-
optional :collation, :uint32, 4
|
544
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
545
|
+
optional :type_id, :uint32, 2, json_name: "typeId"
|
546
|
+
optional :type_mod, :int32, 3, json_name: "typeMod"
|
547
|
+
optional :collation, :uint32, 4, json_name: "collation"
|
548
548
|
end
|
549
549
|
add_message "pg_query.ArrayExpr" do
|
550
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
551
|
-
optional :array_typeid, :uint32, 2
|
552
|
-
optional :array_collid, :uint32, 3
|
553
|
-
optional :element_typeid, :uint32, 4
|
554
|
-
repeated :elements, :message, 5, "pg_query.Node"
|
555
|
-
optional :multidims, :bool, 6
|
556
|
-
optional :location, :int32, 7
|
550
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
551
|
+
optional :array_typeid, :uint32, 2, json_name: "array_typeid"
|
552
|
+
optional :array_collid, :uint32, 3, json_name: "array_collid"
|
553
|
+
optional :element_typeid, :uint32, 4, json_name: "element_typeid"
|
554
|
+
repeated :elements, :message, 5, "pg_query.Node", json_name: "elements"
|
555
|
+
optional :multidims, :bool, 6, json_name: "multidims"
|
556
|
+
optional :location, :int32, 7, json_name: "location"
|
557
557
|
end
|
558
558
|
add_message "pg_query.RowExpr" do
|
559
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
560
|
-
repeated :args, :message, 2, "pg_query.Node"
|
561
|
-
optional :row_typeid, :uint32, 3
|
562
|
-
optional :row_format, :enum, 4, "pg_query.CoercionForm"
|
563
|
-
repeated :colnames, :message, 5, "pg_query.Node"
|
564
|
-
optional :location, :int32, 6
|
559
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
560
|
+
repeated :args, :message, 2, "pg_query.Node", json_name: "args"
|
561
|
+
optional :row_typeid, :uint32, 3, json_name: "row_typeid"
|
562
|
+
optional :row_format, :enum, 4, "pg_query.CoercionForm", json_name: "row_format"
|
563
|
+
repeated :colnames, :message, 5, "pg_query.Node", json_name: "colnames"
|
564
|
+
optional :location, :int32, 6, json_name: "location"
|
565
565
|
end
|
566
566
|
add_message "pg_query.RowCompareExpr" do
|
567
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
568
|
-
optional :rctype, :enum, 2, "pg_query.RowCompareType"
|
569
|
-
repeated :opnos, :message, 3, "pg_query.Node"
|
570
|
-
repeated :opfamilies, :message, 4, "pg_query.Node"
|
571
|
-
repeated :inputcollids, :message, 5, "pg_query.Node"
|
572
|
-
repeated :largs, :message, 6, "pg_query.Node"
|
573
|
-
repeated :rargs, :message, 7, "pg_query.Node"
|
567
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
568
|
+
optional :rctype, :enum, 2, "pg_query.RowCompareType", json_name: "rctype"
|
569
|
+
repeated :opnos, :message, 3, "pg_query.Node", json_name: "opnos"
|
570
|
+
repeated :opfamilies, :message, 4, "pg_query.Node", json_name: "opfamilies"
|
571
|
+
repeated :inputcollids, :message, 5, "pg_query.Node", json_name: "inputcollids"
|
572
|
+
repeated :largs, :message, 6, "pg_query.Node", json_name: "largs"
|
573
|
+
repeated :rargs, :message, 7, "pg_query.Node", json_name: "rargs"
|
574
574
|
end
|
575
575
|
add_message "pg_query.CoalesceExpr" do
|
576
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
577
|
-
optional :coalescetype, :uint32, 2
|
578
|
-
optional :coalescecollid, :uint32, 3
|
579
|
-
repeated :args, :message, 4, "pg_query.Node"
|
580
|
-
optional :location, :int32, 5
|
576
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
577
|
+
optional :coalescetype, :uint32, 2, json_name: "coalescetype"
|
578
|
+
optional :coalescecollid, :uint32, 3, json_name: "coalescecollid"
|
579
|
+
repeated :args, :message, 4, "pg_query.Node", json_name: "args"
|
580
|
+
optional :location, :int32, 5, json_name: "location"
|
581
581
|
end
|
582
582
|
add_message "pg_query.MinMaxExpr" do
|
583
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
584
|
-
optional :minmaxtype, :uint32, 2
|
585
|
-
optional :minmaxcollid, :uint32, 3
|
586
|
-
optional :inputcollid, :uint32, 4
|
587
|
-
optional :op, :enum, 5, "pg_query.MinMaxOp"
|
588
|
-
repeated :args, :message, 6, "pg_query.Node"
|
589
|
-
optional :location, :int32, 7
|
583
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
584
|
+
optional :minmaxtype, :uint32, 2, json_name: "minmaxtype"
|
585
|
+
optional :minmaxcollid, :uint32, 3, json_name: "minmaxcollid"
|
586
|
+
optional :inputcollid, :uint32, 4, json_name: "inputcollid"
|
587
|
+
optional :op, :enum, 5, "pg_query.MinMaxOp", json_name: "op"
|
588
|
+
repeated :args, :message, 6, "pg_query.Node", json_name: "args"
|
589
|
+
optional :location, :int32, 7, json_name: "location"
|
590
590
|
end
|
591
591
|
add_message "pg_query.SQLValueFunction" do
|
592
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
593
|
-
optional :op, :enum, 2, "pg_query.SQLValueFunctionOp"
|
594
|
-
optional :type, :uint32, 3
|
595
|
-
optional :typmod, :int32, 4
|
596
|
-
optional :location, :int32, 5
|
592
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
593
|
+
optional :op, :enum, 2, "pg_query.SQLValueFunctionOp", json_name: "op"
|
594
|
+
optional :type, :uint32, 3, json_name: "type"
|
595
|
+
optional :typmod, :int32, 4, json_name: "typmod"
|
596
|
+
optional :location, :int32, 5, json_name: "location"
|
597
597
|
end
|
598
598
|
add_message "pg_query.XmlExpr" do
|
599
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
600
|
-
optional :op, :enum, 2, "pg_query.XmlExprOp"
|
601
|
-
optional :name, :string, 3
|
602
|
-
repeated :named_args, :message, 4, "pg_query.Node"
|
603
|
-
repeated :arg_names, :message, 5, "pg_query.Node"
|
604
|
-
repeated :args, :message, 6, "pg_query.Node"
|
605
|
-
optional :xmloption, :enum, 7, "pg_query.XmlOptionType"
|
606
|
-
optional :type, :uint32, 8
|
607
|
-
optional :typmod, :int32, 9
|
608
|
-
optional :location, :int32, 10
|
599
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
600
|
+
optional :op, :enum, 2, "pg_query.XmlExprOp", json_name: "op"
|
601
|
+
optional :name, :string, 3, json_name: "name"
|
602
|
+
repeated :named_args, :message, 4, "pg_query.Node", json_name: "named_args"
|
603
|
+
repeated :arg_names, :message, 5, "pg_query.Node", json_name: "arg_names"
|
604
|
+
repeated :args, :message, 6, "pg_query.Node", json_name: "args"
|
605
|
+
optional :xmloption, :enum, 7, "pg_query.XmlOptionType", json_name: "xmloption"
|
606
|
+
optional :type, :uint32, 8, json_name: "type"
|
607
|
+
optional :typmod, :int32, 9, json_name: "typmod"
|
608
|
+
optional :location, :int32, 10, json_name: "location"
|
609
609
|
end
|
610
610
|
add_message "pg_query.NullTest" do
|
611
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
612
|
-
optional :arg, :message, 2, "pg_query.Node"
|
613
|
-
optional :nulltesttype, :enum, 3, "pg_query.NullTestType"
|
614
|
-
optional :argisrow, :bool, 4
|
615
|
-
optional :location, :int32, 5
|
611
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
612
|
+
optional :arg, :message, 2, "pg_query.Node", json_name: "arg"
|
613
|
+
optional :nulltesttype, :enum, 3, "pg_query.NullTestType", json_name: "nulltesttype"
|
614
|
+
optional :argisrow, :bool, 4, json_name: "argisrow"
|
615
|
+
optional :location, :int32, 5, json_name: "location"
|
616
616
|
end
|
617
617
|
add_message "pg_query.BooleanTest" do
|
618
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
619
|
-
optional :arg, :message, 2, "pg_query.Node"
|
620
|
-
optional :booltesttype, :enum, 3, "pg_query.BoolTestType"
|
621
|
-
optional :location, :int32, 4
|
618
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
619
|
+
optional :arg, :message, 2, "pg_query.Node", json_name: "arg"
|
620
|
+
optional :booltesttype, :enum, 3, "pg_query.BoolTestType", json_name: "booltesttype"
|
621
|
+
optional :location, :int32, 4, json_name: "location"
|
622
622
|
end
|
623
623
|
add_message "pg_query.CoerceToDomain" do
|
624
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
625
|
-
optional :arg, :message, 2, "pg_query.Node"
|
626
|
-
optional :resulttype, :uint32, 3
|
627
|
-
optional :resulttypmod, :int32, 4
|
628
|
-
optional :resultcollid, :uint32, 5
|
629
|
-
optional :coercionformat, :enum, 6, "pg_query.CoercionForm"
|
630
|
-
optional :location, :int32, 7
|
624
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
625
|
+
optional :arg, :message, 2, "pg_query.Node", json_name: "arg"
|
626
|
+
optional :resulttype, :uint32, 3, json_name: "resulttype"
|
627
|
+
optional :resulttypmod, :int32, 4, json_name: "resulttypmod"
|
628
|
+
optional :resultcollid, :uint32, 5, json_name: "resultcollid"
|
629
|
+
optional :coercionformat, :enum, 6, "pg_query.CoercionForm", json_name: "coercionformat"
|
630
|
+
optional :location, :int32, 7, json_name: "location"
|
631
631
|
end
|
632
632
|
add_message "pg_query.CoerceToDomainValue" do
|
633
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
634
|
-
optional :type_id, :uint32, 2
|
635
|
-
optional :type_mod, :int32, 3
|
636
|
-
optional :collation, :uint32, 4
|
637
|
-
optional :location, :int32, 5
|
633
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
634
|
+
optional :type_id, :uint32, 2, json_name: "typeId"
|
635
|
+
optional :type_mod, :int32, 3, json_name: "typeMod"
|
636
|
+
optional :collation, :uint32, 4, json_name: "collation"
|
637
|
+
optional :location, :int32, 5, json_name: "location"
|
638
638
|
end
|
639
639
|
add_message "pg_query.SetToDefault" do
|
640
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
641
|
-
optional :type_id, :uint32, 2
|
642
|
-
optional :type_mod, :int32, 3
|
643
|
-
optional :collation, :uint32, 4
|
644
|
-
optional :location, :int32, 5
|
640
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
641
|
+
optional :type_id, :uint32, 2, json_name: "typeId"
|
642
|
+
optional :type_mod, :int32, 3, json_name: "typeMod"
|
643
|
+
optional :collation, :uint32, 4, json_name: "collation"
|
644
|
+
optional :location, :int32, 5, json_name: "location"
|
645
645
|
end
|
646
646
|
add_message "pg_query.CurrentOfExpr" do
|
647
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
648
|
-
optional :cvarno, :uint32, 2
|
649
|
-
optional :cursor_name, :string, 3
|
650
|
-
optional :cursor_param, :int32, 4
|
647
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
648
|
+
optional :cvarno, :uint32, 2, json_name: "cvarno"
|
649
|
+
optional :cursor_name, :string, 3, json_name: "cursor_name"
|
650
|
+
optional :cursor_param, :int32, 4, json_name: "cursor_param"
|
651
651
|
end
|
652
652
|
add_message "pg_query.NextValueExpr" do
|
653
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
654
|
-
optional :seqid, :uint32, 2
|
655
|
-
optional :type_id, :uint32, 3
|
653
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
654
|
+
optional :seqid, :uint32, 2, json_name: "seqid"
|
655
|
+
optional :type_id, :uint32, 3, json_name: "typeId"
|
656
656
|
end
|
657
657
|
add_message "pg_query.InferenceElem" do
|
658
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
659
|
-
optional :expr, :message, 2, "pg_query.Node"
|
660
|
-
optional :infercollid, :uint32, 3
|
661
|
-
optional :inferopclass, :uint32, 4
|
658
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
659
|
+
optional :expr, :message, 2, "pg_query.Node", json_name: "expr"
|
660
|
+
optional :infercollid, :uint32, 3, json_name: "infercollid"
|
661
|
+
optional :inferopclass, :uint32, 4, json_name: "inferopclass"
|
662
662
|
end
|
663
663
|
add_message "pg_query.TargetEntry" do
|
664
|
-
optional :xpr, :message, 1, "pg_query.Node"
|
665
|
-
optional :expr, :message, 2, "pg_query.Node"
|
666
|
-
optional :resno, :int32, 3
|
667
|
-
optional :resname, :string, 4
|
668
|
-
optional :ressortgroupref, :uint32, 5
|
669
|
-
optional :resorigtbl, :uint32, 6
|
670
|
-
optional :resorigcol, :int32, 7
|
671
|
-
optional :resjunk, :bool, 8
|
664
|
+
optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
|
665
|
+
optional :expr, :message, 2, "pg_query.Node", json_name: "expr"
|
666
|
+
optional :resno, :int32, 3, json_name: "resno"
|
667
|
+
optional :resname, :string, 4, json_name: "resname"
|
668
|
+
optional :ressortgroupref, :uint32, 5, json_name: "ressortgroupref"
|
669
|
+
optional :resorigtbl, :uint32, 6, json_name: "resorigtbl"
|
670
|
+
optional :resorigcol, :int32, 7, json_name: "resorigcol"
|
671
|
+
optional :resjunk, :bool, 8, json_name: "resjunk"
|
672
672
|
end
|
673
673
|
add_message "pg_query.RangeTblRef" do
|
674
|
-
optional :rtindex, :int32, 1
|
674
|
+
optional :rtindex, :int32, 1, json_name: "rtindex"
|
675
675
|
end
|
676
676
|
add_message "pg_query.JoinExpr" do
|
677
|
-
optional :jointype, :enum, 1, "pg_query.JoinType"
|
678
|
-
optional :is_natural, :bool, 2
|
679
|
-
optional :larg, :message, 3, "pg_query.Node"
|
680
|
-
optional :rarg, :message, 4, "pg_query.Node"
|
681
|
-
repeated :using_clause, :message, 5, "pg_query.Node"
|
682
|
-
optional :quals, :message, 6, "pg_query.Node"
|
683
|
-
optional :alias, :message, 7, "pg_query.Alias"
|
684
|
-
optional :rtindex, :int32, 8
|
677
|
+
optional :jointype, :enum, 1, "pg_query.JoinType", json_name: "jointype"
|
678
|
+
optional :is_natural, :bool, 2, json_name: "isNatural"
|
679
|
+
optional :larg, :message, 3, "pg_query.Node", json_name: "larg"
|
680
|
+
optional :rarg, :message, 4, "pg_query.Node", json_name: "rarg"
|
681
|
+
repeated :using_clause, :message, 5, "pg_query.Node", json_name: "usingClause"
|
682
|
+
optional :quals, :message, 6, "pg_query.Node", json_name: "quals"
|
683
|
+
optional :alias, :message, 7, "pg_query.Alias", json_name: "alias"
|
684
|
+
optional :rtindex, :int32, 8, json_name: "rtindex"
|
685
685
|
end
|
686
686
|
add_message "pg_query.FromExpr" do
|
687
|
-
repeated :fromlist, :message, 1, "pg_query.Node"
|
688
|
-
optional :quals, :message, 2, "pg_query.Node"
|
687
|
+
repeated :fromlist, :message, 1, "pg_query.Node", json_name: "fromlist"
|
688
|
+
optional :quals, :message, 2, "pg_query.Node", json_name: "quals"
|
689
689
|
end
|
690
690
|
add_message "pg_query.OnConflictExpr" do
|
691
|
-
optional :action, :enum, 1, "pg_query.OnConflictAction"
|
692
|
-
repeated :arbiter_elems, :message, 2, "pg_query.Node"
|
693
|
-
optional :arbiter_where, :message, 3, "pg_query.Node"
|
694
|
-
optional :constraint, :uint32, 4
|
695
|
-
repeated :on_conflict_set, :message, 5, "pg_query.Node"
|
696
|
-
optional :on_conflict_where, :message, 6, "pg_query.Node"
|
697
|
-
optional :excl_rel_index, :int32, 7
|
698
|
-
repeated :excl_rel_tlist, :message, 8, "pg_query.Node"
|
691
|
+
optional :action, :enum, 1, "pg_query.OnConflictAction", json_name: "action"
|
692
|
+
repeated :arbiter_elems, :message, 2, "pg_query.Node", json_name: "arbiterElems"
|
693
|
+
optional :arbiter_where, :message, 3, "pg_query.Node", json_name: "arbiterWhere"
|
694
|
+
optional :constraint, :uint32, 4, json_name: "constraint"
|
695
|
+
repeated :on_conflict_set, :message, 5, "pg_query.Node", json_name: "onConflictSet"
|
696
|
+
optional :on_conflict_where, :message, 6, "pg_query.Node", json_name: "onConflictWhere"
|
697
|
+
optional :excl_rel_index, :int32, 7, json_name: "exclRelIndex"
|
698
|
+
repeated :excl_rel_tlist, :message, 8, "pg_query.Node", json_name: "exclRelTlist"
|
699
699
|
end
|
700
700
|
add_message "pg_query.IntoClause" do
|
701
|
-
optional :rel, :message, 1, "pg_query.RangeVar"
|
702
|
-
repeated :col_names, :message, 2, "pg_query.Node"
|
703
|
-
optional :access_method, :string, 3
|
704
|
-
repeated :options, :message, 4, "pg_query.Node"
|
705
|
-
optional :on_commit, :enum, 5, "pg_query.OnCommitAction"
|
706
|
-
optional :table_space_name, :string, 6
|
707
|
-
optional :view_query, :message, 7, "pg_query.Node"
|
708
|
-
optional :skip_data, :bool, 8
|
701
|
+
optional :rel, :message, 1, "pg_query.RangeVar", json_name: "rel"
|
702
|
+
repeated :col_names, :message, 2, "pg_query.Node", json_name: "colNames"
|
703
|
+
optional :access_method, :string, 3, json_name: "accessMethod"
|
704
|
+
repeated :options, :message, 4, "pg_query.Node", json_name: "options"
|
705
|
+
optional :on_commit, :enum, 5, "pg_query.OnCommitAction", json_name: "onCommit"
|
706
|
+
optional :table_space_name, :string, 6, json_name: "tableSpaceName"
|
707
|
+
optional :view_query, :message, 7, "pg_query.Node", json_name: "viewQuery"
|
708
|
+
optional :skip_data, :bool, 8, json_name: "skipData"
|
709
709
|
end
|
710
710
|
add_message "pg_query.RawStmt" do
|
711
|
-
optional :stmt, :message, 1, "pg_query.Node"
|
712
|
-
optional :stmt_location, :int32, 2
|
713
|
-
optional :stmt_len, :int32, 3
|
711
|
+
optional :stmt, :message, 1, "pg_query.Node", json_name: "stmt"
|
712
|
+
optional :stmt_location, :int32, 2, json_name: "stmt_location"
|
713
|
+
optional :stmt_len, :int32, 3, json_name: "stmt_len"
|
714
714
|
end
|
715
715
|
add_message "pg_query.Query" do
|
716
|
-
optional :command_type, :enum, 1, "pg_query.CmdType"
|
717
|
-
optional :query_source, :enum, 2, "pg_query.QuerySource"
|
718
|
-
optional :can_set_tag, :bool, 3
|
719
|
-
optional :utility_stmt, :message, 4, "pg_query.Node"
|
720
|
-
optional :result_relation, :int32, 5
|
721
|
-
optional :has_aggs, :bool, 6
|
722
|
-
optional :has_window_funcs, :bool, 7
|
723
|
-
optional :has_target_srfs, :bool, 8
|
724
|
-
optional :has_sub_links, :bool, 9
|
725
|
-
optional :has_distinct_on, :bool, 10
|
726
|
-
optional :has_recursive, :bool, 11
|
727
|
-
optional :has_modifying_cte, :bool, 12
|
728
|
-
optional :has_for_update, :bool, 13
|
729
|
-
optional :has_row_security, :bool, 14
|
730
|
-
repeated :cte_list, :message, 15, "pg_query.Node"
|
731
|
-
repeated :rtable, :message, 16, "pg_query.Node"
|
732
|
-
optional :jointree, :message, 17, "pg_query.FromExpr"
|
733
|
-
repeated :target_list, :message, 18, "pg_query.Node"
|
734
|
-
optional :override, :enum, 19, "pg_query.OverridingKind"
|
735
|
-
optional :on_conflict, :message, 20, "pg_query.OnConflictExpr"
|
736
|
-
repeated :returning_list, :message, 21, "pg_query.Node"
|
737
|
-
repeated :group_clause, :message, 22, "pg_query.Node"
|
738
|
-
repeated :grouping_sets, :message, 23, "pg_query.Node"
|
739
|
-
optional :having_qual, :message, 24, "pg_query.Node"
|
740
|
-
repeated :window_clause, :message, 25, "pg_query.Node"
|
741
|
-
repeated :distinct_clause, :message, 26, "pg_query.Node"
|
742
|
-
repeated :sort_clause, :message, 27, "pg_query.Node"
|
743
|
-
optional :limit_offset, :message, 28, "pg_query.Node"
|
744
|
-
optional :limit_count, :message, 29, "pg_query.Node"
|
745
|
-
optional :limit_option, :enum, 30, "pg_query.LimitOption"
|
746
|
-
repeated :row_marks, :message, 31, "pg_query.Node"
|
747
|
-
optional :set_operations, :message, 32, "pg_query.Node"
|
748
|
-
repeated :constraint_deps, :message, 33, "pg_query.Node"
|
749
|
-
repeated :with_check_options, :message, 34, "pg_query.Node"
|
750
|
-
optional :stmt_location, :int32, 35
|
751
|
-
optional :stmt_len, :int32, 36
|
716
|
+
optional :command_type, :enum, 1, "pg_query.CmdType", json_name: "commandType"
|
717
|
+
optional :query_source, :enum, 2, "pg_query.QuerySource", json_name: "querySource"
|
718
|
+
optional :can_set_tag, :bool, 3, json_name: "canSetTag"
|
719
|
+
optional :utility_stmt, :message, 4, "pg_query.Node", json_name: "utilityStmt"
|
720
|
+
optional :result_relation, :int32, 5, json_name: "resultRelation"
|
721
|
+
optional :has_aggs, :bool, 6, json_name: "hasAggs"
|
722
|
+
optional :has_window_funcs, :bool, 7, json_name: "hasWindowFuncs"
|
723
|
+
optional :has_target_srfs, :bool, 8, json_name: "hasTargetSRFs"
|
724
|
+
optional :has_sub_links, :bool, 9, json_name: "hasSubLinks"
|
725
|
+
optional :has_distinct_on, :bool, 10, json_name: "hasDistinctOn"
|
726
|
+
optional :has_recursive, :bool, 11, json_name: "hasRecursive"
|
727
|
+
optional :has_modifying_cte, :bool, 12, json_name: "hasModifyingCTE"
|
728
|
+
optional :has_for_update, :bool, 13, json_name: "hasForUpdate"
|
729
|
+
optional :has_row_security, :bool, 14, json_name: "hasRowSecurity"
|
730
|
+
repeated :cte_list, :message, 15, "pg_query.Node", json_name: "cteList"
|
731
|
+
repeated :rtable, :message, 16, "pg_query.Node", json_name: "rtable"
|
732
|
+
optional :jointree, :message, 17, "pg_query.FromExpr", json_name: "jointree"
|
733
|
+
repeated :target_list, :message, 18, "pg_query.Node", json_name: "targetList"
|
734
|
+
optional :override, :enum, 19, "pg_query.OverridingKind", json_name: "override"
|
735
|
+
optional :on_conflict, :message, 20, "pg_query.OnConflictExpr", json_name: "onConflict"
|
736
|
+
repeated :returning_list, :message, 21, "pg_query.Node", json_name: "returningList"
|
737
|
+
repeated :group_clause, :message, 22, "pg_query.Node", json_name: "groupClause"
|
738
|
+
repeated :grouping_sets, :message, 23, "pg_query.Node", json_name: "groupingSets"
|
739
|
+
optional :having_qual, :message, 24, "pg_query.Node", json_name: "havingQual"
|
740
|
+
repeated :window_clause, :message, 25, "pg_query.Node", json_name: "windowClause"
|
741
|
+
repeated :distinct_clause, :message, 26, "pg_query.Node", json_name: "distinctClause"
|
742
|
+
repeated :sort_clause, :message, 27, "pg_query.Node", json_name: "sortClause"
|
743
|
+
optional :limit_offset, :message, 28, "pg_query.Node", json_name: "limitOffset"
|
744
|
+
optional :limit_count, :message, 29, "pg_query.Node", json_name: "limitCount"
|
745
|
+
optional :limit_option, :enum, 30, "pg_query.LimitOption", json_name: "limitOption"
|
746
|
+
repeated :row_marks, :message, 31, "pg_query.Node", json_name: "rowMarks"
|
747
|
+
optional :set_operations, :message, 32, "pg_query.Node", json_name: "setOperations"
|
748
|
+
repeated :constraint_deps, :message, 33, "pg_query.Node", json_name: "constraintDeps"
|
749
|
+
repeated :with_check_options, :message, 34, "pg_query.Node", json_name: "withCheckOptions"
|
750
|
+
optional :stmt_location, :int32, 35, json_name: "stmt_location"
|
751
|
+
optional :stmt_len, :int32, 36, json_name: "stmt_len"
|
752
752
|
end
|
753
753
|
add_message "pg_query.InsertStmt" do
|
754
|
-
optional :relation, :message, 1, "pg_query.RangeVar"
|
755
|
-
repeated :cols, :message, 2, "pg_query.Node"
|
756
|
-
optional :select_stmt, :message, 3, "pg_query.Node"
|
757
|
-
optional :on_conflict_clause, :message, 4, "pg_query.OnConflictClause"
|
758
|
-
repeated :returning_list, :message, 5, "pg_query.Node"
|
759
|
-
optional :with_clause, :message, 6, "pg_query.WithClause"
|
760
|
-
optional :override, :enum, 7, "pg_query.OverridingKind"
|
754
|
+
optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
|
755
|
+
repeated :cols, :message, 2, "pg_query.Node", json_name: "cols"
|
756
|
+
optional :select_stmt, :message, 3, "pg_query.Node", json_name: "selectStmt"
|
757
|
+
optional :on_conflict_clause, :message, 4, "pg_query.OnConflictClause", json_name: "onConflictClause"
|
758
|
+
repeated :returning_list, :message, 5, "pg_query.Node", json_name: "returningList"
|
759
|
+
optional :with_clause, :message, 6, "pg_query.WithClause", json_name: "withClause"
|
760
|
+
optional :override, :enum, 7, "pg_query.OverridingKind", json_name: "override"
|
761
761
|
end
|
762
762
|
add_message "pg_query.DeleteStmt" do
|
763
|
-
optional :relation, :message, 1, "pg_query.RangeVar"
|
764
|
-
repeated :using_clause, :message, 2, "pg_query.Node"
|
765
|
-
optional :where_clause, :message, 3, "pg_query.Node"
|
766
|
-
repeated :returning_list, :message, 4, "pg_query.Node"
|
767
|
-
optional :with_clause, :message, 5, "pg_query.WithClause"
|
763
|
+
optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
|
764
|
+
repeated :using_clause, :message, 2, "pg_query.Node", json_name: "usingClause"
|
765
|
+
optional :where_clause, :message, 3, "pg_query.Node", json_name: "whereClause"
|
766
|
+
repeated :returning_list, :message, 4, "pg_query.Node", json_name: "returningList"
|
767
|
+
optional :with_clause, :message, 5, "pg_query.WithClause", json_name: "withClause"
|
768
768
|
end
|
769
769
|
add_message "pg_query.UpdateStmt" do
|
770
|
-
optional :relation, :message, 1, "pg_query.RangeVar"
|
771
|
-
repeated :target_list, :message, 2, "pg_query.Node"
|
772
|
-
optional :where_clause, :message, 3, "pg_query.Node"
|
773
|
-
repeated :from_clause, :message, 4, "pg_query.Node"
|
774
|
-
repeated :returning_list, :message, 5, "pg_query.Node"
|
775
|
-
optional :with_clause, :message, 6, "pg_query.WithClause"
|
770
|
+
optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
|
771
|
+
repeated :target_list, :message, 2, "pg_query.Node", json_name: "targetList"
|
772
|
+
optional :where_clause, :message, 3, "pg_query.Node", json_name: "whereClause"
|
773
|
+
repeated :from_clause, :message, 4, "pg_query.Node", json_name: "fromClause"
|
774
|
+
repeated :returning_list, :message, 5, "pg_query.Node", json_name: "returningList"
|
775
|
+
optional :with_clause, :message, 6, "pg_query.WithClause", json_name: "withClause"
|
776
776
|
end
|
777
777
|
add_message "pg_query.SelectStmt" do
|
778
|
-
repeated :distinct_clause, :message, 1, "pg_query.Node"
|
779
|
-
optional :into_clause, :message, 2, "pg_query.IntoClause"
|
780
|
-
repeated :target_list, :message, 3, "pg_query.Node"
|
781
|
-
repeated :from_clause, :message, 4, "pg_query.Node"
|
782
|
-
optional :where_clause, :message, 5, "pg_query.Node"
|
783
|
-
repeated :group_clause, :message, 6, "pg_query.Node"
|
784
|
-
optional :having_clause, :message, 7, "pg_query.Node"
|
785
|
-
repeated :window_clause, :message, 8, "pg_query.Node"
|
786
|
-
repeated :values_lists, :message, 9, "pg_query.Node"
|
787
|
-
repeated :sort_clause, :message, 10, "pg_query.Node"
|
788
|
-
optional :limit_offset, :message, 11, "pg_query.Node"
|
789
|
-
optional :limit_count, :message, 12, "pg_query.Node"
|
790
|
-
optional :limit_option, :enum, 13, "pg_query.LimitOption"
|
791
|
-
repeated :locking_clause, :message, 14, "pg_query.Node"
|
792
|
-
optional :with_clause, :message, 15, "pg_query.WithClause"
|
793
|
-
optional :op, :enum, 16, "pg_query.SetOperation"
|
794
|
-
optional :all, :bool, 17
|
795
|
-
optional :larg, :message, 18, "pg_query.SelectStmt"
|
796
|
-
optional :rarg, :message, 19, "pg_query.SelectStmt"
|
778
|
+
repeated :distinct_clause, :message, 1, "pg_query.Node", json_name: "distinctClause"
|
779
|
+
optional :into_clause, :message, 2, "pg_query.IntoClause", json_name: "intoClause"
|
780
|
+
repeated :target_list, :message, 3, "pg_query.Node", json_name: "targetList"
|
781
|
+
repeated :from_clause, :message, 4, "pg_query.Node", json_name: "fromClause"
|
782
|
+
optional :where_clause, :message, 5, "pg_query.Node", json_name: "whereClause"
|
783
|
+
repeated :group_clause, :message, 6, "pg_query.Node", json_name: "groupClause"
|
784
|
+
optional :having_clause, :message, 7, "pg_query.Node", json_name: "havingClause"
|
785
|
+
repeated :window_clause, :message, 8, "pg_query.Node", json_name: "windowClause"
|
786
|
+
repeated :values_lists, :message, 9, "pg_query.Node", json_name: "valuesLists"
|
787
|
+
repeated :sort_clause, :message, 10, "pg_query.Node", json_name: "sortClause"
|
788
|
+
optional :limit_offset, :message, 11, "pg_query.Node", json_name: "limitOffset"
|
789
|
+
optional :limit_count, :message, 12, "pg_query.Node", json_name: "limitCount"
|
790
|
+
optional :limit_option, :enum, 13, "pg_query.LimitOption", json_name: "limitOption"
|
791
|
+
repeated :locking_clause, :message, 14, "pg_query.Node", json_name: "lockingClause"
|
792
|
+
optional :with_clause, :message, 15, "pg_query.WithClause", json_name: "withClause"
|
793
|
+
optional :op, :enum, 16, "pg_query.SetOperation", json_name: "op"
|
794
|
+
optional :all, :bool, 17, json_name: "all"
|
795
|
+
optional :larg, :message, 18, "pg_query.SelectStmt", json_name: "larg"
|
796
|
+
optional :rarg, :message, 19, "pg_query.SelectStmt", json_name: "rarg"
|
797
797
|
end
|
798
798
|
add_message "pg_query.AlterTableStmt" do
|
799
|
-
optional :relation, :message, 1, "pg_query.RangeVar"
|
800
|
-
repeated :cmds, :message, 2, "pg_query.Node"
|
801
|
-
optional :relkind, :enum, 3, "pg_query.ObjectType"
|
802
|
-
optional :missing_ok, :bool, 4
|
799
|
+
optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
|
800
|
+
repeated :cmds, :message, 2, "pg_query.Node", json_name: "cmds"
|
801
|
+
optional :relkind, :enum, 3, "pg_query.ObjectType", json_name: "relkind"
|
802
|
+
optional :missing_ok, :bool, 4, json_name: "missing_ok"
|
803
803
|
end
|
804
804
|
add_message "pg_query.AlterTableCmd" do
|
805
|
-
optional :subtype, :enum, 1, "pg_query.AlterTableType"
|
806
|
-
optional :name, :string, 2
|
807
|
-
optional :num, :int32, 3
|
808
|
-
optional :newowner, :message, 4, "pg_query.RoleSpec"
|
809
|
-
optional :def, :message, 5, "pg_query.Node"
|
810
|
-
optional :behavior, :enum, 6, "pg_query.DropBehavior"
|
811
|
-
optional :missing_ok, :bool, 7
|
805
|
+
optional :subtype, :enum, 1, "pg_query.AlterTableType", json_name: "subtype"
|
806
|
+
optional :name, :string, 2, json_name: "name"
|
807
|
+
optional :num, :int32, 3, json_name: "num"
|
808
|
+
optional :newowner, :message, 4, "pg_query.RoleSpec", json_name: "newowner"
|
809
|
+
optional :def, :message, 5, "pg_query.Node", json_name: "def"
|
810
|
+
optional :behavior, :enum, 6, "pg_query.DropBehavior", json_name: "behavior"
|
811
|
+
optional :missing_ok, :bool, 7, json_name: "missing_ok"
|
812
812
|
end
|
813
813
|
add_message "pg_query.AlterDomainStmt" do
|
814
|
-
optional :subtype, :string, 1
|
815
|
-
repeated :type_name, :message, 2, "pg_query.Node"
|
816
|
-
optional :name, :string, 3
|
817
|
-
optional :def, :message, 4, "pg_query.Node"
|
818
|
-
optional :behavior, :enum, 5, "pg_query.DropBehavior"
|
819
|
-
optional :missing_ok, :bool, 6
|
814
|
+
optional :subtype, :string, 1, json_name: "subtype"
|
815
|
+
repeated :type_name, :message, 2, "pg_query.Node", json_name: "typeName"
|
816
|
+
optional :name, :string, 3, json_name: "name"
|
817
|
+
optional :def, :message, 4, "pg_query.Node", json_name: "def"
|
818
|
+
optional :behavior, :enum, 5, "pg_query.DropBehavior", json_name: "behavior"
|
819
|
+
optional :missing_ok, :bool, 6, json_name: "missing_ok"
|
820
820
|
end
|
821
821
|
add_message "pg_query.SetOperationStmt" do
|
822
|
-
optional :op, :enum, 1, "pg_query.SetOperation"
|
823
|
-
optional :all, :bool, 2
|
824
|
-
optional :larg, :message, 3, "pg_query.Node"
|
825
|
-
optional :rarg, :message, 4, "pg_query.Node"
|
826
|
-
repeated :col_types, :message, 5, "pg_query.Node"
|
827
|
-
repeated :col_typmods, :message, 6, "pg_query.Node"
|
828
|
-
repeated :col_collations, :message, 7, "pg_query.Node"
|
829
|
-
repeated :group_clauses, :message, 8, "pg_query.Node"
|
822
|
+
optional :op, :enum, 1, "pg_query.SetOperation", json_name: "op"
|
823
|
+
optional :all, :bool, 2, json_name: "all"
|
824
|
+
optional :larg, :message, 3, "pg_query.Node", json_name: "larg"
|
825
|
+
optional :rarg, :message, 4, "pg_query.Node", json_name: "rarg"
|
826
|
+
repeated :col_types, :message, 5, "pg_query.Node", json_name: "colTypes"
|
827
|
+
repeated :col_typmods, :message, 6, "pg_query.Node", json_name: "colTypmods"
|
828
|
+
repeated :col_collations, :message, 7, "pg_query.Node", json_name: "colCollations"
|
829
|
+
repeated :group_clauses, :message, 8, "pg_query.Node", json_name: "groupClauses"
|
830
830
|
end
|
831
831
|
add_message "pg_query.GrantStmt" do
|
832
|
-
optional :is_grant, :bool, 1
|
833
|
-
optional :targtype, :enum, 2, "pg_query.GrantTargetType"
|
834
|
-
optional :objtype, :enum, 3, "pg_query.ObjectType"
|
835
|
-
repeated :objects, :message, 4, "pg_query.Node"
|
836
|
-
repeated :privileges, :message, 5, "pg_query.Node"
|
837
|
-
repeated :grantees, :message, 6, "pg_query.Node"
|
838
|
-
optional :grant_option, :bool, 7
|
839
|
-
optional :behavior, :enum, 8, "pg_query.DropBehavior"
|
832
|
+
optional :is_grant, :bool, 1, json_name: "is_grant"
|
833
|
+
optional :targtype, :enum, 2, "pg_query.GrantTargetType", json_name: "targtype"
|
834
|
+
optional :objtype, :enum, 3, "pg_query.ObjectType", json_name: "objtype"
|
835
|
+
repeated :objects, :message, 4, "pg_query.Node", json_name: "objects"
|
836
|
+
repeated :privileges, :message, 5, "pg_query.Node", json_name: "privileges"
|
837
|
+
repeated :grantees, :message, 6, "pg_query.Node", json_name: "grantees"
|
838
|
+
optional :grant_option, :bool, 7, json_name: "grant_option"
|
839
|
+
optional :behavior, :enum, 8, "pg_query.DropBehavior", json_name: "behavior"
|
840
840
|
end
|
841
841
|
add_message "pg_query.GrantRoleStmt" do
|
842
|
-
repeated :granted_roles, :message, 1, "pg_query.Node"
|
843
|
-
repeated :grantee_roles, :message, 2, "pg_query.Node"
|
844
|
-
optional :is_grant, :bool, 3
|
845
|
-
optional :admin_opt, :bool, 4
|
846
|
-
optional :grantor, :message, 5, "pg_query.RoleSpec"
|
847
|
-
optional :behavior, :enum, 6, "pg_query.DropBehavior"
|
842
|
+
repeated :granted_roles, :message, 1, "pg_query.Node", json_name: "granted_roles"
|
843
|
+
repeated :grantee_roles, :message, 2, "pg_query.Node", json_name: "grantee_roles"
|
844
|
+
optional :is_grant, :bool, 3, json_name: "is_grant"
|
845
|
+
optional :admin_opt, :bool, 4, json_name: "admin_opt"
|
846
|
+
optional :grantor, :message, 5, "pg_query.RoleSpec", json_name: "grantor"
|
847
|
+
optional :behavior, :enum, 6, "pg_query.DropBehavior", json_name: "behavior"
|
848
848
|
end
|
849
849
|
add_message "pg_query.AlterDefaultPrivilegesStmt" do
|
850
|
-
repeated :options, :message, 1, "pg_query.Node"
|
851
|
-
optional :action, :message, 2, "pg_query.GrantStmt"
|
850
|
+
repeated :options, :message, 1, "pg_query.Node", json_name: "options"
|
851
|
+
optional :action, :message, 2, "pg_query.GrantStmt", json_name: "action"
|
852
852
|
end
|
853
853
|
add_message "pg_query.ClosePortalStmt" do
|
854
|
-
optional :portalname, :string, 1
|
854
|
+
optional :portalname, :string, 1, json_name: "portalname"
|
855
855
|
end
|
856
856
|
add_message "pg_query.ClusterStmt" do
|
857
|
-
optional :relation, :message, 1, "pg_query.RangeVar"
|
858
|
-
optional :indexname, :string, 2
|
859
|
-
optional :options, :int32, 3
|
857
|
+
optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
|
858
|
+
optional :indexname, :string, 2, json_name: "indexname"
|
859
|
+
optional :options, :int32, 3, json_name: "options"
|
860
860
|
end
|
861
861
|
add_message "pg_query.CopyStmt" do
|
862
|
-
optional :relation, :message, 1, "pg_query.RangeVar"
|
863
|
-
optional :query, :message, 2, "pg_query.Node"
|
864
|
-
repeated :attlist, :message, 3, "pg_query.Node"
|
865
|
-
optional :is_from, :bool, 4
|
866
|
-
optional :is_program, :bool, 5
|
867
|
-
optional :filename, :string, 6
|
868
|
-
repeated :options, :message, 7, "pg_query.Node"
|
869
|
-
optional :where_clause, :message, 8, "pg_query.Node"
|
862
|
+
optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
|
863
|
+
optional :query, :message, 2, "pg_query.Node", json_name: "query"
|
864
|
+
repeated :attlist, :message, 3, "pg_query.Node", json_name: "attlist"
|
865
|
+
optional :is_from, :bool, 4, json_name: "is_from"
|
866
|
+
optional :is_program, :bool, 5, json_name: "is_program"
|
867
|
+
optional :filename, :string, 6, json_name: "filename"
|
868
|
+
repeated :options, :message, 7, "pg_query.Node", json_name: "options"
|
869
|
+
optional :where_clause, :message, 8, "pg_query.Node", json_name: "whereClause"
|
870
870
|
end
|
871
871
|
add_message "pg_query.CreateStmt" do
|
872
|
-
optional :relation, :message, 1, "pg_query.RangeVar"
|
873
|
-
repeated :table_elts, :message, 2, "pg_query.Node"
|
874
|
-
repeated :inh_relations, :message, 3, "pg_query.Node"
|
875
|
-
optional :partbound, :message, 4, "pg_query.PartitionBoundSpec"
|
876
|
-
optional :partspec, :message, 5, "pg_query.PartitionSpec"
|
877
|
-
optional :of_typename, :message, 6, "pg_query.TypeName"
|
878
|
-
repeated :constraints, :message, 7, "pg_query.Node"
|
879
|
-
repeated :options, :message, 8, "pg_query.Node"
|
880
|
-
optional :oncommit, :enum, 9, "pg_query.OnCommitAction"
|
881
|
-
optional :tablespacename, :string, 10
|
882
|
-
optional :access_method, :string, 11
|
883
|
-
optional :if_not_exists, :bool, 12
|
872
|
+
optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
|
873
|
+
repeated :table_elts, :message, 2, "pg_query.Node", json_name: "tableElts"
|
874
|
+
repeated :inh_relations, :message, 3, "pg_query.Node", json_name: "inhRelations"
|
875
|
+
optional :partbound, :message, 4, "pg_query.PartitionBoundSpec", json_name: "partbound"
|
876
|
+
optional :partspec, :message, 5, "pg_query.PartitionSpec", json_name: "partspec"
|
877
|
+
optional :of_typename, :message, 6, "pg_query.TypeName", json_name: "ofTypename"
|
878
|
+
repeated :constraints, :message, 7, "pg_query.Node", json_name: "constraints"
|
879
|
+
repeated :options, :message, 8, "pg_query.Node", json_name: "options"
|
880
|
+
optional :oncommit, :enum, 9, "pg_query.OnCommitAction", json_name: "oncommit"
|
881
|
+
optional :tablespacename, :string, 10, json_name: "tablespacename"
|
882
|
+
optional :access_method, :string, 11, json_name: "accessMethod"
|
883
|
+
optional :if_not_exists, :bool, 12, json_name: "if_not_exists"
|
884
884
|
end
|
885
885
|
add_message "pg_query.DefineStmt" do
|
886
|
-
optional :kind, :enum, 1, "pg_query.ObjectType"
|
887
|
-
optional :oldstyle, :bool, 2
|
888
|
-
repeated :defnames, :message, 3, "pg_query.Node"
|
889
|
-
repeated :args, :message, 4, "pg_query.Node"
|
890
|
-
repeated :definition, :message, 5, "pg_query.Node"
|
891
|
-
optional :if_not_exists, :bool, 6
|
892
|
-
optional :replace, :bool, 7
|
886
|
+
optional :kind, :enum, 1, "pg_query.ObjectType", json_name: "kind"
|
887
|
+
optional :oldstyle, :bool, 2, json_name: "oldstyle"
|
888
|
+
repeated :defnames, :message, 3, "pg_query.Node", json_name: "defnames"
|
889
|
+
repeated :args, :message, 4, "pg_query.Node", json_name: "args"
|
890
|
+
repeated :definition, :message, 5, "pg_query.Node", json_name: "definition"
|
891
|
+
optional :if_not_exists, :bool, 6, json_name: "if_not_exists"
|
892
|
+
optional :replace, :bool, 7, json_name: "replace"
|
893
893
|
end
|
894
894
|
add_message "pg_query.DropStmt" do
|
895
|
-
repeated :objects, :message, 1, "pg_query.Node"
|
896
|
-
optional :remove_type, :enum, 2, "pg_query.ObjectType"
|
897
|
-
optional :behavior, :enum, 3, "pg_query.DropBehavior"
|
898
|
-
optional :missing_ok, :bool, 4
|
899
|
-
optional :concurrent, :bool, 5
|
895
|
+
repeated :objects, :message, 1, "pg_query.Node", json_name: "objects"
|
896
|
+
optional :remove_type, :enum, 2, "pg_query.ObjectType", json_name: "removeType"
|
897
|
+
optional :behavior, :enum, 3, "pg_query.DropBehavior", json_name: "behavior"
|
898
|
+
optional :missing_ok, :bool, 4, json_name: "missing_ok"
|
899
|
+
optional :concurrent, :bool, 5, json_name: "concurrent"
|
900
900
|
end
|
901
901
|
add_message "pg_query.TruncateStmt" do
|
902
|
-
repeated :relations, :message, 1, "pg_query.Node"
|
903
|
-
optional :restart_seqs, :bool, 2
|
904
|
-
optional :behavior, :enum, 3, "pg_query.DropBehavior"
|
902
|
+
repeated :relations, :message, 1, "pg_query.Node", json_name: "relations"
|
903
|
+
optional :restart_seqs, :bool, 2, json_name: "restart_seqs"
|
904
|
+
optional :behavior, :enum, 3, "pg_query.DropBehavior", json_name: "behavior"
|
905
905
|
end
|
906
906
|
add_message "pg_query.CommentStmt" do
|
907
|
-
optional :objtype, :enum, 1, "pg_query.ObjectType"
|
908
|
-
optional :object, :message, 2, "pg_query.Node"
|
909
|
-
optional :comment, :string, 3
|
907
|
+
optional :objtype, :enum, 1, "pg_query.ObjectType", json_name: "objtype"
|
908
|
+
optional :object, :message, 2, "pg_query.Node", json_name: "object"
|
909
|
+
optional :comment, :string, 3, json_name: "comment"
|
910
910
|
end
|
911
911
|
add_message "pg_query.FetchStmt" do
|
912
|
-
optional :direction, :enum, 1, "pg_query.FetchDirection"
|
913
|
-
optional :how_many, :int64, 2
|
914
|
-
optional :portalname, :string, 3
|
915
|
-
optional :ismove, :bool, 4
|
912
|
+
optional :direction, :enum, 1, "pg_query.FetchDirection", json_name: "direction"
|
913
|
+
optional :how_many, :int64, 2, json_name: "howMany"
|
914
|
+
optional :portalname, :string, 3, json_name: "portalname"
|
915
|
+
optional :ismove, :bool, 4, json_name: "ismove"
|
916
916
|
end
|
917
917
|
add_message "pg_query.IndexStmt" do
|
918
|
-
optional :idxname, :string, 1
|
919
|
-
optional :relation, :message, 2, "pg_query.RangeVar"
|
920
|
-
optional :access_method, :string, 3
|
921
|
-
optional :table_space, :string, 4
|
922
|
-
repeated :index_params, :message, 5, "pg_query.Node"
|
923
|
-
repeated :index_including_params, :message, 6, "pg_query.Node"
|
924
|
-
repeated :options, :message, 7, "pg_query.Node"
|
925
|
-
optional :where_clause, :message, 8, "pg_query.Node"
|
926
|
-
repeated :exclude_op_names, :message, 9, "pg_query.Node"
|
927
|
-
optional :idxcomment, :string, 10
|
928
|
-
optional :index_oid, :uint32, 11
|
929
|
-
optional :old_node, :uint32, 12
|
930
|
-
optional :old_create_subid, :uint32, 13
|
931
|
-
optional :old_first_relfilenode_subid, :uint32, 14
|
932
|
-
optional :unique, :bool, 15
|
933
|
-
optional :primary, :bool, 16
|
934
|
-
optional :isconstraint, :bool, 17
|
935
|
-
optional :deferrable, :bool, 18
|
936
|
-
optional :initdeferred, :bool, 19
|
937
|
-
optional :transformed, :bool, 20
|
938
|
-
optional :concurrent, :bool, 21
|
939
|
-
optional :if_not_exists, :bool, 22
|
940
|
-
optional :reset_default_tblspc, :bool, 23
|
918
|
+
optional :idxname, :string, 1, json_name: "idxname"
|
919
|
+
optional :relation, :message, 2, "pg_query.RangeVar", json_name: "relation"
|
920
|
+
optional :access_method, :string, 3, json_name: "accessMethod"
|
921
|
+
optional :table_space, :string, 4, json_name: "tableSpace"
|
922
|
+
repeated :index_params, :message, 5, "pg_query.Node", json_name: "indexParams"
|
923
|
+
repeated :index_including_params, :message, 6, "pg_query.Node", json_name: "indexIncludingParams"
|
924
|
+
repeated :options, :message, 7, "pg_query.Node", json_name: "options"
|
925
|
+
optional :where_clause, :message, 8, "pg_query.Node", json_name: "whereClause"
|
926
|
+
repeated :exclude_op_names, :message, 9, "pg_query.Node", json_name: "excludeOpNames"
|
927
|
+
optional :idxcomment, :string, 10, json_name: "idxcomment"
|
928
|
+
optional :index_oid, :uint32, 11, json_name: "indexOid"
|
929
|
+
optional :old_node, :uint32, 12, json_name: "oldNode"
|
930
|
+
optional :old_create_subid, :uint32, 13, json_name: "oldCreateSubid"
|
931
|
+
optional :old_first_relfilenode_subid, :uint32, 14, json_name: "oldFirstRelfilenodeSubid"
|
932
|
+
optional :unique, :bool, 15, json_name: "unique"
|
933
|
+
optional :primary, :bool, 16, json_name: "primary"
|
934
|
+
optional :isconstraint, :bool, 17, json_name: "isconstraint"
|
935
|
+
optional :deferrable, :bool, 18, json_name: "deferrable"
|
936
|
+
optional :initdeferred, :bool, 19, json_name: "initdeferred"
|
937
|
+
optional :transformed, :bool, 20, json_name: "transformed"
|
938
|
+
optional :concurrent, :bool, 21, json_name: "concurrent"
|
939
|
+
optional :if_not_exists, :bool, 22, json_name: "if_not_exists"
|
940
|
+
optional :reset_default_tblspc, :bool, 23, json_name: "reset_default_tblspc"
|
941
941
|
end
|
942
942
|
add_message "pg_query.CreateFunctionStmt" do
|
943
|
-
optional :is_procedure, :bool, 1
|
944
|
-
optional :replace, :bool, 2
|
945
|
-
repeated :funcname, :message, 3, "pg_query.Node"
|
946
|
-
repeated :parameters, :message, 4, "pg_query.Node"
|
947
|
-
optional :return_type, :message, 5, "pg_query.TypeName"
|
948
|
-
repeated :options, :message, 6, "pg_query.Node"
|
943
|
+
optional :is_procedure, :bool, 1, json_name: "is_procedure"
|
944
|
+
optional :replace, :bool, 2, json_name: "replace"
|
945
|
+
repeated :funcname, :message, 3, "pg_query.Node", json_name: "funcname"
|
946
|
+
repeated :parameters, :message, 4, "pg_query.Node", json_name: "parameters"
|
947
|
+
optional :return_type, :message, 5, "pg_query.TypeName", json_name: "returnType"
|
948
|
+
repeated :options, :message, 6, "pg_query.Node", json_name: "options"
|
949
949
|
end
|
950
950
|
add_message "pg_query.AlterFunctionStmt" do
|
951
|
-
optional :objtype, :enum, 1, "pg_query.ObjectType"
|
952
|
-
optional :func, :message, 2, "pg_query.ObjectWithArgs"
|
953
|
-
repeated :actions, :message, 3, "pg_query.Node"
|
951
|
+
optional :objtype, :enum, 1, "pg_query.ObjectType", json_name: "objtype"
|
952
|
+
optional :func, :message, 2, "pg_query.ObjectWithArgs", json_name: "func"
|
953
|
+
repeated :actions, :message, 3, "pg_query.Node", json_name: "actions"
|
954
954
|
end
|
955
955
|
add_message "pg_query.DoStmt" do
|
956
|
-
repeated :args, :message, 1, "pg_query.Node"
|
956
|
+
repeated :args, :message, 1, "pg_query.Node", json_name: "args"
|
957
957
|
end
|
958
958
|
add_message "pg_query.RenameStmt" do
|
959
|
-
optional :rename_type, :enum, 1, "pg_query.ObjectType"
|
960
|
-
optional :relation_type, :enum, 2, "pg_query.ObjectType"
|
961
|
-
optional :relation, :message, 3, "pg_query.RangeVar"
|
962
|
-
optional :object, :message, 4, "pg_query.Node"
|
963
|
-
optional :subname, :string, 5
|
964
|
-
optional :newname, :string, 6
|
965
|
-
optional :behavior, :enum, 7, "pg_query.DropBehavior"
|
966
|
-
optional :missing_ok, :bool, 8
|
959
|
+
optional :rename_type, :enum, 1, "pg_query.ObjectType", json_name: "renameType"
|
960
|
+
optional :relation_type, :enum, 2, "pg_query.ObjectType", json_name: "relationType"
|
961
|
+
optional :relation, :message, 3, "pg_query.RangeVar", json_name: "relation"
|
962
|
+
optional :object, :message, 4, "pg_query.Node", json_name: "object"
|
963
|
+
optional :subname, :string, 5, json_name: "subname"
|
964
|
+
optional :newname, :string, 6, json_name: "newname"
|
965
|
+
optional :behavior, :enum, 7, "pg_query.DropBehavior", json_name: "behavior"
|
966
|
+
optional :missing_ok, :bool, 8, json_name: "missing_ok"
|
967
967
|
end
|
968
968
|
add_message "pg_query.RuleStmt" do
|
969
|
-
optional :relation, :message, 1, "pg_query.RangeVar"
|
970
|
-
optional :rulename, :string, 2
|
971
|
-
optional :where_clause, :message, 3, "pg_query.Node"
|
972
|
-
optional :event, :enum, 4, "pg_query.CmdType"
|
973
|
-
optional :instead, :bool, 5
|
974
|
-
repeated :actions, :message, 6, "pg_query.Node"
|
975
|
-
optional :replace, :bool, 7
|
969
|
+
optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
|
970
|
+
optional :rulename, :string, 2, json_name: "rulename"
|
971
|
+
optional :where_clause, :message, 3, "pg_query.Node", json_name: "whereClause"
|
972
|
+
optional :event, :enum, 4, "pg_query.CmdType", json_name: "event"
|
973
|
+
optional :instead, :bool, 5, json_name: "instead"
|
974
|
+
repeated :actions, :message, 6, "pg_query.Node", json_name: "actions"
|
975
|
+
optional :replace, :bool, 7, json_name: "replace"
|
976
976
|
end
|
977
977
|
add_message "pg_query.NotifyStmt" do
|
978
|
-
optional :conditionname, :string, 1
|
979
|
-
optional :payload, :string, 2
|
978
|
+
optional :conditionname, :string, 1, json_name: "conditionname"
|
979
|
+
optional :payload, :string, 2, json_name: "payload"
|
980
980
|
end
|
981
981
|
add_message "pg_query.ListenStmt" do
|
982
|
-
optional :conditionname, :string, 1
|
982
|
+
optional :conditionname, :string, 1, json_name: "conditionname"
|
983
983
|
end
|
984
984
|
add_message "pg_query.UnlistenStmt" do
|
985
|
-
optional :conditionname, :string, 1
|
985
|
+
optional :conditionname, :string, 1, json_name: "conditionname"
|
986
986
|
end
|
987
987
|
add_message "pg_query.TransactionStmt" do
|
988
|
-
optional :kind, :enum, 1, "pg_query.TransactionStmtKind"
|
989
|
-
repeated :options, :message, 2, "pg_query.Node"
|
990
|
-
optional :savepoint_name, :string, 3
|
991
|
-
optional :gid, :string, 4
|
992
|
-
optional :chain, :bool, 5
|
988
|
+
optional :kind, :enum, 1, "pg_query.TransactionStmtKind", json_name: "kind"
|
989
|
+
repeated :options, :message, 2, "pg_query.Node", json_name: "options"
|
990
|
+
optional :savepoint_name, :string, 3, json_name: "savepoint_name"
|
991
|
+
optional :gid, :string, 4, json_name: "gid"
|
992
|
+
optional :chain, :bool, 5, json_name: "chain"
|
993
993
|
end
|
994
994
|
add_message "pg_query.ViewStmt" do
|
995
|
-
optional :view, :message, 1, "pg_query.RangeVar"
|
996
|
-
repeated :aliases, :message, 2, "pg_query.Node"
|
997
|
-
optional :query, :message, 3, "pg_query.Node"
|
998
|
-
optional :replace, :bool, 4
|
999
|
-
repeated :options, :message, 5, "pg_query.Node"
|
1000
|
-
optional :with_check_option, :enum, 6, "pg_query.ViewCheckOption"
|
995
|
+
optional :view, :message, 1, "pg_query.RangeVar", json_name: "view"
|
996
|
+
repeated :aliases, :message, 2, "pg_query.Node", json_name: "aliases"
|
997
|
+
optional :query, :message, 3, "pg_query.Node", json_name: "query"
|
998
|
+
optional :replace, :bool, 4, json_name: "replace"
|
999
|
+
repeated :options, :message, 5, "pg_query.Node", json_name: "options"
|
1000
|
+
optional :with_check_option, :enum, 6, "pg_query.ViewCheckOption", json_name: "withCheckOption"
|
1001
1001
|
end
|
1002
1002
|
add_message "pg_query.LoadStmt" do
|
1003
|
-
optional :filename, :string, 1
|
1003
|
+
optional :filename, :string, 1, json_name: "filename"
|
1004
1004
|
end
|
1005
1005
|
add_message "pg_query.CreateDomainStmt" do
|
1006
|
-
repeated :domainname, :message, 1, "pg_query.Node"
|
1007
|
-
optional :type_name, :message, 2, "pg_query.TypeName"
|
1008
|
-
optional :coll_clause, :message, 3, "pg_query.CollateClause"
|
1009
|
-
repeated :constraints, :message, 4, "pg_query.Node"
|
1006
|
+
repeated :domainname, :message, 1, "pg_query.Node", json_name: "domainname"
|
1007
|
+
optional :type_name, :message, 2, "pg_query.TypeName", json_name: "typeName"
|
1008
|
+
optional :coll_clause, :message, 3, "pg_query.CollateClause", json_name: "collClause"
|
1009
|
+
repeated :constraints, :message, 4, "pg_query.Node", json_name: "constraints"
|
1010
1010
|
end
|
1011
1011
|
add_message "pg_query.CreatedbStmt" do
|
1012
|
-
optional :dbname, :string, 1
|
1013
|
-
repeated :options, :message, 2, "pg_query.Node"
|
1012
|
+
optional :dbname, :string, 1, json_name: "dbname"
|
1013
|
+
repeated :options, :message, 2, "pg_query.Node", json_name: "options"
|
1014
1014
|
end
|
1015
1015
|
add_message "pg_query.DropdbStmt" do
|
1016
|
-
optional :dbname, :string, 1
|
1017
|
-
optional :missing_ok, :bool, 2
|
1018
|
-
repeated :options, :message, 3, "pg_query.Node"
|
1016
|
+
optional :dbname, :string, 1, json_name: "dbname"
|
1017
|
+
optional :missing_ok, :bool, 2, json_name: "missing_ok"
|
1018
|
+
repeated :options, :message, 3, "pg_query.Node", json_name: "options"
|
1019
1019
|
end
|
1020
1020
|
add_message "pg_query.VacuumStmt" do
|
1021
|
-
repeated :options, :message, 1, "pg_query.Node"
|
1022
|
-
repeated :rels, :message, 2, "pg_query.Node"
|
1023
|
-
optional :is_vacuumcmd, :bool, 3
|
1021
|
+
repeated :options, :message, 1, "pg_query.Node", json_name: "options"
|
1022
|
+
repeated :rels, :message, 2, "pg_query.Node", json_name: "rels"
|
1023
|
+
optional :is_vacuumcmd, :bool, 3, json_name: "is_vacuumcmd"
|
1024
1024
|
end
|
1025
1025
|
add_message "pg_query.ExplainStmt" do
|
1026
|
-
optional :query, :message, 1, "pg_query.Node"
|
1027
|
-
repeated :options, :message, 2, "pg_query.Node"
|
1026
|
+
optional :query, :message, 1, "pg_query.Node", json_name: "query"
|
1027
|
+
repeated :options, :message, 2, "pg_query.Node", json_name: "options"
|
1028
1028
|
end
|
1029
1029
|
add_message "pg_query.CreateTableAsStmt" do
|
1030
|
-
optional :query, :message, 1, "pg_query.Node"
|
1031
|
-
optional :into, :message, 2, "pg_query.IntoClause"
|
1032
|
-
optional :relkind, :enum, 3, "pg_query.ObjectType"
|
1033
|
-
optional :is_select_into, :bool, 4
|
1034
|
-
optional :if_not_exists, :bool, 5
|
1030
|
+
optional :query, :message, 1, "pg_query.Node", json_name: "query"
|
1031
|
+
optional :into, :message, 2, "pg_query.IntoClause", json_name: "into"
|
1032
|
+
optional :relkind, :enum, 3, "pg_query.ObjectType", json_name: "relkind"
|
1033
|
+
optional :is_select_into, :bool, 4, json_name: "is_select_into"
|
1034
|
+
optional :if_not_exists, :bool, 5, json_name: "if_not_exists"
|
1035
1035
|
end
|
1036
1036
|
add_message "pg_query.CreateSeqStmt" do
|
1037
|
-
optional :sequence, :message, 1, "pg_query.RangeVar"
|
1038
|
-
repeated :options, :message, 2, "pg_query.Node"
|
1039
|
-
optional :owner_id, :uint32, 3
|
1040
|
-
optional :for_identity, :bool, 4
|
1041
|
-
optional :if_not_exists, :bool, 5
|
1037
|
+
optional :sequence, :message, 1, "pg_query.RangeVar", json_name: "sequence"
|
1038
|
+
repeated :options, :message, 2, "pg_query.Node", json_name: "options"
|
1039
|
+
optional :owner_id, :uint32, 3, json_name: "ownerId"
|
1040
|
+
optional :for_identity, :bool, 4, json_name: "for_identity"
|
1041
|
+
optional :if_not_exists, :bool, 5, json_name: "if_not_exists"
|
1042
1042
|
end
|
1043
1043
|
add_message "pg_query.AlterSeqStmt" do
|
1044
|
-
optional :sequence, :message, 1, "pg_query.RangeVar"
|
1045
|
-
repeated :options, :message, 2, "pg_query.Node"
|
1046
|
-
optional :for_identity, :bool, 3
|
1047
|
-
optional :missing_ok, :bool, 4
|
1044
|
+
optional :sequence, :message, 1, "pg_query.RangeVar", json_name: "sequence"
|
1045
|
+
repeated :options, :message, 2, "pg_query.Node", json_name: "options"
|
1046
|
+
optional :for_identity, :bool, 3, json_name: "for_identity"
|
1047
|
+
optional :missing_ok, :bool, 4, json_name: "missing_ok"
|
1048
1048
|
end
|
1049
1049
|
add_message "pg_query.VariableSetStmt" do
|
1050
|
-
optional :kind, :enum, 1, "pg_query.VariableSetKind"
|
1051
|
-
optional :name, :string, 2
|
1052
|
-
repeated :args, :message, 3, "pg_query.Node"
|
1053
|
-
optional :is_local, :bool, 4
|
1050
|
+
optional :kind, :enum, 1, "pg_query.VariableSetKind", json_name: "kind"
|
1051
|
+
optional :name, :string, 2, json_name: "name"
|
1052
|
+
repeated :args, :message, 3, "pg_query.Node", json_name: "args"
|
1053
|
+
optional :is_local, :bool, 4, json_name: "is_local"
|
1054
1054
|
end
|
1055
1055
|
add_message "pg_query.VariableShowStmt" do
|
1056
|
-
optional :name, :string, 1
|
1056
|
+
optional :name, :string, 1, json_name: "name"
|
1057
1057
|
end
|
1058
1058
|
add_message "pg_query.DiscardStmt" do
|
1059
|
-
optional :target, :enum, 1, "pg_query.DiscardMode"
|
1059
|
+
optional :target, :enum, 1, "pg_query.DiscardMode", json_name: "target"
|
1060
1060
|
end
|
1061
1061
|
add_message "pg_query.CreateTrigStmt" do
|
1062
|
-
optional :trigname, :string, 1
|
1063
|
-
optional :relation, :message, 2, "pg_query.RangeVar"
|
1064
|
-
repeated :funcname, :message, 3, "pg_query.Node"
|
1065
|
-
repeated :args, :message, 4, "pg_query.Node"
|
1066
|
-
optional :row, :bool, 5
|
1067
|
-
optional :timing, :int32, 6
|
1068
|
-
optional :events, :int32, 7
|
1069
|
-
repeated :columns, :message, 8, "pg_query.Node"
|
1070
|
-
optional :when_clause, :message, 9, "pg_query.Node"
|
1071
|
-
optional :isconstraint, :bool, 10
|
1072
|
-
repeated :transition_rels, :message, 11, "pg_query.Node"
|
1073
|
-
optional :deferrable, :bool, 12
|
1074
|
-
optional :initdeferred, :bool, 13
|
1075
|
-
optional :constrrel, :message, 14, "pg_query.RangeVar"
|
1062
|
+
optional :trigname, :string, 1, json_name: "trigname"
|
1063
|
+
optional :relation, :message, 2, "pg_query.RangeVar", json_name: "relation"
|
1064
|
+
repeated :funcname, :message, 3, "pg_query.Node", json_name: "funcname"
|
1065
|
+
repeated :args, :message, 4, "pg_query.Node", json_name: "args"
|
1066
|
+
optional :row, :bool, 5, json_name: "row"
|
1067
|
+
optional :timing, :int32, 6, json_name: "timing"
|
1068
|
+
optional :events, :int32, 7, json_name: "events"
|
1069
|
+
repeated :columns, :message, 8, "pg_query.Node", json_name: "columns"
|
1070
|
+
optional :when_clause, :message, 9, "pg_query.Node", json_name: "whenClause"
|
1071
|
+
optional :isconstraint, :bool, 10, json_name: "isconstraint"
|
1072
|
+
repeated :transition_rels, :message, 11, "pg_query.Node", json_name: "transitionRels"
|
1073
|
+
optional :deferrable, :bool, 12, json_name: "deferrable"
|
1074
|
+
optional :initdeferred, :bool, 13, json_name: "initdeferred"
|
1075
|
+
optional :constrrel, :message, 14, "pg_query.RangeVar", json_name: "constrrel"
|
1076
1076
|
end
|
1077
1077
|
add_message "pg_query.CreatePLangStmt" do
|
1078
|
-
optional :replace, :bool, 1
|
1079
|
-
optional :plname, :string, 2
|
1080
|
-
repeated :plhandler, :message, 3, "pg_query.Node"
|
1081
|
-
repeated :plinline, :message, 4, "pg_query.Node"
|
1082
|
-
repeated :plvalidator, :message, 5, "pg_query.Node"
|
1083
|
-
optional :pltrusted, :bool, 6
|
1078
|
+
optional :replace, :bool, 1, json_name: "replace"
|
1079
|
+
optional :plname, :string, 2, json_name: "plname"
|
1080
|
+
repeated :plhandler, :message, 3, "pg_query.Node", json_name: "plhandler"
|
1081
|
+
repeated :plinline, :message, 4, "pg_query.Node", json_name: "plinline"
|
1082
|
+
repeated :plvalidator, :message, 5, "pg_query.Node", json_name: "plvalidator"
|
1083
|
+
optional :pltrusted, :bool, 6, json_name: "pltrusted"
|
1084
1084
|
end
|
1085
1085
|
add_message "pg_query.CreateRoleStmt" do
|
1086
|
-
optional :stmt_type, :enum, 1, "pg_query.RoleStmtType"
|
1087
|
-
optional :role, :string, 2
|
1088
|
-
repeated :options, :message, 3, "pg_query.Node"
|
1086
|
+
optional :stmt_type, :enum, 1, "pg_query.RoleStmtType", json_name: "stmt_type"
|
1087
|
+
optional :role, :string, 2, json_name: "role"
|
1088
|
+
repeated :options, :message, 3, "pg_query.Node", json_name: "options"
|
1089
1089
|
end
|
1090
1090
|
add_message "pg_query.AlterRoleStmt" do
|
1091
|
-
optional :role, :message, 1, "pg_query.RoleSpec"
|
1092
|
-
repeated :options, :message, 2, "pg_query.Node"
|
1093
|
-
optional :action, :int32, 3
|
1091
|
+
optional :role, :message, 1, "pg_query.RoleSpec", json_name: "role"
|
1092
|
+
repeated :options, :message, 2, "pg_query.Node", json_name: "options"
|
1093
|
+
optional :action, :int32, 3, json_name: "action"
|
1094
1094
|
end
|
1095
1095
|
add_message "pg_query.DropRoleStmt" do
|
1096
|
-
repeated :roles, :message, 1, "pg_query.Node"
|
1097
|
-
optional :missing_ok, :bool, 2
|
1096
|
+
repeated :roles, :message, 1, "pg_query.Node", json_name: "roles"
|
1097
|
+
optional :missing_ok, :bool, 2, json_name: "missing_ok"
|
1098
1098
|
end
|
1099
1099
|
add_message "pg_query.LockStmt" do
|
1100
|
-
repeated :relations, :message, 1, "pg_query.Node"
|
1101
|
-
optional :mode, :int32, 2
|
1102
|
-
optional :nowait, :bool, 3
|
1100
|
+
repeated :relations, :message, 1, "pg_query.Node", json_name: "relations"
|
1101
|
+
optional :mode, :int32, 2, json_name: "mode"
|
1102
|
+
optional :nowait, :bool, 3, json_name: "nowait"
|
1103
1103
|
end
|
1104
1104
|
add_message "pg_query.ConstraintsSetStmt" do
|
1105
|
-
repeated :constraints, :message, 1, "pg_query.Node"
|
1106
|
-
optional :deferred, :bool, 2
|
1105
|
+
repeated :constraints, :message, 1, "pg_query.Node", json_name: "constraints"
|
1106
|
+
optional :deferred, :bool, 2, json_name: "deferred"
|
1107
1107
|
end
|
1108
1108
|
add_message "pg_query.ReindexStmt" do
|
1109
|
-
optional :kind, :enum, 1, "pg_query.ReindexObjectType"
|
1110
|
-
optional :relation, :message, 2, "pg_query.RangeVar"
|
1111
|
-
optional :name, :string, 3
|
1112
|
-
optional :options, :int32, 4
|
1113
|
-
optional :concurrent, :bool, 5
|
1109
|
+
optional :kind, :enum, 1, "pg_query.ReindexObjectType", json_name: "kind"
|
1110
|
+
optional :relation, :message, 2, "pg_query.RangeVar", json_name: "relation"
|
1111
|
+
optional :name, :string, 3, json_name: "name"
|
1112
|
+
optional :options, :int32, 4, json_name: "options"
|
1113
|
+
optional :concurrent, :bool, 5, json_name: "concurrent"
|
1114
1114
|
end
|
1115
1115
|
add_message "pg_query.CheckPointStmt" do
|
1116
1116
|
end
|
1117
1117
|
add_message "pg_query.CreateSchemaStmt" do
|
1118
|
-
optional :schemaname, :string, 1
|
1119
|
-
optional :authrole, :message, 2, "pg_query.RoleSpec"
|
1120
|
-
repeated :schema_elts, :message, 3, "pg_query.Node"
|
1121
|
-
optional :if_not_exists, :bool, 4
|
1118
|
+
optional :schemaname, :string, 1, json_name: "schemaname"
|
1119
|
+
optional :authrole, :message, 2, "pg_query.RoleSpec", json_name: "authrole"
|
1120
|
+
repeated :schema_elts, :message, 3, "pg_query.Node", json_name: "schemaElts"
|
1121
|
+
optional :if_not_exists, :bool, 4, json_name: "if_not_exists"
|
1122
1122
|
end
|
1123
1123
|
add_message "pg_query.AlterDatabaseStmt" do
|
1124
|
-
optional :dbname, :string, 1
|
1125
|
-
repeated :options, :message, 2, "pg_query.Node"
|
1124
|
+
optional :dbname, :string, 1, json_name: "dbname"
|
1125
|
+
repeated :options, :message, 2, "pg_query.Node", json_name: "options"
|
1126
1126
|
end
|
1127
1127
|
add_message "pg_query.AlterDatabaseSetStmt" do
|
1128
|
-
optional :dbname, :string, 1
|
1129
|
-
optional :setstmt, :message, 2, "pg_query.VariableSetStmt"
|
1128
|
+
optional :dbname, :string, 1, json_name: "dbname"
|
1129
|
+
optional :setstmt, :message, 2, "pg_query.VariableSetStmt", json_name: "setstmt"
|
1130
1130
|
end
|
1131
1131
|
add_message "pg_query.AlterRoleSetStmt" do
|
1132
|
-
optional :role, :message, 1, "pg_query.RoleSpec"
|
1133
|
-
optional :database, :string, 2
|
1134
|
-
optional :setstmt, :message, 3, "pg_query.VariableSetStmt"
|
1132
|
+
optional :role, :message, 1, "pg_query.RoleSpec", json_name: "role"
|
1133
|
+
optional :database, :string, 2, json_name: "database"
|
1134
|
+
optional :setstmt, :message, 3, "pg_query.VariableSetStmt", json_name: "setstmt"
|
1135
1135
|
end
|
1136
1136
|
add_message "pg_query.CreateConversionStmt" do
|
1137
|
-
repeated :conversion_name, :message, 1, "pg_query.Node"
|
1138
|
-
optional :for_encoding_name, :string, 2
|
1139
|
-
optional :to_encoding_name, :string, 3
|
1140
|
-
repeated :func_name, :message, 4, "pg_query.Node"
|
1141
|
-
optional :def, :bool, 5
|
1137
|
+
repeated :conversion_name, :message, 1, "pg_query.Node", json_name: "conversion_name"
|
1138
|
+
optional :for_encoding_name, :string, 2, json_name: "for_encoding_name"
|
1139
|
+
optional :to_encoding_name, :string, 3, json_name: "to_encoding_name"
|
1140
|
+
repeated :func_name, :message, 4, "pg_query.Node", json_name: "func_name"
|
1141
|
+
optional :def, :bool, 5, json_name: "def"
|
1142
1142
|
end
|
1143
1143
|
add_message "pg_query.CreateCastStmt" do
|
1144
|
-
optional :sourcetype, :message, 1, "pg_query.TypeName"
|
1145
|
-
optional :targettype, :message, 2, "pg_query.TypeName"
|
1146
|
-
optional :func, :message, 3, "pg_query.ObjectWithArgs"
|
1147
|
-
optional :context, :enum, 4, "pg_query.CoercionContext"
|
1148
|
-
optional :inout, :bool, 5
|
1144
|
+
optional :sourcetype, :message, 1, "pg_query.TypeName", json_name: "sourcetype"
|
1145
|
+
optional :targettype, :message, 2, "pg_query.TypeName", json_name: "targettype"
|
1146
|
+
optional :func, :message, 3, "pg_query.ObjectWithArgs", json_name: "func"
|
1147
|
+
optional :context, :enum, 4, "pg_query.CoercionContext", json_name: "context"
|
1148
|
+
optional :inout, :bool, 5, json_name: "inout"
|
1149
1149
|
end
|
1150
1150
|
add_message "pg_query.CreateOpClassStmt" do
|
1151
|
-
repeated :opclassname, :message, 1, "pg_query.Node"
|
1152
|
-
repeated :opfamilyname, :message, 2, "pg_query.Node"
|
1153
|
-
optional :amname, :string, 3
|
1154
|
-
optional :datatype, :message, 4, "pg_query.TypeName"
|
1155
|
-
repeated :items, :message, 5, "pg_query.Node"
|
1156
|
-
optional :is_default, :bool, 6
|
1151
|
+
repeated :opclassname, :message, 1, "pg_query.Node", json_name: "opclassname"
|
1152
|
+
repeated :opfamilyname, :message, 2, "pg_query.Node", json_name: "opfamilyname"
|
1153
|
+
optional :amname, :string, 3, json_name: "amname"
|
1154
|
+
optional :datatype, :message, 4, "pg_query.TypeName", json_name: "datatype"
|
1155
|
+
repeated :items, :message, 5, "pg_query.Node", json_name: "items"
|
1156
|
+
optional :is_default, :bool, 6, json_name: "isDefault"
|
1157
1157
|
end
|
1158
1158
|
add_message "pg_query.CreateOpFamilyStmt" do
|
1159
|
-
repeated :opfamilyname, :message, 1, "pg_query.Node"
|
1160
|
-
optional :amname, :string, 2
|
1159
|
+
repeated :opfamilyname, :message, 1, "pg_query.Node", json_name: "opfamilyname"
|
1160
|
+
optional :amname, :string, 2, json_name: "amname"
|
1161
1161
|
end
|
1162
1162
|
add_message "pg_query.AlterOpFamilyStmt" do
|
1163
|
-
repeated :opfamilyname, :message, 1, "pg_query.Node"
|
1164
|
-
optional :amname, :string, 2
|
1165
|
-
optional :is_drop, :bool, 3
|
1166
|
-
repeated :items, :message, 4, "pg_query.Node"
|
1163
|
+
repeated :opfamilyname, :message, 1, "pg_query.Node", json_name: "opfamilyname"
|
1164
|
+
optional :amname, :string, 2, json_name: "amname"
|
1165
|
+
optional :is_drop, :bool, 3, json_name: "isDrop"
|
1166
|
+
repeated :items, :message, 4, "pg_query.Node", json_name: "items"
|
1167
1167
|
end
|
1168
1168
|
add_message "pg_query.PrepareStmt" do
|
1169
|
-
optional :name, :string, 1
|
1170
|
-
repeated :argtypes, :message, 2, "pg_query.Node"
|
1171
|
-
optional :query, :message, 3, "pg_query.Node"
|
1169
|
+
optional :name, :string, 1, json_name: "name"
|
1170
|
+
repeated :argtypes, :message, 2, "pg_query.Node", json_name: "argtypes"
|
1171
|
+
optional :query, :message, 3, "pg_query.Node", json_name: "query"
|
1172
1172
|
end
|
1173
1173
|
add_message "pg_query.ExecuteStmt" do
|
1174
|
-
optional :name, :string, 1
|
1175
|
-
repeated :params, :message, 2, "pg_query.Node"
|
1174
|
+
optional :name, :string, 1, json_name: "name"
|
1175
|
+
repeated :params, :message, 2, "pg_query.Node", json_name: "params"
|
1176
1176
|
end
|
1177
1177
|
add_message "pg_query.DeallocateStmt" do
|
1178
|
-
optional :name, :string, 1
|
1178
|
+
optional :name, :string, 1, json_name: "name"
|
1179
1179
|
end
|
1180
1180
|
add_message "pg_query.DeclareCursorStmt" do
|
1181
|
-
optional :portalname, :string, 1
|
1182
|
-
optional :options, :int32, 2
|
1183
|
-
optional :query, :message, 3, "pg_query.Node"
|
1181
|
+
optional :portalname, :string, 1, json_name: "portalname"
|
1182
|
+
optional :options, :int32, 2, json_name: "options"
|
1183
|
+
optional :query, :message, 3, "pg_query.Node", json_name: "query"
|
1184
1184
|
end
|
1185
1185
|
add_message "pg_query.CreateTableSpaceStmt" do
|
1186
|
-
optional :tablespacename, :string, 1
|
1187
|
-
optional :owner, :message, 2, "pg_query.RoleSpec"
|
1188
|
-
optional :location, :string, 3
|
1189
|
-
repeated :options, :message, 4, "pg_query.Node"
|
1186
|
+
optional :tablespacename, :string, 1, json_name: "tablespacename"
|
1187
|
+
optional :owner, :message, 2, "pg_query.RoleSpec", json_name: "owner"
|
1188
|
+
optional :location, :string, 3, json_name: "location"
|
1189
|
+
repeated :options, :message, 4, "pg_query.Node", json_name: "options"
|
1190
1190
|
end
|
1191
1191
|
add_message "pg_query.DropTableSpaceStmt" do
|
1192
|
-
optional :tablespacename, :string, 1
|
1193
|
-
optional :missing_ok, :bool, 2
|
1192
|
+
optional :tablespacename, :string, 1, json_name: "tablespacename"
|
1193
|
+
optional :missing_ok, :bool, 2, json_name: "missing_ok"
|
1194
1194
|
end
|
1195
1195
|
add_message "pg_query.AlterObjectDependsStmt" do
|
1196
|
-
optional :object_type, :enum, 1, "pg_query.ObjectType"
|
1197
|
-
optional :relation, :message, 2, "pg_query.RangeVar"
|
1198
|
-
optional :object, :message, 3, "pg_query.Node"
|
1199
|
-
optional :extname, :message, 4, "pg_query.Node"
|
1200
|
-
optional :remove, :bool, 5
|
1196
|
+
optional :object_type, :enum, 1, "pg_query.ObjectType", json_name: "objectType"
|
1197
|
+
optional :relation, :message, 2, "pg_query.RangeVar", json_name: "relation"
|
1198
|
+
optional :object, :message, 3, "pg_query.Node", json_name: "object"
|
1199
|
+
optional :extname, :message, 4, "pg_query.Node", json_name: "extname"
|
1200
|
+
optional :remove, :bool, 5, json_name: "remove"
|
1201
1201
|
end
|
1202
1202
|
add_message "pg_query.AlterObjectSchemaStmt" do
|
1203
|
-
optional :object_type, :enum, 1, "pg_query.ObjectType"
|
1204
|
-
optional :relation, :message, 2, "pg_query.RangeVar"
|
1205
|
-
optional :object, :message, 3, "pg_query.Node"
|
1206
|
-
optional :newschema, :string, 4
|
1207
|
-
optional :missing_ok, :bool, 5
|
1203
|
+
optional :object_type, :enum, 1, "pg_query.ObjectType", json_name: "objectType"
|
1204
|
+
optional :relation, :message, 2, "pg_query.RangeVar", json_name: "relation"
|
1205
|
+
optional :object, :message, 3, "pg_query.Node", json_name: "object"
|
1206
|
+
optional :newschema, :string, 4, json_name: "newschema"
|
1207
|
+
optional :missing_ok, :bool, 5, json_name: "missing_ok"
|
1208
1208
|
end
|
1209
1209
|
add_message "pg_query.AlterOwnerStmt" do
|
1210
|
-
optional :object_type, :enum, 1, "pg_query.ObjectType"
|
1211
|
-
optional :relation, :message, 2, "pg_query.RangeVar"
|
1212
|
-
optional :object, :message, 3, "pg_query.Node"
|
1213
|
-
optional :newowner, :message, 4, "pg_query.RoleSpec"
|
1210
|
+
optional :object_type, :enum, 1, "pg_query.ObjectType", json_name: "objectType"
|
1211
|
+
optional :relation, :message, 2, "pg_query.RangeVar", json_name: "relation"
|
1212
|
+
optional :object, :message, 3, "pg_query.Node", json_name: "object"
|
1213
|
+
optional :newowner, :message, 4, "pg_query.RoleSpec", json_name: "newowner"
|
1214
1214
|
end
|
1215
1215
|
add_message "pg_query.AlterOperatorStmt" do
|
1216
|
-
optional :opername, :message, 1, "pg_query.ObjectWithArgs"
|
1217
|
-
repeated :options, :message, 2, "pg_query.Node"
|
1216
|
+
optional :opername, :message, 1, "pg_query.ObjectWithArgs", json_name: "opername"
|
1217
|
+
repeated :options, :message, 2, "pg_query.Node", json_name: "options"
|
1218
1218
|
end
|
1219
1219
|
add_message "pg_query.AlterTypeStmt" do
|
1220
|
-
repeated :type_name, :message, 1, "pg_query.Node"
|
1221
|
-
repeated :options, :message, 2, "pg_query.Node"
|
1220
|
+
repeated :type_name, :message, 1, "pg_query.Node", json_name: "typeName"
|
1221
|
+
repeated :options, :message, 2, "pg_query.Node", json_name: "options"
|
1222
1222
|
end
|
1223
1223
|
add_message "pg_query.DropOwnedStmt" do
|
1224
|
-
repeated :roles, :message, 1, "pg_query.Node"
|
1225
|
-
optional :behavior, :enum, 2, "pg_query.DropBehavior"
|
1224
|
+
repeated :roles, :message, 1, "pg_query.Node", json_name: "roles"
|
1225
|
+
optional :behavior, :enum, 2, "pg_query.DropBehavior", json_name: "behavior"
|
1226
1226
|
end
|
1227
1227
|
add_message "pg_query.ReassignOwnedStmt" do
|
1228
|
-
repeated :roles, :message, 1, "pg_query.Node"
|
1229
|
-
optional :newrole, :message, 2, "pg_query.RoleSpec"
|
1228
|
+
repeated :roles, :message, 1, "pg_query.Node", json_name: "roles"
|
1229
|
+
optional :newrole, :message, 2, "pg_query.RoleSpec", json_name: "newrole"
|
1230
1230
|
end
|
1231
1231
|
add_message "pg_query.CompositeTypeStmt" do
|
1232
|
-
optional :typevar, :message, 1, "pg_query.RangeVar"
|
1233
|
-
repeated :coldeflist, :message, 2, "pg_query.Node"
|
1232
|
+
optional :typevar, :message, 1, "pg_query.RangeVar", json_name: "typevar"
|
1233
|
+
repeated :coldeflist, :message, 2, "pg_query.Node", json_name: "coldeflist"
|
1234
1234
|
end
|
1235
1235
|
add_message "pg_query.CreateEnumStmt" do
|
1236
|
-
repeated :type_name, :message, 1, "pg_query.Node"
|
1237
|
-
repeated :vals, :message, 2, "pg_query.Node"
|
1236
|
+
repeated :type_name, :message, 1, "pg_query.Node", json_name: "typeName"
|
1237
|
+
repeated :vals, :message, 2, "pg_query.Node", json_name: "vals"
|
1238
1238
|
end
|
1239
1239
|
add_message "pg_query.CreateRangeStmt" do
|
1240
|
-
repeated :type_name, :message, 1, "pg_query.Node"
|
1241
|
-
repeated :params, :message, 2, "pg_query.Node"
|
1240
|
+
repeated :type_name, :message, 1, "pg_query.Node", json_name: "typeName"
|
1241
|
+
repeated :params, :message, 2, "pg_query.Node", json_name: "params"
|
1242
1242
|
end
|
1243
1243
|
add_message "pg_query.AlterEnumStmt" do
|
1244
|
-
repeated :type_name, :message, 1, "pg_query.Node"
|
1245
|
-
optional :old_val, :string, 2
|
1246
|
-
optional :new_val, :string, 3
|
1247
|
-
optional :new_val_neighbor, :string, 4
|
1248
|
-
optional :new_val_is_after, :bool, 5
|
1249
|
-
optional :skip_if_new_val_exists, :bool, 6
|
1244
|
+
repeated :type_name, :message, 1, "pg_query.Node", json_name: "typeName"
|
1245
|
+
optional :old_val, :string, 2, json_name: "oldVal"
|
1246
|
+
optional :new_val, :string, 3, json_name: "newVal"
|
1247
|
+
optional :new_val_neighbor, :string, 4, json_name: "newValNeighbor"
|
1248
|
+
optional :new_val_is_after, :bool, 5, json_name: "newValIsAfter"
|
1249
|
+
optional :skip_if_new_val_exists, :bool, 6, json_name: "skipIfNewValExists"
|
1250
1250
|
end
|
1251
1251
|
add_message "pg_query.AlterTSDictionaryStmt" do
|
1252
|
-
repeated :dictname, :message, 1, "pg_query.Node"
|
1253
|
-
repeated :options, :message, 2, "pg_query.Node"
|
1252
|
+
repeated :dictname, :message, 1, "pg_query.Node", json_name: "dictname"
|
1253
|
+
repeated :options, :message, 2, "pg_query.Node", json_name: "options"
|
1254
1254
|
end
|
1255
1255
|
add_message "pg_query.AlterTSConfigurationStmt" do
|
1256
|
-
optional :kind, :enum, 1, "pg_query.AlterTSConfigType"
|
1257
|
-
repeated :cfgname, :message, 2, "pg_query.Node"
|
1258
|
-
repeated :tokentype, :message, 3, "pg_query.Node"
|
1259
|
-
repeated :dicts, :message, 4, "pg_query.Node"
|
1260
|
-
optional :override, :bool, 5
|
1261
|
-
optional :replace, :bool, 6
|
1262
|
-
optional :missing_ok, :bool, 7
|
1256
|
+
optional :kind, :enum, 1, "pg_query.AlterTSConfigType", json_name: "kind"
|
1257
|
+
repeated :cfgname, :message, 2, "pg_query.Node", json_name: "cfgname"
|
1258
|
+
repeated :tokentype, :message, 3, "pg_query.Node", json_name: "tokentype"
|
1259
|
+
repeated :dicts, :message, 4, "pg_query.Node", json_name: "dicts"
|
1260
|
+
optional :override, :bool, 5, json_name: "override"
|
1261
|
+
optional :replace, :bool, 6, json_name: "replace"
|
1262
|
+
optional :missing_ok, :bool, 7, json_name: "missing_ok"
|
1263
1263
|
end
|
1264
1264
|
add_message "pg_query.CreateFdwStmt" do
|
1265
|
-
optional :fdwname, :string, 1
|
1266
|
-
repeated :func_options, :message, 2, "pg_query.Node"
|
1267
|
-
repeated :options, :message, 3, "pg_query.Node"
|
1265
|
+
optional :fdwname, :string, 1, json_name: "fdwname"
|
1266
|
+
repeated :func_options, :message, 2, "pg_query.Node", json_name: "func_options"
|
1267
|
+
repeated :options, :message, 3, "pg_query.Node", json_name: "options"
|
1268
1268
|
end
|
1269
1269
|
add_message "pg_query.AlterFdwStmt" do
|
1270
|
-
optional :fdwname, :string, 1
|
1271
|
-
repeated :func_options, :message, 2, "pg_query.Node"
|
1272
|
-
repeated :options, :message, 3, "pg_query.Node"
|
1270
|
+
optional :fdwname, :string, 1, json_name: "fdwname"
|
1271
|
+
repeated :func_options, :message, 2, "pg_query.Node", json_name: "func_options"
|
1272
|
+
repeated :options, :message, 3, "pg_query.Node", json_name: "options"
|
1273
1273
|
end
|
1274
1274
|
add_message "pg_query.CreateForeignServerStmt" do
|
1275
|
-
optional :servername, :string, 1
|
1276
|
-
optional :servertype, :string, 2
|
1277
|
-
optional :version, :string, 3
|
1278
|
-
optional :fdwname, :string, 4
|
1279
|
-
optional :if_not_exists, :bool, 5
|
1280
|
-
repeated :options, :message, 6, "pg_query.Node"
|
1275
|
+
optional :servername, :string, 1, json_name: "servername"
|
1276
|
+
optional :servertype, :string, 2, json_name: "servertype"
|
1277
|
+
optional :version, :string, 3, json_name: "version"
|
1278
|
+
optional :fdwname, :string, 4, json_name: "fdwname"
|
1279
|
+
optional :if_not_exists, :bool, 5, json_name: "if_not_exists"
|
1280
|
+
repeated :options, :message, 6, "pg_query.Node", json_name: "options"
|
1281
1281
|
end
|
1282
1282
|
add_message "pg_query.AlterForeignServerStmt" do
|
1283
|
-
optional :servername, :string, 1
|
1284
|
-
optional :version, :string, 2
|
1285
|
-
repeated :options, :message, 3, "pg_query.Node"
|
1286
|
-
optional :has_version, :bool, 4
|
1283
|
+
optional :servername, :string, 1, json_name: "servername"
|
1284
|
+
optional :version, :string, 2, json_name: "version"
|
1285
|
+
repeated :options, :message, 3, "pg_query.Node", json_name: "options"
|
1286
|
+
optional :has_version, :bool, 4, json_name: "has_version"
|
1287
1287
|
end
|
1288
1288
|
add_message "pg_query.CreateUserMappingStmt" do
|
1289
|
-
optional :user, :message, 1, "pg_query.RoleSpec"
|
1290
|
-
optional :servername, :string, 2
|
1291
|
-
optional :if_not_exists, :bool, 3
|
1292
|
-
repeated :options, :message, 4, "pg_query.Node"
|
1289
|
+
optional :user, :message, 1, "pg_query.RoleSpec", json_name: "user"
|
1290
|
+
optional :servername, :string, 2, json_name: "servername"
|
1291
|
+
optional :if_not_exists, :bool, 3, json_name: "if_not_exists"
|
1292
|
+
repeated :options, :message, 4, "pg_query.Node", json_name: "options"
|
1293
1293
|
end
|
1294
1294
|
add_message "pg_query.AlterUserMappingStmt" do
|
1295
|
-
optional :user, :message, 1, "pg_query.RoleSpec"
|
1296
|
-
optional :servername, :string, 2
|
1297
|
-
repeated :options, :message, 3, "pg_query.Node"
|
1295
|
+
optional :user, :message, 1, "pg_query.RoleSpec", json_name: "user"
|
1296
|
+
optional :servername, :string, 2, json_name: "servername"
|
1297
|
+
repeated :options, :message, 3, "pg_query.Node", json_name: "options"
|
1298
1298
|
end
|
1299
1299
|
add_message "pg_query.DropUserMappingStmt" do
|
1300
|
-
optional :user, :message, 1, "pg_query.RoleSpec"
|
1301
|
-
optional :servername, :string, 2
|
1302
|
-
optional :missing_ok, :bool, 3
|
1300
|
+
optional :user, :message, 1, "pg_query.RoleSpec", json_name: "user"
|
1301
|
+
optional :servername, :string, 2, json_name: "servername"
|
1302
|
+
optional :missing_ok, :bool, 3, json_name: "missing_ok"
|
1303
1303
|
end
|
1304
1304
|
add_message "pg_query.AlterTableSpaceOptionsStmt" do
|
1305
|
-
optional :tablespacename, :string, 1
|
1306
|
-
repeated :options, :message, 2, "pg_query.Node"
|
1307
|
-
optional :is_reset, :bool, 3
|
1305
|
+
optional :tablespacename, :string, 1, json_name: "tablespacename"
|
1306
|
+
repeated :options, :message, 2, "pg_query.Node", json_name: "options"
|
1307
|
+
optional :is_reset, :bool, 3, json_name: "isReset"
|
1308
1308
|
end
|
1309
1309
|
add_message "pg_query.AlterTableMoveAllStmt" do
|
1310
|
-
optional :orig_tablespacename, :string, 1
|
1311
|
-
optional :objtype, :enum, 2, "pg_query.ObjectType"
|
1312
|
-
repeated :roles, :message, 3, "pg_query.Node"
|
1313
|
-
optional :new_tablespacename, :string, 4
|
1314
|
-
optional :nowait, :bool, 5
|
1310
|
+
optional :orig_tablespacename, :string, 1, json_name: "orig_tablespacename"
|
1311
|
+
optional :objtype, :enum, 2, "pg_query.ObjectType", json_name: "objtype"
|
1312
|
+
repeated :roles, :message, 3, "pg_query.Node", json_name: "roles"
|
1313
|
+
optional :new_tablespacename, :string, 4, json_name: "new_tablespacename"
|
1314
|
+
optional :nowait, :bool, 5, json_name: "nowait"
|
1315
1315
|
end
|
1316
1316
|
add_message "pg_query.SecLabelStmt" do
|
1317
|
-
optional :objtype, :enum, 1, "pg_query.ObjectType"
|
1318
|
-
optional :object, :message, 2, "pg_query.Node"
|
1319
|
-
optional :provider, :string, 3
|
1320
|
-
optional :label, :string, 4
|
1317
|
+
optional :objtype, :enum, 1, "pg_query.ObjectType", json_name: "objtype"
|
1318
|
+
optional :object, :message, 2, "pg_query.Node", json_name: "object"
|
1319
|
+
optional :provider, :string, 3, json_name: "provider"
|
1320
|
+
optional :label, :string, 4, json_name: "label"
|
1321
1321
|
end
|
1322
1322
|
add_message "pg_query.CreateForeignTableStmt" do
|
1323
|
-
optional :base_stmt, :message, 1, "pg_query.CreateStmt"
|
1324
|
-
optional :servername, :string, 2
|
1325
|
-
repeated :options, :message, 3, "pg_query.Node"
|
1323
|
+
optional :base_stmt, :message, 1, "pg_query.CreateStmt", json_name: "base"
|
1324
|
+
optional :servername, :string, 2, json_name: "servername"
|
1325
|
+
repeated :options, :message, 3, "pg_query.Node", json_name: "options"
|
1326
1326
|
end
|
1327
1327
|
add_message "pg_query.ImportForeignSchemaStmt" do
|
1328
|
-
optional :server_name, :string, 1
|
1329
|
-
optional :remote_schema, :string, 2
|
1330
|
-
optional :local_schema, :string, 3
|
1331
|
-
optional :list_type, :enum, 4, "pg_query.ImportForeignSchemaType"
|
1332
|
-
repeated :table_list, :message, 5, "pg_query.Node"
|
1333
|
-
repeated :options, :message, 6, "pg_query.Node"
|
1328
|
+
optional :server_name, :string, 1, json_name: "server_name"
|
1329
|
+
optional :remote_schema, :string, 2, json_name: "remote_schema"
|
1330
|
+
optional :local_schema, :string, 3, json_name: "local_schema"
|
1331
|
+
optional :list_type, :enum, 4, "pg_query.ImportForeignSchemaType", json_name: "list_type"
|
1332
|
+
repeated :table_list, :message, 5, "pg_query.Node", json_name: "table_list"
|
1333
|
+
repeated :options, :message, 6, "pg_query.Node", json_name: "options"
|
1334
1334
|
end
|
1335
1335
|
add_message "pg_query.CreateExtensionStmt" do
|
1336
|
-
optional :extname, :string, 1
|
1337
|
-
optional :if_not_exists, :bool, 2
|
1338
|
-
repeated :options, :message, 3, "pg_query.Node"
|
1336
|
+
optional :extname, :string, 1, json_name: "extname"
|
1337
|
+
optional :if_not_exists, :bool, 2, json_name: "if_not_exists"
|
1338
|
+
repeated :options, :message, 3, "pg_query.Node", json_name: "options"
|
1339
1339
|
end
|
1340
1340
|
add_message "pg_query.AlterExtensionStmt" do
|
1341
|
-
optional :extname, :string, 1
|
1342
|
-
repeated :options, :message, 2, "pg_query.Node"
|
1341
|
+
optional :extname, :string, 1, json_name: "extname"
|
1342
|
+
repeated :options, :message, 2, "pg_query.Node", json_name: "options"
|
1343
1343
|
end
|
1344
1344
|
add_message "pg_query.AlterExtensionContentsStmt" do
|
1345
|
-
optional :extname, :string, 1
|
1346
|
-
optional :action, :int32, 2
|
1347
|
-
optional :objtype, :enum, 3, "pg_query.ObjectType"
|
1348
|
-
optional :object, :message, 4, "pg_query.Node"
|
1345
|
+
optional :extname, :string, 1, json_name: "extname"
|
1346
|
+
optional :action, :int32, 2, json_name: "action"
|
1347
|
+
optional :objtype, :enum, 3, "pg_query.ObjectType", json_name: "objtype"
|
1348
|
+
optional :object, :message, 4, "pg_query.Node", json_name: "object"
|
1349
1349
|
end
|
1350
1350
|
add_message "pg_query.CreateEventTrigStmt" do
|
1351
|
-
optional :trigname, :string, 1
|
1352
|
-
optional :eventname, :string, 2
|
1353
|
-
repeated :whenclause, :message, 3, "pg_query.Node"
|
1354
|
-
repeated :funcname, :message, 4, "pg_query.Node"
|
1351
|
+
optional :trigname, :string, 1, json_name: "trigname"
|
1352
|
+
optional :eventname, :string, 2, json_name: "eventname"
|
1353
|
+
repeated :whenclause, :message, 3, "pg_query.Node", json_name: "whenclause"
|
1354
|
+
repeated :funcname, :message, 4, "pg_query.Node", json_name: "funcname"
|
1355
1355
|
end
|
1356
1356
|
add_message "pg_query.AlterEventTrigStmt" do
|
1357
|
-
optional :trigname, :string, 1
|
1358
|
-
optional :tgenabled, :string, 2
|
1357
|
+
optional :trigname, :string, 1, json_name: "trigname"
|
1358
|
+
optional :tgenabled, :string, 2, json_name: "tgenabled"
|
1359
1359
|
end
|
1360
1360
|
add_message "pg_query.RefreshMatViewStmt" do
|
1361
|
-
optional :concurrent, :bool, 1
|
1362
|
-
optional :skip_data, :bool, 2
|
1363
|
-
optional :relation, :message, 3, "pg_query.RangeVar"
|
1361
|
+
optional :concurrent, :bool, 1, json_name: "concurrent"
|
1362
|
+
optional :skip_data, :bool, 2, json_name: "skipData"
|
1363
|
+
optional :relation, :message, 3, "pg_query.RangeVar", json_name: "relation"
|
1364
1364
|
end
|
1365
1365
|
add_message "pg_query.ReplicaIdentityStmt" do
|
1366
|
-
optional :identity_type, :string, 1
|
1367
|
-
optional :name, :string, 2
|
1366
|
+
optional :identity_type, :string, 1, json_name: "identity_type"
|
1367
|
+
optional :name, :string, 2, json_name: "name"
|
1368
1368
|
end
|
1369
1369
|
add_message "pg_query.AlterSystemStmt" do
|
1370
|
-
optional :setstmt, :message, 1, "pg_query.VariableSetStmt"
|
1370
|
+
optional :setstmt, :message, 1, "pg_query.VariableSetStmt", json_name: "setstmt"
|
1371
1371
|
end
|
1372
1372
|
add_message "pg_query.CreatePolicyStmt" do
|
1373
|
-
optional :policy_name, :string, 1
|
1374
|
-
optional :table, :message, 2, "pg_query.RangeVar"
|
1375
|
-
optional :cmd_name, :string, 3
|
1376
|
-
optional :permissive, :bool, 4
|
1377
|
-
repeated :roles, :message, 5, "pg_query.Node"
|
1378
|
-
optional :qual, :message, 6, "pg_query.Node"
|
1379
|
-
optional :with_check, :message, 7, "pg_query.Node"
|
1373
|
+
optional :policy_name, :string, 1, json_name: "policy_name"
|
1374
|
+
optional :table, :message, 2, "pg_query.RangeVar", json_name: "table"
|
1375
|
+
optional :cmd_name, :string, 3, json_name: "cmd_name"
|
1376
|
+
optional :permissive, :bool, 4, json_name: "permissive"
|
1377
|
+
repeated :roles, :message, 5, "pg_query.Node", json_name: "roles"
|
1378
|
+
optional :qual, :message, 6, "pg_query.Node", json_name: "qual"
|
1379
|
+
optional :with_check, :message, 7, "pg_query.Node", json_name: "with_check"
|
1380
1380
|
end
|
1381
1381
|
add_message "pg_query.AlterPolicyStmt" do
|
1382
|
-
optional :policy_name, :string, 1
|
1383
|
-
optional :table, :message, 2, "pg_query.RangeVar"
|
1384
|
-
repeated :roles, :message, 3, "pg_query.Node"
|
1385
|
-
optional :qual, :message, 4, "pg_query.Node"
|
1386
|
-
optional :with_check, :message, 5, "pg_query.Node"
|
1382
|
+
optional :policy_name, :string, 1, json_name: "policy_name"
|
1383
|
+
optional :table, :message, 2, "pg_query.RangeVar", json_name: "table"
|
1384
|
+
repeated :roles, :message, 3, "pg_query.Node", json_name: "roles"
|
1385
|
+
optional :qual, :message, 4, "pg_query.Node", json_name: "qual"
|
1386
|
+
optional :with_check, :message, 5, "pg_query.Node", json_name: "with_check"
|
1387
1387
|
end
|
1388
1388
|
add_message "pg_query.CreateTransformStmt" do
|
1389
|
-
optional :replace, :bool, 1
|
1390
|
-
optional :type_name, :message, 2, "pg_query.TypeName"
|
1391
|
-
optional :lang, :string, 3
|
1392
|
-
optional :fromsql, :message, 4, "pg_query.ObjectWithArgs"
|
1393
|
-
optional :tosql, :message, 5, "pg_query.ObjectWithArgs"
|
1389
|
+
optional :replace, :bool, 1, json_name: "replace"
|
1390
|
+
optional :type_name, :message, 2, "pg_query.TypeName", json_name: "type_name"
|
1391
|
+
optional :lang, :string, 3, json_name: "lang"
|
1392
|
+
optional :fromsql, :message, 4, "pg_query.ObjectWithArgs", json_name: "fromsql"
|
1393
|
+
optional :tosql, :message, 5, "pg_query.ObjectWithArgs", json_name: "tosql"
|
1394
1394
|
end
|
1395
1395
|
add_message "pg_query.CreateAmStmt" do
|
1396
|
-
optional :amname, :string, 1
|
1397
|
-
repeated :handler_name, :message, 2, "pg_query.Node"
|
1398
|
-
optional :amtype, :string, 3
|
1396
|
+
optional :amname, :string, 1, json_name: "amname"
|
1397
|
+
repeated :handler_name, :message, 2, "pg_query.Node", json_name: "handler_name"
|
1398
|
+
optional :amtype, :string, 3, json_name: "amtype"
|
1399
1399
|
end
|
1400
1400
|
add_message "pg_query.CreatePublicationStmt" do
|
1401
|
-
optional :pubname, :string, 1
|
1402
|
-
repeated :options, :message, 2, "pg_query.Node"
|
1403
|
-
repeated :tables, :message, 3, "pg_query.Node"
|
1404
|
-
optional :for_all_tables, :bool, 4
|
1401
|
+
optional :pubname, :string, 1, json_name: "pubname"
|
1402
|
+
repeated :options, :message, 2, "pg_query.Node", json_name: "options"
|
1403
|
+
repeated :tables, :message, 3, "pg_query.Node", json_name: "tables"
|
1404
|
+
optional :for_all_tables, :bool, 4, json_name: "for_all_tables"
|
1405
1405
|
end
|
1406
1406
|
add_message "pg_query.AlterPublicationStmt" do
|
1407
|
-
optional :pubname, :string, 1
|
1408
|
-
repeated :options, :message, 2, "pg_query.Node"
|
1409
|
-
repeated :tables, :message, 3, "pg_query.Node"
|
1410
|
-
optional :for_all_tables, :bool, 4
|
1411
|
-
optional :table_action, :enum, 5, "pg_query.DefElemAction"
|
1407
|
+
optional :pubname, :string, 1, json_name: "pubname"
|
1408
|
+
repeated :options, :message, 2, "pg_query.Node", json_name: "options"
|
1409
|
+
repeated :tables, :message, 3, "pg_query.Node", json_name: "tables"
|
1410
|
+
optional :for_all_tables, :bool, 4, json_name: "for_all_tables"
|
1411
|
+
optional :table_action, :enum, 5, "pg_query.DefElemAction", json_name: "tableAction"
|
1412
1412
|
end
|
1413
1413
|
add_message "pg_query.CreateSubscriptionStmt" do
|
1414
|
-
optional :subname, :string, 1
|
1415
|
-
optional :conninfo, :string, 2
|
1416
|
-
repeated :publication, :message, 3, "pg_query.Node"
|
1417
|
-
repeated :options, :message, 4, "pg_query.Node"
|
1414
|
+
optional :subname, :string, 1, json_name: "subname"
|
1415
|
+
optional :conninfo, :string, 2, json_name: "conninfo"
|
1416
|
+
repeated :publication, :message, 3, "pg_query.Node", json_name: "publication"
|
1417
|
+
repeated :options, :message, 4, "pg_query.Node", json_name: "options"
|
1418
1418
|
end
|
1419
1419
|
add_message "pg_query.AlterSubscriptionStmt" do
|
1420
|
-
optional :kind, :enum, 1, "pg_query.AlterSubscriptionType"
|
1421
|
-
optional :subname, :string, 2
|
1422
|
-
optional :conninfo, :string, 3
|
1423
|
-
repeated :publication, :message, 4, "pg_query.Node"
|
1424
|
-
repeated :options, :message, 5, "pg_query.Node"
|
1420
|
+
optional :kind, :enum, 1, "pg_query.AlterSubscriptionType", json_name: "kind"
|
1421
|
+
optional :subname, :string, 2, json_name: "subname"
|
1422
|
+
optional :conninfo, :string, 3, json_name: "conninfo"
|
1423
|
+
repeated :publication, :message, 4, "pg_query.Node", json_name: "publication"
|
1424
|
+
repeated :options, :message, 5, "pg_query.Node", json_name: "options"
|
1425
1425
|
end
|
1426
1426
|
add_message "pg_query.DropSubscriptionStmt" do
|
1427
|
-
optional :subname, :string, 1
|
1428
|
-
optional :missing_ok, :bool, 2
|
1429
|
-
optional :behavior, :enum, 3, "pg_query.DropBehavior"
|
1427
|
+
optional :subname, :string, 1, json_name: "subname"
|
1428
|
+
optional :missing_ok, :bool, 2, json_name: "missing_ok"
|
1429
|
+
optional :behavior, :enum, 3, "pg_query.DropBehavior", json_name: "behavior"
|
1430
1430
|
end
|
1431
1431
|
add_message "pg_query.CreateStatsStmt" do
|
1432
|
-
repeated :defnames, :message, 1, "pg_query.Node"
|
1433
|
-
repeated :stat_types, :message, 2, "pg_query.Node"
|
1434
|
-
repeated :exprs, :message, 3, "pg_query.Node"
|
1435
|
-
repeated :relations, :message, 4, "pg_query.Node"
|
1436
|
-
optional :stxcomment, :string, 5
|
1437
|
-
optional :if_not_exists, :bool, 6
|
1432
|
+
repeated :defnames, :message, 1, "pg_query.Node", json_name: "defnames"
|
1433
|
+
repeated :stat_types, :message, 2, "pg_query.Node", json_name: "stat_types"
|
1434
|
+
repeated :exprs, :message, 3, "pg_query.Node", json_name: "exprs"
|
1435
|
+
repeated :relations, :message, 4, "pg_query.Node", json_name: "relations"
|
1436
|
+
optional :stxcomment, :string, 5, json_name: "stxcomment"
|
1437
|
+
optional :if_not_exists, :bool, 6, json_name: "if_not_exists"
|
1438
1438
|
end
|
1439
1439
|
add_message "pg_query.AlterCollationStmt" do
|
1440
|
-
repeated :collname, :message, 1, "pg_query.Node"
|
1440
|
+
repeated :collname, :message, 1, "pg_query.Node", json_name: "collname"
|
1441
1441
|
end
|
1442
1442
|
add_message "pg_query.CallStmt" do
|
1443
|
-
optional :funccall, :message, 1, "pg_query.FuncCall"
|
1444
|
-
optional :funcexpr, :message, 2, "pg_query.FuncExpr"
|
1443
|
+
optional :funccall, :message, 1, "pg_query.FuncCall", json_name: "funccall"
|
1444
|
+
optional :funcexpr, :message, 2, "pg_query.FuncExpr", json_name: "funcexpr"
|
1445
1445
|
end
|
1446
1446
|
add_message "pg_query.AlterStatsStmt" do
|
1447
|
-
repeated :defnames, :message, 1, "pg_query.Node"
|
1448
|
-
optional :stxstattarget, :int32, 2
|
1449
|
-
optional :missing_ok, :bool, 3
|
1447
|
+
repeated :defnames, :message, 1, "pg_query.Node", json_name: "defnames"
|
1448
|
+
optional :stxstattarget, :int32, 2, json_name: "stxstattarget"
|
1449
|
+
optional :missing_ok, :bool, 3, json_name: "missing_ok"
|
1450
1450
|
end
|
1451
1451
|
add_message "pg_query.A_Expr" do
|
1452
|
-
optional :kind, :enum, 1, "pg_query.A_Expr_Kind"
|
1453
|
-
repeated :name, :message, 2, "pg_query.Node"
|
1454
|
-
optional :lexpr, :message, 3, "pg_query.Node"
|
1455
|
-
optional :rexpr, :message, 4, "pg_query.Node"
|
1456
|
-
optional :location, :int32, 5
|
1452
|
+
optional :kind, :enum, 1, "pg_query.A_Expr_Kind", json_name: "kind"
|
1453
|
+
repeated :name, :message, 2, "pg_query.Node", json_name: "name"
|
1454
|
+
optional :lexpr, :message, 3, "pg_query.Node", json_name: "lexpr"
|
1455
|
+
optional :rexpr, :message, 4, "pg_query.Node", json_name: "rexpr"
|
1456
|
+
optional :location, :int32, 5, json_name: "location"
|
1457
1457
|
end
|
1458
1458
|
add_message "pg_query.ColumnRef" do
|
1459
|
-
repeated :fields, :message, 1, "pg_query.Node"
|
1460
|
-
optional :location, :int32, 2
|
1459
|
+
repeated :fields, :message, 1, "pg_query.Node", json_name: "fields"
|
1460
|
+
optional :location, :int32, 2, json_name: "location"
|
1461
1461
|
end
|
1462
1462
|
add_message "pg_query.ParamRef" do
|
1463
|
-
optional :number, :int32, 1
|
1464
|
-
optional :location, :int32, 2
|
1463
|
+
optional :number, :int32, 1, json_name: "number"
|
1464
|
+
optional :location, :int32, 2, json_name: "location"
|
1465
1465
|
end
|
1466
1466
|
add_message "pg_query.A_Const" do
|
1467
|
-
optional :val, :message, 1, "pg_query.Node"
|
1468
|
-
optional :location, :int32, 2
|
1467
|
+
optional :val, :message, 1, "pg_query.Node", json_name: "val"
|
1468
|
+
optional :location, :int32, 2, json_name: "location"
|
1469
1469
|
end
|
1470
1470
|
add_message "pg_query.FuncCall" do
|
1471
|
-
repeated :funcname, :message, 1, "pg_query.Node"
|
1472
|
-
repeated :args, :message, 2, "pg_query.Node"
|
1473
|
-
repeated :agg_order, :message, 3, "pg_query.Node"
|
1474
|
-
optional :agg_filter, :message, 4, "pg_query.Node"
|
1475
|
-
optional :agg_within_group, :bool, 5
|
1476
|
-
optional :agg_star, :bool, 6
|
1477
|
-
optional :agg_distinct, :bool, 7
|
1478
|
-
optional :func_variadic, :bool, 8
|
1479
|
-
optional :over, :message, 9, "pg_query.WindowDef"
|
1480
|
-
optional :location, :int32, 10
|
1471
|
+
repeated :funcname, :message, 1, "pg_query.Node", json_name: "funcname"
|
1472
|
+
repeated :args, :message, 2, "pg_query.Node", json_name: "args"
|
1473
|
+
repeated :agg_order, :message, 3, "pg_query.Node", json_name: "agg_order"
|
1474
|
+
optional :agg_filter, :message, 4, "pg_query.Node", json_name: "agg_filter"
|
1475
|
+
optional :agg_within_group, :bool, 5, json_name: "agg_within_group"
|
1476
|
+
optional :agg_star, :bool, 6, json_name: "agg_star"
|
1477
|
+
optional :agg_distinct, :bool, 7, json_name: "agg_distinct"
|
1478
|
+
optional :func_variadic, :bool, 8, json_name: "func_variadic"
|
1479
|
+
optional :over, :message, 9, "pg_query.WindowDef", json_name: "over"
|
1480
|
+
optional :location, :int32, 10, json_name: "location"
|
1481
1481
|
end
|
1482
1482
|
add_message "pg_query.A_Star" do
|
1483
1483
|
end
|
1484
1484
|
add_message "pg_query.A_Indices" do
|
1485
|
-
optional :is_slice, :bool, 1
|
1486
|
-
optional :lidx, :message, 2, "pg_query.Node"
|
1487
|
-
optional :uidx, :message, 3, "pg_query.Node"
|
1485
|
+
optional :is_slice, :bool, 1, json_name: "is_slice"
|
1486
|
+
optional :lidx, :message, 2, "pg_query.Node", json_name: "lidx"
|
1487
|
+
optional :uidx, :message, 3, "pg_query.Node", json_name: "uidx"
|
1488
1488
|
end
|
1489
1489
|
add_message "pg_query.A_Indirection" do
|
1490
|
-
optional :arg, :message, 1, "pg_query.Node"
|
1491
|
-
repeated :indirection, :message, 2, "pg_query.Node"
|
1490
|
+
optional :arg, :message, 1, "pg_query.Node", json_name: "arg"
|
1491
|
+
repeated :indirection, :message, 2, "pg_query.Node", json_name: "indirection"
|
1492
1492
|
end
|
1493
1493
|
add_message "pg_query.A_ArrayExpr" do
|
1494
|
-
repeated :elements, :message, 1, "pg_query.Node"
|
1495
|
-
optional :location, :int32, 2
|
1494
|
+
repeated :elements, :message, 1, "pg_query.Node", json_name: "elements"
|
1495
|
+
optional :location, :int32, 2, json_name: "location"
|
1496
1496
|
end
|
1497
1497
|
add_message "pg_query.ResTarget" do
|
1498
|
-
optional :name, :string, 1
|
1499
|
-
repeated :indirection, :message, 2, "pg_query.Node"
|
1500
|
-
optional :val, :message, 3, "pg_query.Node"
|
1501
|
-
optional :location, :int32, 4
|
1498
|
+
optional :name, :string, 1, json_name: "name"
|
1499
|
+
repeated :indirection, :message, 2, "pg_query.Node", json_name: "indirection"
|
1500
|
+
optional :val, :message, 3, "pg_query.Node", json_name: "val"
|
1501
|
+
optional :location, :int32, 4, json_name: "location"
|
1502
1502
|
end
|
1503
1503
|
add_message "pg_query.MultiAssignRef" do
|
1504
|
-
optional :source, :message, 1, "pg_query.Node"
|
1505
|
-
optional :colno, :int32, 2
|
1506
|
-
optional :ncolumns, :int32, 3
|
1504
|
+
optional :source, :message, 1, "pg_query.Node", json_name: "source"
|
1505
|
+
optional :colno, :int32, 2, json_name: "colno"
|
1506
|
+
optional :ncolumns, :int32, 3, json_name: "ncolumns"
|
1507
1507
|
end
|
1508
1508
|
add_message "pg_query.TypeCast" do
|
1509
|
-
optional :arg, :message, 1, "pg_query.Node"
|
1510
|
-
optional :type_name, :message, 2, "pg_query.TypeName"
|
1511
|
-
optional :location, :int32, 3
|
1509
|
+
optional :arg, :message, 1, "pg_query.Node", json_name: "arg"
|
1510
|
+
optional :type_name, :message, 2, "pg_query.TypeName", json_name: "typeName"
|
1511
|
+
optional :location, :int32, 3, json_name: "location"
|
1512
1512
|
end
|
1513
1513
|
add_message "pg_query.CollateClause" do
|
1514
|
-
optional :arg, :message, 1, "pg_query.Node"
|
1515
|
-
repeated :collname, :message, 2, "pg_query.Node"
|
1516
|
-
optional :location, :int32, 3
|
1514
|
+
optional :arg, :message, 1, "pg_query.Node", json_name: "arg"
|
1515
|
+
repeated :collname, :message, 2, "pg_query.Node", json_name: "collname"
|
1516
|
+
optional :location, :int32, 3, json_name: "location"
|
1517
1517
|
end
|
1518
1518
|
add_message "pg_query.SortBy" do
|
1519
|
-
optional :node, :message, 1, "pg_query.Node"
|
1520
|
-
optional :sortby_dir, :enum, 2, "pg_query.SortByDir"
|
1521
|
-
optional :sortby_nulls, :enum, 3, "pg_query.SortByNulls"
|
1522
|
-
repeated :use_op, :message, 4, "pg_query.Node"
|
1523
|
-
optional :location, :int32, 5
|
1519
|
+
optional :node, :message, 1, "pg_query.Node", json_name: "node"
|
1520
|
+
optional :sortby_dir, :enum, 2, "pg_query.SortByDir", json_name: "sortby_dir"
|
1521
|
+
optional :sortby_nulls, :enum, 3, "pg_query.SortByNulls", json_name: "sortby_nulls"
|
1522
|
+
repeated :use_op, :message, 4, "pg_query.Node", json_name: "useOp"
|
1523
|
+
optional :location, :int32, 5, json_name: "location"
|
1524
1524
|
end
|
1525
1525
|
add_message "pg_query.WindowDef" do
|
1526
|
-
optional :name, :string, 1
|
1527
|
-
optional :refname, :string, 2
|
1528
|
-
repeated :partition_clause, :message, 3, "pg_query.Node"
|
1529
|
-
repeated :order_clause, :message, 4, "pg_query.Node"
|
1530
|
-
optional :frame_options, :int32, 5
|
1531
|
-
optional :start_offset, :message, 6, "pg_query.Node"
|
1532
|
-
optional :end_offset, :message, 7, "pg_query.Node"
|
1533
|
-
optional :location, :int32, 8
|
1526
|
+
optional :name, :string, 1, json_name: "name"
|
1527
|
+
optional :refname, :string, 2, json_name: "refname"
|
1528
|
+
repeated :partition_clause, :message, 3, "pg_query.Node", json_name: "partitionClause"
|
1529
|
+
repeated :order_clause, :message, 4, "pg_query.Node", json_name: "orderClause"
|
1530
|
+
optional :frame_options, :int32, 5, json_name: "frameOptions"
|
1531
|
+
optional :start_offset, :message, 6, "pg_query.Node", json_name: "startOffset"
|
1532
|
+
optional :end_offset, :message, 7, "pg_query.Node", json_name: "endOffset"
|
1533
|
+
optional :location, :int32, 8, json_name: "location"
|
1534
1534
|
end
|
1535
1535
|
add_message "pg_query.RangeSubselect" do
|
1536
|
-
optional :lateral, :bool, 1
|
1537
|
-
optional :subquery, :message, 2, "pg_query.Node"
|
1538
|
-
optional :alias, :message, 3, "pg_query.Alias"
|
1536
|
+
optional :lateral, :bool, 1, json_name: "lateral"
|
1537
|
+
optional :subquery, :message, 2, "pg_query.Node", json_name: "subquery"
|
1538
|
+
optional :alias, :message, 3, "pg_query.Alias", json_name: "alias"
|
1539
1539
|
end
|
1540
1540
|
add_message "pg_query.RangeFunction" do
|
1541
|
-
optional :lateral, :bool, 1
|
1542
|
-
optional :ordinality, :bool, 2
|
1543
|
-
optional :is_rowsfrom, :bool, 3
|
1544
|
-
repeated :functions, :message, 4, "pg_query.Node"
|
1545
|
-
optional :alias, :message, 5, "pg_query.Alias"
|
1546
|
-
repeated :coldeflist, :message, 6, "pg_query.Node"
|
1541
|
+
optional :lateral, :bool, 1, json_name: "lateral"
|
1542
|
+
optional :ordinality, :bool, 2, json_name: "ordinality"
|
1543
|
+
optional :is_rowsfrom, :bool, 3, json_name: "is_rowsfrom"
|
1544
|
+
repeated :functions, :message, 4, "pg_query.Node", json_name: "functions"
|
1545
|
+
optional :alias, :message, 5, "pg_query.Alias", json_name: "alias"
|
1546
|
+
repeated :coldeflist, :message, 6, "pg_query.Node", json_name: "coldeflist"
|
1547
1547
|
end
|
1548
1548
|
add_message "pg_query.RangeTableSample" do
|
1549
|
-
optional :relation, :message, 1, "pg_query.Node"
|
1550
|
-
repeated :method, :message, 2, "pg_query.Node"
|
1551
|
-
repeated :args, :message, 3, "pg_query.Node"
|
1552
|
-
optional :repeatable, :message, 4, "pg_query.Node"
|
1553
|
-
optional :location, :int32, 5
|
1549
|
+
optional :relation, :message, 1, "pg_query.Node", json_name: "relation"
|
1550
|
+
repeated :method, :message, 2, "pg_query.Node", json_name: "method"
|
1551
|
+
repeated :args, :message, 3, "pg_query.Node", json_name: "args"
|
1552
|
+
optional :repeatable, :message, 4, "pg_query.Node", json_name: "repeatable"
|
1553
|
+
optional :location, :int32, 5, json_name: "location"
|
1554
1554
|
end
|
1555
1555
|
add_message "pg_query.RangeTableFunc" do
|
1556
|
-
optional :lateral, :bool, 1
|
1557
|
-
optional :docexpr, :message, 2, "pg_query.Node"
|
1558
|
-
optional :rowexpr, :message, 3, "pg_query.Node"
|
1559
|
-
repeated :namespaces, :message, 4, "pg_query.Node"
|
1560
|
-
repeated :columns, :message, 5, "pg_query.Node"
|
1561
|
-
optional :alias, :message, 6, "pg_query.Alias"
|
1562
|
-
optional :location, :int32, 7
|
1556
|
+
optional :lateral, :bool, 1, json_name: "lateral"
|
1557
|
+
optional :docexpr, :message, 2, "pg_query.Node", json_name: "docexpr"
|
1558
|
+
optional :rowexpr, :message, 3, "pg_query.Node", json_name: "rowexpr"
|
1559
|
+
repeated :namespaces, :message, 4, "pg_query.Node", json_name: "namespaces"
|
1560
|
+
repeated :columns, :message, 5, "pg_query.Node", json_name: "columns"
|
1561
|
+
optional :alias, :message, 6, "pg_query.Alias", json_name: "alias"
|
1562
|
+
optional :location, :int32, 7, json_name: "location"
|
1563
1563
|
end
|
1564
1564
|
add_message "pg_query.RangeTableFuncCol" do
|
1565
|
-
optional :colname, :string, 1
|
1566
|
-
optional :type_name, :message, 2, "pg_query.TypeName"
|
1567
|
-
optional :for_ordinality, :bool, 3
|
1568
|
-
optional :is_not_null, :bool, 4
|
1569
|
-
optional :colexpr, :message, 5, "pg_query.Node"
|
1570
|
-
optional :coldefexpr, :message, 6, "pg_query.Node"
|
1571
|
-
optional :location, :int32, 7
|
1565
|
+
optional :colname, :string, 1, json_name: "colname"
|
1566
|
+
optional :type_name, :message, 2, "pg_query.TypeName", json_name: "typeName"
|
1567
|
+
optional :for_ordinality, :bool, 3, json_name: "for_ordinality"
|
1568
|
+
optional :is_not_null, :bool, 4, json_name: "is_not_null"
|
1569
|
+
optional :colexpr, :message, 5, "pg_query.Node", json_name: "colexpr"
|
1570
|
+
optional :coldefexpr, :message, 6, "pg_query.Node", json_name: "coldefexpr"
|
1571
|
+
optional :location, :int32, 7, json_name: "location"
|
1572
1572
|
end
|
1573
1573
|
add_message "pg_query.TypeName" do
|
1574
|
-
repeated :names, :message, 1, "pg_query.Node"
|
1575
|
-
optional :type_oid, :uint32, 2
|
1576
|
-
optional :setof, :bool, 3
|
1577
|
-
optional :pct_type, :bool, 4
|
1578
|
-
repeated :typmods, :message, 5, "pg_query.Node"
|
1579
|
-
optional :typemod, :int32, 6
|
1580
|
-
repeated :array_bounds, :message, 7, "pg_query.Node"
|
1581
|
-
optional :location, :int32, 8
|
1574
|
+
repeated :names, :message, 1, "pg_query.Node", json_name: "names"
|
1575
|
+
optional :type_oid, :uint32, 2, json_name: "typeOid"
|
1576
|
+
optional :setof, :bool, 3, json_name: "setof"
|
1577
|
+
optional :pct_type, :bool, 4, json_name: "pct_type"
|
1578
|
+
repeated :typmods, :message, 5, "pg_query.Node", json_name: "typmods"
|
1579
|
+
optional :typemod, :int32, 6, json_name: "typemod"
|
1580
|
+
repeated :array_bounds, :message, 7, "pg_query.Node", json_name: "arrayBounds"
|
1581
|
+
optional :location, :int32, 8, json_name: "location"
|
1582
1582
|
end
|
1583
1583
|
add_message "pg_query.ColumnDef" do
|
1584
|
-
optional :colname, :string, 1
|
1585
|
-
optional :type_name, :message, 2, "pg_query.TypeName"
|
1586
|
-
optional :inhcount, :int32, 3
|
1587
|
-
optional :is_local, :bool, 4
|
1588
|
-
optional :is_not_null, :bool, 5
|
1589
|
-
optional :is_from_type, :bool, 6
|
1590
|
-
optional :storage, :string, 7
|
1591
|
-
optional :raw_default, :message, 8, "pg_query.Node"
|
1592
|
-
optional :cooked_default, :message, 9, "pg_query.Node"
|
1593
|
-
optional :identity, :string, 10
|
1594
|
-
optional :identity_sequence, :message, 11, "pg_query.RangeVar"
|
1595
|
-
optional :generated, :string, 12
|
1596
|
-
optional :coll_clause, :message, 13, "pg_query.CollateClause"
|
1597
|
-
optional :coll_oid, :uint32, 14
|
1598
|
-
repeated :constraints, :message, 15, "pg_query.Node"
|
1599
|
-
repeated :fdwoptions, :message, 16, "pg_query.Node"
|
1600
|
-
optional :location, :int32, 17
|
1584
|
+
optional :colname, :string, 1, json_name: "colname"
|
1585
|
+
optional :type_name, :message, 2, "pg_query.TypeName", json_name: "typeName"
|
1586
|
+
optional :inhcount, :int32, 3, json_name: "inhcount"
|
1587
|
+
optional :is_local, :bool, 4, json_name: "is_local"
|
1588
|
+
optional :is_not_null, :bool, 5, json_name: "is_not_null"
|
1589
|
+
optional :is_from_type, :bool, 6, json_name: "is_from_type"
|
1590
|
+
optional :storage, :string, 7, json_name: "storage"
|
1591
|
+
optional :raw_default, :message, 8, "pg_query.Node", json_name: "raw_default"
|
1592
|
+
optional :cooked_default, :message, 9, "pg_query.Node", json_name: "cooked_default"
|
1593
|
+
optional :identity, :string, 10, json_name: "identity"
|
1594
|
+
optional :identity_sequence, :message, 11, "pg_query.RangeVar", json_name: "identitySequence"
|
1595
|
+
optional :generated, :string, 12, json_name: "generated"
|
1596
|
+
optional :coll_clause, :message, 13, "pg_query.CollateClause", json_name: "collClause"
|
1597
|
+
optional :coll_oid, :uint32, 14, json_name: "collOid"
|
1598
|
+
repeated :constraints, :message, 15, "pg_query.Node", json_name: "constraints"
|
1599
|
+
repeated :fdwoptions, :message, 16, "pg_query.Node", json_name: "fdwoptions"
|
1600
|
+
optional :location, :int32, 17, json_name: "location"
|
1601
1601
|
end
|
1602
1602
|
add_message "pg_query.IndexElem" do
|
1603
|
-
optional :name, :string, 1
|
1604
|
-
optional :expr, :message, 2, "pg_query.Node"
|
1605
|
-
optional :indexcolname, :string, 3
|
1606
|
-
repeated :collation, :message, 4, "pg_query.Node"
|
1607
|
-
repeated :opclass, :message, 5, "pg_query.Node"
|
1608
|
-
repeated :opclassopts, :message, 6, "pg_query.Node"
|
1609
|
-
optional :ordering, :enum, 7, "pg_query.SortByDir"
|
1610
|
-
optional :nulls_ordering, :enum, 8, "pg_query.SortByNulls"
|
1603
|
+
optional :name, :string, 1, json_name: "name"
|
1604
|
+
optional :expr, :message, 2, "pg_query.Node", json_name: "expr"
|
1605
|
+
optional :indexcolname, :string, 3, json_name: "indexcolname"
|
1606
|
+
repeated :collation, :message, 4, "pg_query.Node", json_name: "collation"
|
1607
|
+
repeated :opclass, :message, 5, "pg_query.Node", json_name: "opclass"
|
1608
|
+
repeated :opclassopts, :message, 6, "pg_query.Node", json_name: "opclassopts"
|
1609
|
+
optional :ordering, :enum, 7, "pg_query.SortByDir", json_name: "ordering"
|
1610
|
+
optional :nulls_ordering, :enum, 8, "pg_query.SortByNulls", json_name: "nulls_ordering"
|
1611
1611
|
end
|
1612
1612
|
add_message "pg_query.Constraint" do
|
1613
|
-
optional :contype, :enum, 1, "pg_query.ConstrType"
|
1614
|
-
optional :conname, :string, 2
|
1615
|
-
optional :deferrable, :bool, 3
|
1616
|
-
optional :initdeferred, :bool, 4
|
1617
|
-
optional :location, :int32, 5
|
1618
|
-
optional :is_no_inherit, :bool, 6
|
1619
|
-
optional :raw_expr, :message, 7, "pg_query.Node"
|
1620
|
-
optional :cooked_expr, :string, 8
|
1621
|
-
optional :generated_when, :string, 9
|
1622
|
-
repeated :keys, :message, 10, "pg_query.Node"
|
1623
|
-
repeated :including, :message, 11, "pg_query.Node"
|
1624
|
-
repeated :exclusions, :message, 12, "pg_query.Node"
|
1625
|
-
repeated :options, :message, 13, "pg_query.Node"
|
1626
|
-
optional :indexname, :string, 14
|
1627
|
-
optional :indexspace, :string, 15
|
1628
|
-
optional :reset_default_tblspc, :bool, 16
|
1629
|
-
optional :access_method, :string, 17
|
1630
|
-
optional :where_clause, :message, 18, "pg_query.Node"
|
1631
|
-
optional :pktable, :message, 19, "pg_query.RangeVar"
|
1632
|
-
repeated :fk_attrs, :message, 20, "pg_query.Node"
|
1633
|
-
repeated :pk_attrs, :message, 21, "pg_query.Node"
|
1634
|
-
optional :fk_matchtype, :string, 22
|
1635
|
-
optional :fk_upd_action, :string, 23
|
1636
|
-
optional :fk_del_action, :string, 24
|
1637
|
-
repeated :old_conpfeqop, :message, 25, "pg_query.Node"
|
1638
|
-
optional :old_pktable_oid, :uint32, 26
|
1639
|
-
optional :skip_validation, :bool, 27
|
1640
|
-
optional :initially_valid, :bool, 28
|
1613
|
+
optional :contype, :enum, 1, "pg_query.ConstrType", json_name: "contype"
|
1614
|
+
optional :conname, :string, 2, json_name: "conname"
|
1615
|
+
optional :deferrable, :bool, 3, json_name: "deferrable"
|
1616
|
+
optional :initdeferred, :bool, 4, json_name: "initdeferred"
|
1617
|
+
optional :location, :int32, 5, json_name: "location"
|
1618
|
+
optional :is_no_inherit, :bool, 6, json_name: "is_no_inherit"
|
1619
|
+
optional :raw_expr, :message, 7, "pg_query.Node", json_name: "raw_expr"
|
1620
|
+
optional :cooked_expr, :string, 8, json_name: "cooked_expr"
|
1621
|
+
optional :generated_when, :string, 9, json_name: "generated_when"
|
1622
|
+
repeated :keys, :message, 10, "pg_query.Node", json_name: "keys"
|
1623
|
+
repeated :including, :message, 11, "pg_query.Node", json_name: "including"
|
1624
|
+
repeated :exclusions, :message, 12, "pg_query.Node", json_name: "exclusions"
|
1625
|
+
repeated :options, :message, 13, "pg_query.Node", json_name: "options"
|
1626
|
+
optional :indexname, :string, 14, json_name: "indexname"
|
1627
|
+
optional :indexspace, :string, 15, json_name: "indexspace"
|
1628
|
+
optional :reset_default_tblspc, :bool, 16, json_name: "reset_default_tblspc"
|
1629
|
+
optional :access_method, :string, 17, json_name: "access_method"
|
1630
|
+
optional :where_clause, :message, 18, "pg_query.Node", json_name: "where_clause"
|
1631
|
+
optional :pktable, :message, 19, "pg_query.RangeVar", json_name: "pktable"
|
1632
|
+
repeated :fk_attrs, :message, 20, "pg_query.Node", json_name: "fk_attrs"
|
1633
|
+
repeated :pk_attrs, :message, 21, "pg_query.Node", json_name: "pk_attrs"
|
1634
|
+
optional :fk_matchtype, :string, 22, json_name: "fk_matchtype"
|
1635
|
+
optional :fk_upd_action, :string, 23, json_name: "fk_upd_action"
|
1636
|
+
optional :fk_del_action, :string, 24, json_name: "fk_del_action"
|
1637
|
+
repeated :old_conpfeqop, :message, 25, "pg_query.Node", json_name: "old_conpfeqop"
|
1638
|
+
optional :old_pktable_oid, :uint32, 26, json_name: "old_pktable_oid"
|
1639
|
+
optional :skip_validation, :bool, 27, json_name: "skip_validation"
|
1640
|
+
optional :initially_valid, :bool, 28, json_name: "initially_valid"
|
1641
1641
|
end
|
1642
1642
|
add_message "pg_query.DefElem" do
|
1643
|
-
optional :defnamespace, :string, 1
|
1644
|
-
optional :defname, :string, 2
|
1645
|
-
optional :arg, :message, 3, "pg_query.Node"
|
1646
|
-
optional :defaction, :enum, 4, "pg_query.DefElemAction"
|
1647
|
-
optional :location, :int32, 5
|
1643
|
+
optional :defnamespace, :string, 1, json_name: "defnamespace"
|
1644
|
+
optional :defname, :string, 2, json_name: "defname"
|
1645
|
+
optional :arg, :message, 3, "pg_query.Node", json_name: "arg"
|
1646
|
+
optional :defaction, :enum, 4, "pg_query.DefElemAction", json_name: "defaction"
|
1647
|
+
optional :location, :int32, 5, json_name: "location"
|
1648
1648
|
end
|
1649
1649
|
add_message "pg_query.RangeTblEntry" do
|
1650
|
-
optional :rtekind, :enum, 1, "pg_query.RTEKind"
|
1651
|
-
optional :relid, :uint32, 2
|
1652
|
-
optional :relkind, :string, 3
|
1653
|
-
optional :rellockmode, :int32, 4
|
1654
|
-
optional :tablesample, :message, 5, "pg_query.TableSampleClause"
|
1655
|
-
optional :subquery, :message, 6, "pg_query.Query"
|
1656
|
-
optional :security_barrier, :bool, 7
|
1657
|
-
optional :jointype, :enum, 8, "pg_query.JoinType"
|
1658
|
-
optional :joinmergedcols, :int32, 9
|
1659
|
-
repeated :joinaliasvars, :message, 10, "pg_query.Node"
|
1660
|
-
repeated :joinleftcols, :message, 11, "pg_query.Node"
|
1661
|
-
repeated :joinrightcols, :message, 12, "pg_query.Node"
|
1662
|
-
repeated :functions, :message, 13, "pg_query.Node"
|
1663
|
-
optional :funcordinality, :bool, 14
|
1664
|
-
optional :tablefunc, :message, 15, "pg_query.TableFunc"
|
1665
|
-
repeated :values_lists, :message, 16, "pg_query.Node"
|
1666
|
-
optional :ctename, :string, 17
|
1667
|
-
optional :ctelevelsup, :uint32, 18
|
1668
|
-
optional :self_reference, :bool, 19
|
1669
|
-
repeated :coltypes, :message, 20, "pg_query.Node"
|
1670
|
-
repeated :coltypmods, :message, 21, "pg_query.Node"
|
1671
|
-
repeated :colcollations, :message, 22, "pg_query.Node"
|
1672
|
-
optional :enrname, :string, 23
|
1673
|
-
optional :enrtuples, :double, 24
|
1674
|
-
optional :alias, :message, 25, "pg_query.Alias"
|
1675
|
-
optional :eref, :message, 26, "pg_query.Alias"
|
1676
|
-
optional :lateral, :bool, 27
|
1677
|
-
optional :inh, :bool, 28
|
1678
|
-
optional :in_from_cl, :bool, 29
|
1679
|
-
optional :required_perms, :uint32, 30
|
1680
|
-
optional :check_as_user, :uint32, 31
|
1681
|
-
repeated :selected_cols, :uint64, 32
|
1682
|
-
repeated :inserted_cols, :uint64, 33
|
1683
|
-
repeated :updated_cols, :uint64, 34
|
1684
|
-
repeated :extra_updated_cols, :uint64, 35
|
1685
|
-
repeated :security_quals, :message, 36, "pg_query.Node"
|
1650
|
+
optional :rtekind, :enum, 1, "pg_query.RTEKind", json_name: "rtekind"
|
1651
|
+
optional :relid, :uint32, 2, json_name: "relid"
|
1652
|
+
optional :relkind, :string, 3, json_name: "relkind"
|
1653
|
+
optional :rellockmode, :int32, 4, json_name: "rellockmode"
|
1654
|
+
optional :tablesample, :message, 5, "pg_query.TableSampleClause", json_name: "tablesample"
|
1655
|
+
optional :subquery, :message, 6, "pg_query.Query", json_name: "subquery"
|
1656
|
+
optional :security_barrier, :bool, 7, json_name: "security_barrier"
|
1657
|
+
optional :jointype, :enum, 8, "pg_query.JoinType", json_name: "jointype"
|
1658
|
+
optional :joinmergedcols, :int32, 9, json_name: "joinmergedcols"
|
1659
|
+
repeated :joinaliasvars, :message, 10, "pg_query.Node", json_name: "joinaliasvars"
|
1660
|
+
repeated :joinleftcols, :message, 11, "pg_query.Node", json_name: "joinleftcols"
|
1661
|
+
repeated :joinrightcols, :message, 12, "pg_query.Node", json_name: "joinrightcols"
|
1662
|
+
repeated :functions, :message, 13, "pg_query.Node", json_name: "functions"
|
1663
|
+
optional :funcordinality, :bool, 14, json_name: "funcordinality"
|
1664
|
+
optional :tablefunc, :message, 15, "pg_query.TableFunc", json_name: "tablefunc"
|
1665
|
+
repeated :values_lists, :message, 16, "pg_query.Node", json_name: "values_lists"
|
1666
|
+
optional :ctename, :string, 17, json_name: "ctename"
|
1667
|
+
optional :ctelevelsup, :uint32, 18, json_name: "ctelevelsup"
|
1668
|
+
optional :self_reference, :bool, 19, json_name: "self_reference"
|
1669
|
+
repeated :coltypes, :message, 20, "pg_query.Node", json_name: "coltypes"
|
1670
|
+
repeated :coltypmods, :message, 21, "pg_query.Node", json_name: "coltypmods"
|
1671
|
+
repeated :colcollations, :message, 22, "pg_query.Node", json_name: "colcollations"
|
1672
|
+
optional :enrname, :string, 23, json_name: "enrname"
|
1673
|
+
optional :enrtuples, :double, 24, json_name: "enrtuples"
|
1674
|
+
optional :alias, :message, 25, "pg_query.Alias", json_name: "alias"
|
1675
|
+
optional :eref, :message, 26, "pg_query.Alias", json_name: "eref"
|
1676
|
+
optional :lateral, :bool, 27, json_name: "lateral"
|
1677
|
+
optional :inh, :bool, 28, json_name: "inh"
|
1678
|
+
optional :in_from_cl, :bool, 29, json_name: "inFromCl"
|
1679
|
+
optional :required_perms, :uint32, 30, json_name: "requiredPerms"
|
1680
|
+
optional :check_as_user, :uint32, 31, json_name: "checkAsUser"
|
1681
|
+
repeated :selected_cols, :uint64, 32, json_name: "selectedCols"
|
1682
|
+
repeated :inserted_cols, :uint64, 33, json_name: "insertedCols"
|
1683
|
+
repeated :updated_cols, :uint64, 34, json_name: "updatedCols"
|
1684
|
+
repeated :extra_updated_cols, :uint64, 35, json_name: "extraUpdatedCols"
|
1685
|
+
repeated :security_quals, :message, 36, "pg_query.Node", json_name: "securityQuals"
|
1686
1686
|
end
|
1687
1687
|
add_message "pg_query.RangeTblFunction" do
|
1688
|
-
optional :funcexpr, :message, 1, "pg_query.Node"
|
1689
|
-
optional :funccolcount, :int32, 2
|
1690
|
-
repeated :funccolnames, :message, 3, "pg_query.Node"
|
1691
|
-
repeated :funccoltypes, :message, 4, "pg_query.Node"
|
1692
|
-
repeated :funccoltypmods, :message, 5, "pg_query.Node"
|
1693
|
-
repeated :funccolcollations, :message, 6, "pg_query.Node"
|
1694
|
-
repeated :funcparams, :uint64, 7
|
1688
|
+
optional :funcexpr, :message, 1, "pg_query.Node", json_name: "funcexpr"
|
1689
|
+
optional :funccolcount, :int32, 2, json_name: "funccolcount"
|
1690
|
+
repeated :funccolnames, :message, 3, "pg_query.Node", json_name: "funccolnames"
|
1691
|
+
repeated :funccoltypes, :message, 4, "pg_query.Node", json_name: "funccoltypes"
|
1692
|
+
repeated :funccoltypmods, :message, 5, "pg_query.Node", json_name: "funccoltypmods"
|
1693
|
+
repeated :funccolcollations, :message, 6, "pg_query.Node", json_name: "funccolcollations"
|
1694
|
+
repeated :funcparams, :uint64, 7, json_name: "funcparams"
|
1695
1695
|
end
|
1696
1696
|
add_message "pg_query.TableSampleClause" do
|
1697
|
-
optional :tsmhandler, :uint32, 1
|
1698
|
-
repeated :args, :message, 2, "pg_query.Node"
|
1699
|
-
optional :repeatable, :message, 3, "pg_query.Node"
|
1697
|
+
optional :tsmhandler, :uint32, 1, json_name: "tsmhandler"
|
1698
|
+
repeated :args, :message, 2, "pg_query.Node", json_name: "args"
|
1699
|
+
optional :repeatable, :message, 3, "pg_query.Node", json_name: "repeatable"
|
1700
1700
|
end
|
1701
1701
|
add_message "pg_query.WithCheckOption" do
|
1702
|
-
optional :kind, :enum, 1, "pg_query.WCOKind"
|
1703
|
-
optional :relname, :string, 2
|
1704
|
-
optional :polname, :string, 3
|
1705
|
-
optional :qual, :message, 4, "pg_query.Node"
|
1706
|
-
optional :cascaded, :bool, 5
|
1702
|
+
optional :kind, :enum, 1, "pg_query.WCOKind", json_name: "kind"
|
1703
|
+
optional :relname, :string, 2, json_name: "relname"
|
1704
|
+
optional :polname, :string, 3, json_name: "polname"
|
1705
|
+
optional :qual, :message, 4, "pg_query.Node", json_name: "qual"
|
1706
|
+
optional :cascaded, :bool, 5, json_name: "cascaded"
|
1707
1707
|
end
|
1708
1708
|
add_message "pg_query.SortGroupClause" do
|
1709
|
-
optional :tle_sort_group_ref, :uint32, 1
|
1710
|
-
optional :eqop, :uint32, 2
|
1711
|
-
optional :sortop, :uint32, 3
|
1712
|
-
optional :nulls_first, :bool, 4
|
1713
|
-
optional :hashable, :bool, 5
|
1709
|
+
optional :tle_sort_group_ref, :uint32, 1, json_name: "tleSortGroupRef"
|
1710
|
+
optional :eqop, :uint32, 2, json_name: "eqop"
|
1711
|
+
optional :sortop, :uint32, 3, json_name: "sortop"
|
1712
|
+
optional :nulls_first, :bool, 4, json_name: "nulls_first"
|
1713
|
+
optional :hashable, :bool, 5, json_name: "hashable"
|
1714
1714
|
end
|
1715
1715
|
add_message "pg_query.GroupingSet" do
|
1716
|
-
optional :kind, :enum, 1, "pg_query.GroupingSetKind"
|
1717
|
-
repeated :content, :message, 2, "pg_query.Node"
|
1718
|
-
optional :location, :int32, 3
|
1716
|
+
optional :kind, :enum, 1, "pg_query.GroupingSetKind", json_name: "kind"
|
1717
|
+
repeated :content, :message, 2, "pg_query.Node", json_name: "content"
|
1718
|
+
optional :location, :int32, 3, json_name: "location"
|
1719
1719
|
end
|
1720
1720
|
add_message "pg_query.WindowClause" do
|
1721
|
-
optional :name, :string, 1
|
1722
|
-
optional :refname, :string, 2
|
1723
|
-
repeated :partition_clause, :message, 3, "pg_query.Node"
|
1724
|
-
repeated :order_clause, :message, 4, "pg_query.Node"
|
1725
|
-
optional :frame_options, :int32, 5
|
1726
|
-
optional :start_offset, :message, 6, "pg_query.Node"
|
1727
|
-
optional :end_offset, :message, 7, "pg_query.Node"
|
1728
|
-
optional :start_in_range_func, :uint32, 8
|
1729
|
-
optional :end_in_range_func, :uint32, 9
|
1730
|
-
optional :in_range_coll, :uint32, 10
|
1731
|
-
optional :in_range_asc, :bool, 11
|
1732
|
-
optional :in_range_nulls_first, :bool, 12
|
1733
|
-
optional :winref, :uint32, 13
|
1734
|
-
optional :copied_order, :bool, 14
|
1721
|
+
optional :name, :string, 1, json_name: "name"
|
1722
|
+
optional :refname, :string, 2, json_name: "refname"
|
1723
|
+
repeated :partition_clause, :message, 3, "pg_query.Node", json_name: "partitionClause"
|
1724
|
+
repeated :order_clause, :message, 4, "pg_query.Node", json_name: "orderClause"
|
1725
|
+
optional :frame_options, :int32, 5, json_name: "frameOptions"
|
1726
|
+
optional :start_offset, :message, 6, "pg_query.Node", json_name: "startOffset"
|
1727
|
+
optional :end_offset, :message, 7, "pg_query.Node", json_name: "endOffset"
|
1728
|
+
optional :start_in_range_func, :uint32, 8, json_name: "startInRangeFunc"
|
1729
|
+
optional :end_in_range_func, :uint32, 9, json_name: "endInRangeFunc"
|
1730
|
+
optional :in_range_coll, :uint32, 10, json_name: "inRangeColl"
|
1731
|
+
optional :in_range_asc, :bool, 11, json_name: "inRangeAsc"
|
1732
|
+
optional :in_range_nulls_first, :bool, 12, json_name: "inRangeNullsFirst"
|
1733
|
+
optional :winref, :uint32, 13, json_name: "winref"
|
1734
|
+
optional :copied_order, :bool, 14, json_name: "copiedOrder"
|
1735
1735
|
end
|
1736
1736
|
add_message "pg_query.ObjectWithArgs" do
|
1737
|
-
repeated :objname, :message, 1, "pg_query.Node"
|
1738
|
-
repeated :objargs, :message, 2, "pg_query.Node"
|
1739
|
-
optional :args_unspecified, :bool, 3
|
1737
|
+
repeated :objname, :message, 1, "pg_query.Node", json_name: "objname"
|
1738
|
+
repeated :objargs, :message, 2, "pg_query.Node", json_name: "objargs"
|
1739
|
+
optional :args_unspecified, :bool, 3, json_name: "args_unspecified"
|
1740
1740
|
end
|
1741
1741
|
add_message "pg_query.AccessPriv" do
|
1742
|
-
optional :priv_name, :string, 1
|
1743
|
-
repeated :cols, :message, 2, "pg_query.Node"
|
1742
|
+
optional :priv_name, :string, 1, json_name: "priv_name"
|
1743
|
+
repeated :cols, :message, 2, "pg_query.Node", json_name: "cols"
|
1744
1744
|
end
|
1745
1745
|
add_message "pg_query.CreateOpClassItem" do
|
1746
|
-
optional :itemtype, :int32, 1
|
1747
|
-
optional :name, :message, 2, "pg_query.ObjectWithArgs"
|
1748
|
-
optional :number, :int32, 3
|
1749
|
-
repeated :order_family, :message, 4, "pg_query.Node"
|
1750
|
-
repeated :class_args, :message, 5, "pg_query.Node"
|
1751
|
-
optional :storedtype, :message, 6, "pg_query.TypeName"
|
1746
|
+
optional :itemtype, :int32, 1, json_name: "itemtype"
|
1747
|
+
optional :name, :message, 2, "pg_query.ObjectWithArgs", json_name: "name"
|
1748
|
+
optional :number, :int32, 3, json_name: "number"
|
1749
|
+
repeated :order_family, :message, 4, "pg_query.Node", json_name: "order_family"
|
1750
|
+
repeated :class_args, :message, 5, "pg_query.Node", json_name: "class_args"
|
1751
|
+
optional :storedtype, :message, 6, "pg_query.TypeName", json_name: "storedtype"
|
1752
1752
|
end
|
1753
1753
|
add_message "pg_query.TableLikeClause" do
|
1754
|
-
optional :relation, :message, 1, "pg_query.RangeVar"
|
1755
|
-
optional :options, :uint32, 2
|
1754
|
+
optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
|
1755
|
+
optional :options, :uint32, 2, json_name: "options"
|
1756
|
+
optional :relation_oid, :uint32, 3, json_name: "relationOid"
|
1756
1757
|
end
|
1757
1758
|
add_message "pg_query.FunctionParameter" do
|
1758
|
-
optional :name, :string, 1
|
1759
|
-
optional :arg_type, :message, 2, "pg_query.TypeName"
|
1760
|
-
optional :mode, :enum, 3, "pg_query.FunctionParameterMode"
|
1761
|
-
optional :defexpr, :message, 4, "pg_query.Node"
|
1759
|
+
optional :name, :string, 1, json_name: "name"
|
1760
|
+
optional :arg_type, :message, 2, "pg_query.TypeName", json_name: "argType"
|
1761
|
+
optional :mode, :enum, 3, "pg_query.FunctionParameterMode", json_name: "mode"
|
1762
|
+
optional :defexpr, :message, 4, "pg_query.Node", json_name: "defexpr"
|
1762
1763
|
end
|
1763
1764
|
add_message "pg_query.LockingClause" do
|
1764
|
-
repeated :locked_rels, :message, 1, "pg_query.Node"
|
1765
|
-
optional :strength, :enum, 2, "pg_query.LockClauseStrength"
|
1766
|
-
optional :wait_policy, :enum, 3, "pg_query.LockWaitPolicy"
|
1765
|
+
repeated :locked_rels, :message, 1, "pg_query.Node", json_name: "lockedRels"
|
1766
|
+
optional :strength, :enum, 2, "pg_query.LockClauseStrength", json_name: "strength"
|
1767
|
+
optional :wait_policy, :enum, 3, "pg_query.LockWaitPolicy", json_name: "waitPolicy"
|
1767
1768
|
end
|
1768
1769
|
add_message "pg_query.RowMarkClause" do
|
1769
|
-
optional :rti, :uint32, 1
|
1770
|
-
optional :strength, :enum, 2, "pg_query.LockClauseStrength"
|
1771
|
-
optional :wait_policy, :enum, 3, "pg_query.LockWaitPolicy"
|
1772
|
-
optional :pushed_down, :bool, 4
|
1770
|
+
optional :rti, :uint32, 1, json_name: "rti"
|
1771
|
+
optional :strength, :enum, 2, "pg_query.LockClauseStrength", json_name: "strength"
|
1772
|
+
optional :wait_policy, :enum, 3, "pg_query.LockWaitPolicy", json_name: "waitPolicy"
|
1773
|
+
optional :pushed_down, :bool, 4, json_name: "pushedDown"
|
1773
1774
|
end
|
1774
1775
|
add_message "pg_query.XmlSerialize" do
|
1775
|
-
optional :xmloption, :enum, 1, "pg_query.XmlOptionType"
|
1776
|
-
optional :expr, :message, 2, "pg_query.Node"
|
1777
|
-
optional :type_name, :message, 3, "pg_query.TypeName"
|
1778
|
-
optional :location, :int32, 4
|
1776
|
+
optional :xmloption, :enum, 1, "pg_query.XmlOptionType", json_name: "xmloption"
|
1777
|
+
optional :expr, :message, 2, "pg_query.Node", json_name: "expr"
|
1778
|
+
optional :type_name, :message, 3, "pg_query.TypeName", json_name: "typeName"
|
1779
|
+
optional :location, :int32, 4, json_name: "location"
|
1779
1780
|
end
|
1780
1781
|
add_message "pg_query.WithClause" do
|
1781
|
-
repeated :ctes, :message, 1, "pg_query.Node"
|
1782
|
-
optional :recursive, :bool, 2
|
1783
|
-
optional :location, :int32, 3
|
1782
|
+
repeated :ctes, :message, 1, "pg_query.Node", json_name: "ctes"
|
1783
|
+
optional :recursive, :bool, 2, json_name: "recursive"
|
1784
|
+
optional :location, :int32, 3, json_name: "location"
|
1784
1785
|
end
|
1785
1786
|
add_message "pg_query.InferClause" do
|
1786
|
-
repeated :index_elems, :message, 1, "pg_query.Node"
|
1787
|
-
optional :where_clause, :message, 2, "pg_query.Node"
|
1788
|
-
optional :conname, :string, 3
|
1789
|
-
optional :location, :int32, 4
|
1787
|
+
repeated :index_elems, :message, 1, "pg_query.Node", json_name: "indexElems"
|
1788
|
+
optional :where_clause, :message, 2, "pg_query.Node", json_name: "whereClause"
|
1789
|
+
optional :conname, :string, 3, json_name: "conname"
|
1790
|
+
optional :location, :int32, 4, json_name: "location"
|
1790
1791
|
end
|
1791
1792
|
add_message "pg_query.OnConflictClause" do
|
1792
|
-
optional :action, :enum, 1, "pg_query.OnConflictAction"
|
1793
|
-
optional :infer, :message, 2, "pg_query.InferClause"
|
1794
|
-
repeated :target_list, :message, 3, "pg_query.Node"
|
1795
|
-
optional :where_clause, :message, 4, "pg_query.Node"
|
1796
|
-
optional :location, :int32, 5
|
1793
|
+
optional :action, :enum, 1, "pg_query.OnConflictAction", json_name: "action"
|
1794
|
+
optional :infer, :message, 2, "pg_query.InferClause", json_name: "infer"
|
1795
|
+
repeated :target_list, :message, 3, "pg_query.Node", json_name: "targetList"
|
1796
|
+
optional :where_clause, :message, 4, "pg_query.Node", json_name: "whereClause"
|
1797
|
+
optional :location, :int32, 5, json_name: "location"
|
1797
1798
|
end
|
1798
1799
|
add_message "pg_query.CommonTableExpr" do
|
1799
|
-
optional :ctename, :string, 1
|
1800
|
-
repeated :aliascolnames, :message, 2, "pg_query.Node"
|
1801
|
-
optional :ctematerialized, :enum, 3, "pg_query.CTEMaterialize"
|
1802
|
-
optional :ctequery, :message, 4, "pg_query.Node"
|
1803
|
-
optional :location, :int32, 5
|
1804
|
-
optional :cterecursive, :bool, 6
|
1805
|
-
optional :cterefcount, :int32, 7
|
1806
|
-
repeated :ctecolnames, :message, 8, "pg_query.Node"
|
1807
|
-
repeated :ctecoltypes, :message, 9, "pg_query.Node"
|
1808
|
-
repeated :ctecoltypmods, :message, 10, "pg_query.Node"
|
1809
|
-
repeated :ctecolcollations, :message, 11, "pg_query.Node"
|
1800
|
+
optional :ctename, :string, 1, json_name: "ctename"
|
1801
|
+
repeated :aliascolnames, :message, 2, "pg_query.Node", json_name: "aliascolnames"
|
1802
|
+
optional :ctematerialized, :enum, 3, "pg_query.CTEMaterialize", json_name: "ctematerialized"
|
1803
|
+
optional :ctequery, :message, 4, "pg_query.Node", json_name: "ctequery"
|
1804
|
+
optional :location, :int32, 5, json_name: "location"
|
1805
|
+
optional :cterecursive, :bool, 6, json_name: "cterecursive"
|
1806
|
+
optional :cterefcount, :int32, 7, json_name: "cterefcount"
|
1807
|
+
repeated :ctecolnames, :message, 8, "pg_query.Node", json_name: "ctecolnames"
|
1808
|
+
repeated :ctecoltypes, :message, 9, "pg_query.Node", json_name: "ctecoltypes"
|
1809
|
+
repeated :ctecoltypmods, :message, 10, "pg_query.Node", json_name: "ctecoltypmods"
|
1810
|
+
repeated :ctecolcollations, :message, 11, "pg_query.Node", json_name: "ctecolcollations"
|
1810
1811
|
end
|
1811
1812
|
add_message "pg_query.RoleSpec" do
|
1812
|
-
optional :roletype, :enum, 1, "pg_query.RoleSpecType"
|
1813
|
-
optional :rolename, :string, 2
|
1814
|
-
optional :location, :int32, 3
|
1813
|
+
optional :roletype, :enum, 1, "pg_query.RoleSpecType", json_name: "roletype"
|
1814
|
+
optional :rolename, :string, 2, json_name: "rolename"
|
1815
|
+
optional :location, :int32, 3, json_name: "location"
|
1815
1816
|
end
|
1816
1817
|
add_message "pg_query.TriggerTransition" do
|
1817
|
-
optional :name, :string, 1
|
1818
|
-
optional :is_new, :bool, 2
|
1819
|
-
optional :is_table, :bool, 3
|
1818
|
+
optional :name, :string, 1, json_name: "name"
|
1819
|
+
optional :is_new, :bool, 2, json_name: "isNew"
|
1820
|
+
optional :is_table, :bool, 3, json_name: "isTable"
|
1820
1821
|
end
|
1821
1822
|
add_message "pg_query.PartitionElem" do
|
1822
|
-
optional :name, :string, 1
|
1823
|
-
optional :expr, :message, 2, "pg_query.Node"
|
1824
|
-
repeated :collation, :message, 3, "pg_query.Node"
|
1825
|
-
repeated :opclass, :message, 4, "pg_query.Node"
|
1826
|
-
optional :location, :int32, 5
|
1823
|
+
optional :name, :string, 1, json_name: "name"
|
1824
|
+
optional :expr, :message, 2, "pg_query.Node", json_name: "expr"
|
1825
|
+
repeated :collation, :message, 3, "pg_query.Node", json_name: "collation"
|
1826
|
+
repeated :opclass, :message, 4, "pg_query.Node", json_name: "opclass"
|
1827
|
+
optional :location, :int32, 5, json_name: "location"
|
1827
1828
|
end
|
1828
1829
|
add_message "pg_query.PartitionSpec" do
|
1829
|
-
optional :strategy, :string, 1
|
1830
|
-
repeated :part_params, :message, 2, "pg_query.Node"
|
1831
|
-
optional :location, :int32, 3
|
1830
|
+
optional :strategy, :string, 1, json_name: "strategy"
|
1831
|
+
repeated :part_params, :message, 2, "pg_query.Node", json_name: "partParams"
|
1832
|
+
optional :location, :int32, 3, json_name: "location"
|
1832
1833
|
end
|
1833
1834
|
add_message "pg_query.PartitionBoundSpec" do
|
1834
|
-
optional :strategy, :string, 1
|
1835
|
-
optional :is_default, :bool, 2
|
1836
|
-
optional :modulus, :int32, 3
|
1837
|
-
optional :remainder, :int32, 4
|
1838
|
-
repeated :listdatums, :message, 5, "pg_query.Node"
|
1839
|
-
repeated :lowerdatums, :message, 6, "pg_query.Node"
|
1840
|
-
repeated :upperdatums, :message, 7, "pg_query.Node"
|
1841
|
-
optional :location, :int32, 8
|
1835
|
+
optional :strategy, :string, 1, json_name: "strategy"
|
1836
|
+
optional :is_default, :bool, 2, json_name: "is_default"
|
1837
|
+
optional :modulus, :int32, 3, json_name: "modulus"
|
1838
|
+
optional :remainder, :int32, 4, json_name: "remainder"
|
1839
|
+
repeated :listdatums, :message, 5, "pg_query.Node", json_name: "listdatums"
|
1840
|
+
repeated :lowerdatums, :message, 6, "pg_query.Node", json_name: "lowerdatums"
|
1841
|
+
repeated :upperdatums, :message, 7, "pg_query.Node", json_name: "upperdatums"
|
1842
|
+
optional :location, :int32, 8, json_name: "location"
|
1842
1843
|
end
|
1843
1844
|
add_message "pg_query.PartitionRangeDatum" do
|
1844
|
-
optional :kind, :enum, 1, "pg_query.PartitionRangeDatumKind"
|
1845
|
-
optional :value, :message, 2, "pg_query.Node"
|
1846
|
-
optional :location, :int32, 3
|
1845
|
+
optional :kind, :enum, 1, "pg_query.PartitionRangeDatumKind", json_name: "kind"
|
1846
|
+
optional :value, :message, 2, "pg_query.Node", json_name: "value"
|
1847
|
+
optional :location, :int32, 3, json_name: "location"
|
1847
1848
|
end
|
1848
1849
|
add_message "pg_query.PartitionCmd" do
|
1849
|
-
optional :name, :message, 1, "pg_query.RangeVar"
|
1850
|
-
optional :bound, :message, 2, "pg_query.PartitionBoundSpec"
|
1850
|
+
optional :name, :message, 1, "pg_query.RangeVar", json_name: "name"
|
1851
|
+
optional :bound, :message, 2, "pg_query.PartitionBoundSpec", json_name: "bound"
|
1851
1852
|
end
|
1852
1853
|
add_message "pg_query.VacuumRelation" do
|
1853
|
-
optional :relation, :message, 1, "pg_query.RangeVar"
|
1854
|
-
optional :oid, :uint32, 2
|
1855
|
-
repeated :va_cols, :message, 3, "pg_query.Node"
|
1854
|
+
optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
|
1855
|
+
optional :oid, :uint32, 2, json_name: "oid"
|
1856
|
+
repeated :va_cols, :message, 3, "pg_query.Node", json_name: "va_cols"
|
1856
1857
|
end
|
1857
1858
|
add_message "pg_query.InlineCodeBlock" do
|
1858
|
-
optional :source_text, :string, 1
|
1859
|
-
optional :lang_oid, :uint32, 2
|
1860
|
-
optional :lang_is_trusted, :bool, 3
|
1861
|
-
optional :atomic, :bool, 4
|
1859
|
+
optional :source_text, :string, 1, json_name: "source_text"
|
1860
|
+
optional :lang_oid, :uint32, 2, json_name: "langOid"
|
1861
|
+
optional :lang_is_trusted, :bool, 3, json_name: "langIsTrusted"
|
1862
|
+
optional :atomic, :bool, 4, json_name: "atomic"
|
1862
1863
|
end
|
1863
1864
|
add_message "pg_query.CallContext" do
|
1864
|
-
optional :atomic, :bool, 1
|
1865
|
+
optional :atomic, :bool, 1, json_name: "atomic"
|
1865
1866
|
end
|
1866
1867
|
add_message "pg_query.ScanToken" do
|
1867
1868
|
optional :start, :int32, 1
|
@@ -2438,6 +2439,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
2438
2439
|
value :ASCII_62, 62
|
2439
2440
|
value :ASCII_63, 63
|
2440
2441
|
value :ASCII_91, 91
|
2442
|
+
value :ASCII_92, 92
|
2441
2443
|
value :ASCII_93, 93
|
2442
2444
|
value :ASCII_94, 94
|
2443
2445
|
value :IDENT, 258
|