@pgsql/utils 13.12.0 → 17.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/asts.d.ts +817 -0
- package/asts.js +3849 -0
- package/esm/asts.js +3844 -0
- package/{module → esm}/index.js +0 -1
- package/{types/index.d.ts → index.d.ts} +0 -1
- package/{main/index.js → index.js} +0 -1
- package/package.json +21 -60
- package/utils.d.ts +7 -0
- package/main/asts.js +0 -2569
- package/main/wrapped.js +0 -2
- package/module/asts.js +0 -2564
- package/module/wrapped.js +0 -1
- package/src/asts.ts +0 -2565
- package/src/index.ts +0 -4
- package/src/utils.ts +0 -3923
- package/src/wrapped.ts +0 -2097
- package/types/asts.d.ts +0 -235
- package/types/utils.d.ts +0 -7
- package/types/wrapped.d.ts +0 -2097
- /package/{module → esm}/utils.js +0 -0
- /package/{main/utils.js → utils.js} +0 -0
package/src/asts.ts
DELETED
|
@@ -1,2565 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was automatically generated by pg-proto-parser@1.23.0.
|
|
3
|
-
* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file,
|
|
4
|
-
* and run the pg-proto-parser generate command to regenerate this file.
|
|
5
|
-
*/
|
|
6
|
-
import _o from "nested-obj";
|
|
7
|
-
import { ParseResult, ScanResult, Integer, Float, String, BitString, Null, List, OidList, IntList, Alias, RangeVar, TableFunc, Expr, Var, Param, Aggref, GroupingFunc, WindowFunc, SubscriptingRef, FuncExpr, NamedArgExpr, OpExpr, DistinctExpr, NullIfExpr, ScalarArrayOpExpr, BoolExpr, SubLink, SubPlan, AlternativeSubPlan, FieldSelect, FieldStore, RelabelType, CoerceViaIO, ArrayCoerceExpr, ConvertRowtypeExpr, CollateExpr, CaseExpr, CaseWhen, CaseTestExpr, ArrayExpr, RowExpr, RowCompareExpr, CoalesceExpr, MinMaxExpr, SQLValueFunction, XmlExpr, NullTest, BooleanTest, CoerceToDomain, CoerceToDomainValue, SetToDefault, CurrentOfExpr, NextValueExpr, InferenceElem, TargetEntry, RangeTblRef, JoinExpr, FromExpr, OnConflictExpr, IntoClause, RawStmt, Query, InsertStmt, DeleteStmt, UpdateStmt, SelectStmt, AlterTableStmt, AlterTableCmd, AlterDomainStmt, SetOperationStmt, GrantStmt, GrantRoleStmt, AlterDefaultPrivilegesStmt, ClosePortalStmt, ClusterStmt, CopyStmt, CreateStmt, DefineStmt, DropStmt, TruncateStmt, CommentStmt, FetchStmt, IndexStmt, CreateFunctionStmt, AlterFunctionStmt, DoStmt, RenameStmt, RuleStmt, NotifyStmt, ListenStmt, UnlistenStmt, TransactionStmt, ViewStmt, LoadStmt, CreateDomainStmt, CreatedbStmt, DropdbStmt, VacuumStmt, ExplainStmt, CreateTableAsStmt, CreateSeqStmt, AlterSeqStmt, VariableSetStmt, VariableShowStmt, DiscardStmt, CreateTrigStmt, CreatePLangStmt, CreateRoleStmt, AlterRoleStmt, DropRoleStmt, LockStmt, ConstraintsSetStmt, ReindexStmt, CheckPointStmt, CreateSchemaStmt, AlterDatabaseStmt, AlterDatabaseSetStmt, AlterRoleSetStmt, CreateConversionStmt, CreateCastStmt, CreateOpClassStmt, CreateOpFamilyStmt, AlterOpFamilyStmt, PrepareStmt, ExecuteStmt, DeallocateStmt, DeclareCursorStmt, CreateTableSpaceStmt, DropTableSpaceStmt, AlterObjectDependsStmt, AlterObjectSchemaStmt, AlterOwnerStmt, AlterOperatorStmt, AlterTypeStmt, DropOwnedStmt, ReassignOwnedStmt, CompositeTypeStmt, CreateEnumStmt, CreateRangeStmt, AlterEnumStmt, AlterTSDictionaryStmt, AlterTSConfigurationStmt, CreateFdwStmt, AlterFdwStmt, CreateForeignServerStmt, AlterForeignServerStmt, CreateUserMappingStmt, AlterUserMappingStmt, DropUserMappingStmt, AlterTableSpaceOptionsStmt, AlterTableMoveAllStmt, SecLabelStmt, CreateForeignTableStmt, ImportForeignSchemaStmt, CreateExtensionStmt, AlterExtensionStmt, AlterExtensionContentsStmt, CreateEventTrigStmt, AlterEventTrigStmt, RefreshMatViewStmt, ReplicaIdentityStmt, AlterSystemStmt, CreatePolicyStmt, AlterPolicyStmt, CreateTransformStmt, CreateAmStmt, CreatePublicationStmt, AlterPublicationStmt, CreateSubscriptionStmt, AlterSubscriptionStmt, DropSubscriptionStmt, CreateStatsStmt, AlterCollationStmt, CallStmt, AlterStatsStmt, A_Expr, ColumnRef, ParamRef, A_Const, FuncCall, A_Star, A_Indices, A_Indirection, A_ArrayExpr, ResTarget, MultiAssignRef, TypeCast, CollateClause, SortBy, WindowDef, RangeSubselect, RangeFunction, RangeTableSample, RangeTableFunc, RangeTableFuncCol, TypeName, ColumnDef, IndexElem, Constraint, DefElem, RangeTblEntry, RangeTblFunction, TableSampleClause, WithCheckOption, SortGroupClause, GroupingSet, WindowClause, ObjectWithArgs, AccessPriv, CreateOpClassItem, TableLikeClause, FunctionParameter, LockingClause, RowMarkClause, XmlSerialize, WithClause, InferClause, OnConflictClause, CommonTableExpr, RoleSpec, TriggerTransition, PartitionElem, PartitionSpec, PartitionBoundSpec, PartitionRangeDatum, PartitionCmd, VacuumRelation, InlineCodeBlock, CallContext, ScanToken } from "./wrapped";
|
|
8
|
-
export default {
|
|
9
|
-
parseResult(_p?: ParseResult["ParseResult"]): ParseResult {
|
|
10
|
-
const _j = ({
|
|
11
|
-
ParseResult: {}
|
|
12
|
-
} as ParseResult);
|
|
13
|
-
_o.set(_j, "ParseResult.version", _p?.version);
|
|
14
|
-
_o.set(_j, "ParseResult.stmts", _p?.stmts);
|
|
15
|
-
return _j;
|
|
16
|
-
},
|
|
17
|
-
scanResult(_p?: ScanResult["ScanResult"]): ScanResult {
|
|
18
|
-
const _j = ({
|
|
19
|
-
ScanResult: {}
|
|
20
|
-
} as ScanResult);
|
|
21
|
-
_o.set(_j, "ScanResult.version", _p?.version);
|
|
22
|
-
_o.set(_j, "ScanResult.tokens", _p?.tokens);
|
|
23
|
-
return _j;
|
|
24
|
-
},
|
|
25
|
-
integer(_p?: Integer["Integer"]): Integer {
|
|
26
|
-
const _j = ({
|
|
27
|
-
Integer: {}
|
|
28
|
-
} as Integer);
|
|
29
|
-
_o.set(_j, "Integer.ival", _p?.ival);
|
|
30
|
-
return _j;
|
|
31
|
-
},
|
|
32
|
-
float(_p?: Float["Float"]): Float {
|
|
33
|
-
const _j = ({
|
|
34
|
-
Float: {}
|
|
35
|
-
} as Float);
|
|
36
|
-
_o.set(_j, "Float.str", _p?.str);
|
|
37
|
-
return _j;
|
|
38
|
-
},
|
|
39
|
-
string(_p?: String["String"]): String {
|
|
40
|
-
const _j = ({
|
|
41
|
-
String: {}
|
|
42
|
-
} as String);
|
|
43
|
-
_o.set(_j, "String.str", _p?.str);
|
|
44
|
-
return _j;
|
|
45
|
-
},
|
|
46
|
-
bitString(_p?: BitString["BitString"]): BitString {
|
|
47
|
-
const _j = ({
|
|
48
|
-
BitString: {}
|
|
49
|
-
} as BitString);
|
|
50
|
-
_o.set(_j, "BitString.str", _p?.str);
|
|
51
|
-
return _j;
|
|
52
|
-
},
|
|
53
|
-
null(_p?: Null["Null"]): Null {
|
|
54
|
-
const _j = ({
|
|
55
|
-
Null: {}
|
|
56
|
-
} as Null);
|
|
57
|
-
return _j;
|
|
58
|
-
},
|
|
59
|
-
list(_p?: List["List"]): List {
|
|
60
|
-
const _j = ({
|
|
61
|
-
List: {}
|
|
62
|
-
} as List);
|
|
63
|
-
_o.set(_j, "List.items", _p?.items);
|
|
64
|
-
return _j;
|
|
65
|
-
},
|
|
66
|
-
oidList(_p?: OidList["OidList"]): OidList {
|
|
67
|
-
const _j = ({
|
|
68
|
-
OidList: {}
|
|
69
|
-
} as OidList);
|
|
70
|
-
_o.set(_j, "OidList.items", _p?.items);
|
|
71
|
-
return _j;
|
|
72
|
-
},
|
|
73
|
-
intList(_p?: IntList["IntList"]): IntList {
|
|
74
|
-
const _j = ({
|
|
75
|
-
IntList: {}
|
|
76
|
-
} as IntList);
|
|
77
|
-
_o.set(_j, "IntList.items", _p?.items);
|
|
78
|
-
return _j;
|
|
79
|
-
},
|
|
80
|
-
alias(_p?: Alias["Alias"]): Alias {
|
|
81
|
-
const _j = ({
|
|
82
|
-
Alias: {}
|
|
83
|
-
} as Alias);
|
|
84
|
-
_o.set(_j, "Alias.aliasname", _p?.aliasname);
|
|
85
|
-
_o.set(_j, "Alias.colnames", _p?.colnames);
|
|
86
|
-
return _j;
|
|
87
|
-
},
|
|
88
|
-
rangeVar(_p?: RangeVar["RangeVar"]): RangeVar {
|
|
89
|
-
const _j = ({
|
|
90
|
-
RangeVar: {}
|
|
91
|
-
} as RangeVar);
|
|
92
|
-
_o.set(_j, "RangeVar.catalogname", _p?.catalogname);
|
|
93
|
-
_o.set(_j, "RangeVar.schemaname", _p?.schemaname);
|
|
94
|
-
_o.set(_j, "RangeVar.relname", _p?.relname);
|
|
95
|
-
_o.set(_j, "RangeVar.inh", _p?.inh);
|
|
96
|
-
_o.set(_j, "RangeVar.relpersistence", _p?.relpersistence);
|
|
97
|
-
_o.set(_j, "RangeVar.alias", _p?.alias);
|
|
98
|
-
_o.set(_j, "RangeVar.location", _p?.location);
|
|
99
|
-
return _j;
|
|
100
|
-
},
|
|
101
|
-
tableFunc(_p?: TableFunc["TableFunc"]): TableFunc {
|
|
102
|
-
const _j = ({
|
|
103
|
-
TableFunc: {}
|
|
104
|
-
} as TableFunc);
|
|
105
|
-
_o.set(_j, "TableFunc.ns_uris", _p?.ns_uris);
|
|
106
|
-
_o.set(_j, "TableFunc.ns_names", _p?.ns_names);
|
|
107
|
-
_o.set(_j, "TableFunc.docexpr", _p?.docexpr);
|
|
108
|
-
_o.set(_j, "TableFunc.rowexpr", _p?.rowexpr);
|
|
109
|
-
_o.set(_j, "TableFunc.colnames", _p?.colnames);
|
|
110
|
-
_o.set(_j, "TableFunc.coltypes", _p?.coltypes);
|
|
111
|
-
_o.set(_j, "TableFunc.coltypmods", _p?.coltypmods);
|
|
112
|
-
_o.set(_j, "TableFunc.colcollations", _p?.colcollations);
|
|
113
|
-
_o.set(_j, "TableFunc.colexprs", _p?.colexprs);
|
|
114
|
-
_o.set(_j, "TableFunc.coldefexprs", _p?.coldefexprs);
|
|
115
|
-
_o.set(_j, "TableFunc.notnulls", _p?.notnulls);
|
|
116
|
-
_o.set(_j, "TableFunc.ordinalitycol", _p?.ordinalitycol);
|
|
117
|
-
_o.set(_j, "TableFunc.location", _p?.location);
|
|
118
|
-
return _j;
|
|
119
|
-
},
|
|
120
|
-
expr(_p?: Expr["Expr"]): Expr {
|
|
121
|
-
const _j = ({
|
|
122
|
-
Expr: {}
|
|
123
|
-
} as Expr);
|
|
124
|
-
return _j;
|
|
125
|
-
},
|
|
126
|
-
var(_p?: Var["Var"]): Var {
|
|
127
|
-
const _j = ({
|
|
128
|
-
Var: {}
|
|
129
|
-
} as Var);
|
|
130
|
-
_o.set(_j, "Var.xpr", _p?.xpr);
|
|
131
|
-
_o.set(_j, "Var.varno", _p?.varno);
|
|
132
|
-
_o.set(_j, "Var.varattno", _p?.varattno);
|
|
133
|
-
_o.set(_j, "Var.vartype", _p?.vartype);
|
|
134
|
-
_o.set(_j, "Var.vartypmod", _p?.vartypmod);
|
|
135
|
-
_o.set(_j, "Var.varcollid", _p?.varcollid);
|
|
136
|
-
_o.set(_j, "Var.varlevelsup", _p?.varlevelsup);
|
|
137
|
-
_o.set(_j, "Var.varnosyn", _p?.varnosyn);
|
|
138
|
-
_o.set(_j, "Var.varattnosyn", _p?.varattnosyn);
|
|
139
|
-
_o.set(_j, "Var.location", _p?.location);
|
|
140
|
-
return _j;
|
|
141
|
-
},
|
|
142
|
-
param(_p?: Param["Param"]): Param {
|
|
143
|
-
const _j = ({
|
|
144
|
-
Param: {}
|
|
145
|
-
} as Param);
|
|
146
|
-
_o.set(_j, "Param.xpr", _p?.xpr);
|
|
147
|
-
_o.set(_j, "Param.paramkind", _p?.paramkind);
|
|
148
|
-
_o.set(_j, "Param.paramid", _p?.paramid);
|
|
149
|
-
_o.set(_j, "Param.paramtype", _p?.paramtype);
|
|
150
|
-
_o.set(_j, "Param.paramtypmod", _p?.paramtypmod);
|
|
151
|
-
_o.set(_j, "Param.paramcollid", _p?.paramcollid);
|
|
152
|
-
_o.set(_j, "Param.location", _p?.location);
|
|
153
|
-
return _j;
|
|
154
|
-
},
|
|
155
|
-
aggref(_p?: Aggref["Aggref"]): Aggref {
|
|
156
|
-
const _j = ({
|
|
157
|
-
Aggref: {}
|
|
158
|
-
} as Aggref);
|
|
159
|
-
_o.set(_j, "Aggref.xpr", _p?.xpr);
|
|
160
|
-
_o.set(_j, "Aggref.aggfnoid", _p?.aggfnoid);
|
|
161
|
-
_o.set(_j, "Aggref.aggtype", _p?.aggtype);
|
|
162
|
-
_o.set(_j, "Aggref.aggcollid", _p?.aggcollid);
|
|
163
|
-
_o.set(_j, "Aggref.inputcollid", _p?.inputcollid);
|
|
164
|
-
_o.set(_j, "Aggref.aggtranstype", _p?.aggtranstype);
|
|
165
|
-
_o.set(_j, "Aggref.aggargtypes", _p?.aggargtypes);
|
|
166
|
-
_o.set(_j, "Aggref.aggdirectargs", _p?.aggdirectargs);
|
|
167
|
-
_o.set(_j, "Aggref.args", _p?.args);
|
|
168
|
-
_o.set(_j, "Aggref.aggorder", _p?.aggorder);
|
|
169
|
-
_o.set(_j, "Aggref.aggdistinct", _p?.aggdistinct);
|
|
170
|
-
_o.set(_j, "Aggref.aggfilter", _p?.aggfilter);
|
|
171
|
-
_o.set(_j, "Aggref.aggstar", _p?.aggstar);
|
|
172
|
-
_o.set(_j, "Aggref.aggvariadic", _p?.aggvariadic);
|
|
173
|
-
_o.set(_j, "Aggref.aggkind", _p?.aggkind);
|
|
174
|
-
_o.set(_j, "Aggref.agglevelsup", _p?.agglevelsup);
|
|
175
|
-
_o.set(_j, "Aggref.aggsplit", _p?.aggsplit);
|
|
176
|
-
_o.set(_j, "Aggref.location", _p?.location);
|
|
177
|
-
return _j;
|
|
178
|
-
},
|
|
179
|
-
groupingFunc(_p?: GroupingFunc["GroupingFunc"]): GroupingFunc {
|
|
180
|
-
const _j = ({
|
|
181
|
-
GroupingFunc: {}
|
|
182
|
-
} as GroupingFunc);
|
|
183
|
-
_o.set(_j, "GroupingFunc.xpr", _p?.xpr);
|
|
184
|
-
_o.set(_j, "GroupingFunc.args", _p?.args);
|
|
185
|
-
_o.set(_j, "GroupingFunc.refs", _p?.refs);
|
|
186
|
-
_o.set(_j, "GroupingFunc.cols", _p?.cols);
|
|
187
|
-
_o.set(_j, "GroupingFunc.agglevelsup", _p?.agglevelsup);
|
|
188
|
-
_o.set(_j, "GroupingFunc.location", _p?.location);
|
|
189
|
-
return _j;
|
|
190
|
-
},
|
|
191
|
-
windowFunc(_p?: WindowFunc["WindowFunc"]): WindowFunc {
|
|
192
|
-
const _j = ({
|
|
193
|
-
WindowFunc: {}
|
|
194
|
-
} as WindowFunc);
|
|
195
|
-
_o.set(_j, "WindowFunc.xpr", _p?.xpr);
|
|
196
|
-
_o.set(_j, "WindowFunc.winfnoid", _p?.winfnoid);
|
|
197
|
-
_o.set(_j, "WindowFunc.wintype", _p?.wintype);
|
|
198
|
-
_o.set(_j, "WindowFunc.wincollid", _p?.wincollid);
|
|
199
|
-
_o.set(_j, "WindowFunc.inputcollid", _p?.inputcollid);
|
|
200
|
-
_o.set(_j, "WindowFunc.args", _p?.args);
|
|
201
|
-
_o.set(_j, "WindowFunc.aggfilter", _p?.aggfilter);
|
|
202
|
-
_o.set(_j, "WindowFunc.winref", _p?.winref);
|
|
203
|
-
_o.set(_j, "WindowFunc.winstar", _p?.winstar);
|
|
204
|
-
_o.set(_j, "WindowFunc.winagg", _p?.winagg);
|
|
205
|
-
_o.set(_j, "WindowFunc.location", _p?.location);
|
|
206
|
-
return _j;
|
|
207
|
-
},
|
|
208
|
-
subscriptingRef(_p?: SubscriptingRef["SubscriptingRef"]): SubscriptingRef {
|
|
209
|
-
const _j = ({
|
|
210
|
-
SubscriptingRef: {}
|
|
211
|
-
} as SubscriptingRef);
|
|
212
|
-
_o.set(_j, "SubscriptingRef.xpr", _p?.xpr);
|
|
213
|
-
_o.set(_j, "SubscriptingRef.refcontainertype", _p?.refcontainertype);
|
|
214
|
-
_o.set(_j, "SubscriptingRef.refelemtype", _p?.refelemtype);
|
|
215
|
-
_o.set(_j, "SubscriptingRef.reftypmod", _p?.reftypmod);
|
|
216
|
-
_o.set(_j, "SubscriptingRef.refcollid", _p?.refcollid);
|
|
217
|
-
_o.set(_j, "SubscriptingRef.refupperindexpr", _p?.refupperindexpr);
|
|
218
|
-
_o.set(_j, "SubscriptingRef.reflowerindexpr", _p?.reflowerindexpr);
|
|
219
|
-
_o.set(_j, "SubscriptingRef.refexpr", _p?.refexpr);
|
|
220
|
-
_o.set(_j, "SubscriptingRef.refassgnexpr", _p?.refassgnexpr);
|
|
221
|
-
return _j;
|
|
222
|
-
},
|
|
223
|
-
funcExpr(_p?: FuncExpr["FuncExpr"]): FuncExpr {
|
|
224
|
-
const _j = ({
|
|
225
|
-
FuncExpr: {}
|
|
226
|
-
} as FuncExpr);
|
|
227
|
-
_o.set(_j, "FuncExpr.xpr", _p?.xpr);
|
|
228
|
-
_o.set(_j, "FuncExpr.funcid", _p?.funcid);
|
|
229
|
-
_o.set(_j, "FuncExpr.funcresulttype", _p?.funcresulttype);
|
|
230
|
-
_o.set(_j, "FuncExpr.funcretset", _p?.funcretset);
|
|
231
|
-
_o.set(_j, "FuncExpr.funcvariadic", _p?.funcvariadic);
|
|
232
|
-
_o.set(_j, "FuncExpr.funcformat", _p?.funcformat);
|
|
233
|
-
_o.set(_j, "FuncExpr.funccollid", _p?.funccollid);
|
|
234
|
-
_o.set(_j, "FuncExpr.inputcollid", _p?.inputcollid);
|
|
235
|
-
_o.set(_j, "FuncExpr.args", _p?.args);
|
|
236
|
-
_o.set(_j, "FuncExpr.location", _p?.location);
|
|
237
|
-
return _j;
|
|
238
|
-
},
|
|
239
|
-
namedArgExpr(_p?: NamedArgExpr["NamedArgExpr"]): NamedArgExpr {
|
|
240
|
-
const _j = ({
|
|
241
|
-
NamedArgExpr: {}
|
|
242
|
-
} as NamedArgExpr);
|
|
243
|
-
_o.set(_j, "NamedArgExpr.xpr", _p?.xpr);
|
|
244
|
-
_o.set(_j, "NamedArgExpr.arg", _p?.arg);
|
|
245
|
-
_o.set(_j, "NamedArgExpr.name", _p?.name);
|
|
246
|
-
_o.set(_j, "NamedArgExpr.argnumber", _p?.argnumber);
|
|
247
|
-
_o.set(_j, "NamedArgExpr.location", _p?.location);
|
|
248
|
-
return _j;
|
|
249
|
-
},
|
|
250
|
-
opExpr(_p?: OpExpr["OpExpr"]): OpExpr {
|
|
251
|
-
const _j = ({
|
|
252
|
-
OpExpr: {}
|
|
253
|
-
} as OpExpr);
|
|
254
|
-
_o.set(_j, "OpExpr.xpr", _p?.xpr);
|
|
255
|
-
_o.set(_j, "OpExpr.opno", _p?.opno);
|
|
256
|
-
_o.set(_j, "OpExpr.opfuncid", _p?.opfuncid);
|
|
257
|
-
_o.set(_j, "OpExpr.opresulttype", _p?.opresulttype);
|
|
258
|
-
_o.set(_j, "OpExpr.opretset", _p?.opretset);
|
|
259
|
-
_o.set(_j, "OpExpr.opcollid", _p?.opcollid);
|
|
260
|
-
_o.set(_j, "OpExpr.inputcollid", _p?.inputcollid);
|
|
261
|
-
_o.set(_j, "OpExpr.args", _p?.args);
|
|
262
|
-
_o.set(_j, "OpExpr.location", _p?.location);
|
|
263
|
-
return _j;
|
|
264
|
-
},
|
|
265
|
-
distinctExpr(_p?: DistinctExpr["DistinctExpr"]): DistinctExpr {
|
|
266
|
-
const _j = ({
|
|
267
|
-
DistinctExpr: {}
|
|
268
|
-
} as DistinctExpr);
|
|
269
|
-
_o.set(_j, "DistinctExpr.xpr", _p?.xpr);
|
|
270
|
-
_o.set(_j, "DistinctExpr.opno", _p?.opno);
|
|
271
|
-
_o.set(_j, "DistinctExpr.opfuncid", _p?.opfuncid);
|
|
272
|
-
_o.set(_j, "DistinctExpr.opresulttype", _p?.opresulttype);
|
|
273
|
-
_o.set(_j, "DistinctExpr.opretset", _p?.opretset);
|
|
274
|
-
_o.set(_j, "DistinctExpr.opcollid", _p?.opcollid);
|
|
275
|
-
_o.set(_j, "DistinctExpr.inputcollid", _p?.inputcollid);
|
|
276
|
-
_o.set(_j, "DistinctExpr.args", _p?.args);
|
|
277
|
-
_o.set(_j, "DistinctExpr.location", _p?.location);
|
|
278
|
-
return _j;
|
|
279
|
-
},
|
|
280
|
-
nullIfExpr(_p?: NullIfExpr["NullIfExpr"]): NullIfExpr {
|
|
281
|
-
const _j = ({
|
|
282
|
-
NullIfExpr: {}
|
|
283
|
-
} as NullIfExpr);
|
|
284
|
-
_o.set(_j, "NullIfExpr.xpr", _p?.xpr);
|
|
285
|
-
_o.set(_j, "NullIfExpr.opno", _p?.opno);
|
|
286
|
-
_o.set(_j, "NullIfExpr.opfuncid", _p?.opfuncid);
|
|
287
|
-
_o.set(_j, "NullIfExpr.opresulttype", _p?.opresulttype);
|
|
288
|
-
_o.set(_j, "NullIfExpr.opretset", _p?.opretset);
|
|
289
|
-
_o.set(_j, "NullIfExpr.opcollid", _p?.opcollid);
|
|
290
|
-
_o.set(_j, "NullIfExpr.inputcollid", _p?.inputcollid);
|
|
291
|
-
_o.set(_j, "NullIfExpr.args", _p?.args);
|
|
292
|
-
_o.set(_j, "NullIfExpr.location", _p?.location);
|
|
293
|
-
return _j;
|
|
294
|
-
},
|
|
295
|
-
scalarArrayOpExpr(_p?: ScalarArrayOpExpr["ScalarArrayOpExpr"]): ScalarArrayOpExpr {
|
|
296
|
-
const _j = ({
|
|
297
|
-
ScalarArrayOpExpr: {}
|
|
298
|
-
} as ScalarArrayOpExpr);
|
|
299
|
-
_o.set(_j, "ScalarArrayOpExpr.xpr", _p?.xpr);
|
|
300
|
-
_o.set(_j, "ScalarArrayOpExpr.opno", _p?.opno);
|
|
301
|
-
_o.set(_j, "ScalarArrayOpExpr.opfuncid", _p?.opfuncid);
|
|
302
|
-
_o.set(_j, "ScalarArrayOpExpr.useOr", _p?.useOr);
|
|
303
|
-
_o.set(_j, "ScalarArrayOpExpr.inputcollid", _p?.inputcollid);
|
|
304
|
-
_o.set(_j, "ScalarArrayOpExpr.args", _p?.args);
|
|
305
|
-
_o.set(_j, "ScalarArrayOpExpr.location", _p?.location);
|
|
306
|
-
return _j;
|
|
307
|
-
},
|
|
308
|
-
boolExpr(_p?: BoolExpr["BoolExpr"]): BoolExpr {
|
|
309
|
-
const _j = ({
|
|
310
|
-
BoolExpr: {}
|
|
311
|
-
} as BoolExpr);
|
|
312
|
-
_o.set(_j, "BoolExpr.xpr", _p?.xpr);
|
|
313
|
-
_o.set(_j, "BoolExpr.boolop", _p?.boolop);
|
|
314
|
-
_o.set(_j, "BoolExpr.args", _p?.args);
|
|
315
|
-
_o.set(_j, "BoolExpr.location", _p?.location);
|
|
316
|
-
return _j;
|
|
317
|
-
},
|
|
318
|
-
subLink(_p?: SubLink["SubLink"]): SubLink {
|
|
319
|
-
const _j = ({
|
|
320
|
-
SubLink: {}
|
|
321
|
-
} as SubLink);
|
|
322
|
-
_o.set(_j, "SubLink.xpr", _p?.xpr);
|
|
323
|
-
_o.set(_j, "SubLink.subLinkType", _p?.subLinkType);
|
|
324
|
-
_o.set(_j, "SubLink.subLinkId", _p?.subLinkId);
|
|
325
|
-
_o.set(_j, "SubLink.testexpr", _p?.testexpr);
|
|
326
|
-
_o.set(_j, "SubLink.operName", _p?.operName);
|
|
327
|
-
_o.set(_j, "SubLink.subselect", _p?.subselect);
|
|
328
|
-
_o.set(_j, "SubLink.location", _p?.location);
|
|
329
|
-
return _j;
|
|
330
|
-
},
|
|
331
|
-
subPlan(_p?: SubPlan["SubPlan"]): SubPlan {
|
|
332
|
-
const _j = ({
|
|
333
|
-
SubPlan: {}
|
|
334
|
-
} as SubPlan);
|
|
335
|
-
_o.set(_j, "SubPlan.xpr", _p?.xpr);
|
|
336
|
-
_o.set(_j, "SubPlan.subLinkType", _p?.subLinkType);
|
|
337
|
-
_o.set(_j, "SubPlan.testexpr", _p?.testexpr);
|
|
338
|
-
_o.set(_j, "SubPlan.paramIds", _p?.paramIds);
|
|
339
|
-
_o.set(_j, "SubPlan.plan_id", _p?.plan_id);
|
|
340
|
-
_o.set(_j, "SubPlan.plan_name", _p?.plan_name);
|
|
341
|
-
_o.set(_j, "SubPlan.firstColType", _p?.firstColType);
|
|
342
|
-
_o.set(_j, "SubPlan.firstColTypmod", _p?.firstColTypmod);
|
|
343
|
-
_o.set(_j, "SubPlan.firstColCollation", _p?.firstColCollation);
|
|
344
|
-
_o.set(_j, "SubPlan.useHashTable", _p?.useHashTable);
|
|
345
|
-
_o.set(_j, "SubPlan.unknownEqFalse", _p?.unknownEqFalse);
|
|
346
|
-
_o.set(_j, "SubPlan.parallel_safe", _p?.parallel_safe);
|
|
347
|
-
_o.set(_j, "SubPlan.setParam", _p?.setParam);
|
|
348
|
-
_o.set(_j, "SubPlan.parParam", _p?.parParam);
|
|
349
|
-
_o.set(_j, "SubPlan.args", _p?.args);
|
|
350
|
-
_o.set(_j, "SubPlan.startup_cost", _p?.startup_cost);
|
|
351
|
-
_o.set(_j, "SubPlan.per_call_cost", _p?.per_call_cost);
|
|
352
|
-
return _j;
|
|
353
|
-
},
|
|
354
|
-
alternativeSubPlan(_p?: AlternativeSubPlan["AlternativeSubPlan"]): AlternativeSubPlan {
|
|
355
|
-
const _j = ({
|
|
356
|
-
AlternativeSubPlan: {}
|
|
357
|
-
} as AlternativeSubPlan);
|
|
358
|
-
_o.set(_j, "AlternativeSubPlan.xpr", _p?.xpr);
|
|
359
|
-
_o.set(_j, "AlternativeSubPlan.subplans", _p?.subplans);
|
|
360
|
-
return _j;
|
|
361
|
-
},
|
|
362
|
-
fieldSelect(_p?: FieldSelect["FieldSelect"]): FieldSelect {
|
|
363
|
-
const _j = ({
|
|
364
|
-
FieldSelect: {}
|
|
365
|
-
} as FieldSelect);
|
|
366
|
-
_o.set(_j, "FieldSelect.xpr", _p?.xpr);
|
|
367
|
-
_o.set(_j, "FieldSelect.arg", _p?.arg);
|
|
368
|
-
_o.set(_j, "FieldSelect.fieldnum", _p?.fieldnum);
|
|
369
|
-
_o.set(_j, "FieldSelect.resulttype", _p?.resulttype);
|
|
370
|
-
_o.set(_j, "FieldSelect.resulttypmod", _p?.resulttypmod);
|
|
371
|
-
_o.set(_j, "FieldSelect.resultcollid", _p?.resultcollid);
|
|
372
|
-
return _j;
|
|
373
|
-
},
|
|
374
|
-
fieldStore(_p?: FieldStore["FieldStore"]): FieldStore {
|
|
375
|
-
const _j = ({
|
|
376
|
-
FieldStore: {}
|
|
377
|
-
} as FieldStore);
|
|
378
|
-
_o.set(_j, "FieldStore.xpr", _p?.xpr);
|
|
379
|
-
_o.set(_j, "FieldStore.arg", _p?.arg);
|
|
380
|
-
_o.set(_j, "FieldStore.newvals", _p?.newvals);
|
|
381
|
-
_o.set(_j, "FieldStore.fieldnums", _p?.fieldnums);
|
|
382
|
-
_o.set(_j, "FieldStore.resulttype", _p?.resulttype);
|
|
383
|
-
return _j;
|
|
384
|
-
},
|
|
385
|
-
relabelType(_p?: RelabelType["RelabelType"]): RelabelType {
|
|
386
|
-
const _j = ({
|
|
387
|
-
RelabelType: {}
|
|
388
|
-
} as RelabelType);
|
|
389
|
-
_o.set(_j, "RelabelType.xpr", _p?.xpr);
|
|
390
|
-
_o.set(_j, "RelabelType.arg", _p?.arg);
|
|
391
|
-
_o.set(_j, "RelabelType.resulttype", _p?.resulttype);
|
|
392
|
-
_o.set(_j, "RelabelType.resulttypmod", _p?.resulttypmod);
|
|
393
|
-
_o.set(_j, "RelabelType.resultcollid", _p?.resultcollid);
|
|
394
|
-
_o.set(_j, "RelabelType.relabelformat", _p?.relabelformat);
|
|
395
|
-
_o.set(_j, "RelabelType.location", _p?.location);
|
|
396
|
-
return _j;
|
|
397
|
-
},
|
|
398
|
-
coerceViaio(_p?: CoerceViaIO["CoerceViaIO"]): CoerceViaIO {
|
|
399
|
-
const _j = ({
|
|
400
|
-
CoerceViaIO: {}
|
|
401
|
-
} as CoerceViaIO);
|
|
402
|
-
_o.set(_j, "CoerceViaIO.xpr", _p?.xpr);
|
|
403
|
-
_o.set(_j, "CoerceViaIO.arg", _p?.arg);
|
|
404
|
-
_o.set(_j, "CoerceViaIO.resulttype", _p?.resulttype);
|
|
405
|
-
_o.set(_j, "CoerceViaIO.resultcollid", _p?.resultcollid);
|
|
406
|
-
_o.set(_j, "CoerceViaIO.coerceformat", _p?.coerceformat);
|
|
407
|
-
_o.set(_j, "CoerceViaIO.location", _p?.location);
|
|
408
|
-
return _j;
|
|
409
|
-
},
|
|
410
|
-
arrayCoerceExpr(_p?: ArrayCoerceExpr["ArrayCoerceExpr"]): ArrayCoerceExpr {
|
|
411
|
-
const _j = ({
|
|
412
|
-
ArrayCoerceExpr: {}
|
|
413
|
-
} as ArrayCoerceExpr);
|
|
414
|
-
_o.set(_j, "ArrayCoerceExpr.xpr", _p?.xpr);
|
|
415
|
-
_o.set(_j, "ArrayCoerceExpr.arg", _p?.arg);
|
|
416
|
-
_o.set(_j, "ArrayCoerceExpr.elemexpr", _p?.elemexpr);
|
|
417
|
-
_o.set(_j, "ArrayCoerceExpr.resulttype", _p?.resulttype);
|
|
418
|
-
_o.set(_j, "ArrayCoerceExpr.resulttypmod", _p?.resulttypmod);
|
|
419
|
-
_o.set(_j, "ArrayCoerceExpr.resultcollid", _p?.resultcollid);
|
|
420
|
-
_o.set(_j, "ArrayCoerceExpr.coerceformat", _p?.coerceformat);
|
|
421
|
-
_o.set(_j, "ArrayCoerceExpr.location", _p?.location);
|
|
422
|
-
return _j;
|
|
423
|
-
},
|
|
424
|
-
convertRowtypeExpr(_p?: ConvertRowtypeExpr["ConvertRowtypeExpr"]): ConvertRowtypeExpr {
|
|
425
|
-
const _j = ({
|
|
426
|
-
ConvertRowtypeExpr: {}
|
|
427
|
-
} as ConvertRowtypeExpr);
|
|
428
|
-
_o.set(_j, "ConvertRowtypeExpr.xpr", _p?.xpr);
|
|
429
|
-
_o.set(_j, "ConvertRowtypeExpr.arg", _p?.arg);
|
|
430
|
-
_o.set(_j, "ConvertRowtypeExpr.resulttype", _p?.resulttype);
|
|
431
|
-
_o.set(_j, "ConvertRowtypeExpr.convertformat", _p?.convertformat);
|
|
432
|
-
_o.set(_j, "ConvertRowtypeExpr.location", _p?.location);
|
|
433
|
-
return _j;
|
|
434
|
-
},
|
|
435
|
-
collateExpr(_p?: CollateExpr["CollateExpr"]): CollateExpr {
|
|
436
|
-
const _j = ({
|
|
437
|
-
CollateExpr: {}
|
|
438
|
-
} as CollateExpr);
|
|
439
|
-
_o.set(_j, "CollateExpr.xpr", _p?.xpr);
|
|
440
|
-
_o.set(_j, "CollateExpr.arg", _p?.arg);
|
|
441
|
-
_o.set(_j, "CollateExpr.collOid", _p?.collOid);
|
|
442
|
-
_o.set(_j, "CollateExpr.location", _p?.location);
|
|
443
|
-
return _j;
|
|
444
|
-
},
|
|
445
|
-
caseExpr(_p?: CaseExpr["CaseExpr"]): CaseExpr {
|
|
446
|
-
const _j = ({
|
|
447
|
-
CaseExpr: {}
|
|
448
|
-
} as CaseExpr);
|
|
449
|
-
_o.set(_j, "CaseExpr.xpr", _p?.xpr);
|
|
450
|
-
_o.set(_j, "CaseExpr.casetype", _p?.casetype);
|
|
451
|
-
_o.set(_j, "CaseExpr.casecollid", _p?.casecollid);
|
|
452
|
-
_o.set(_j, "CaseExpr.arg", _p?.arg);
|
|
453
|
-
_o.set(_j, "CaseExpr.args", _p?.args);
|
|
454
|
-
_o.set(_j, "CaseExpr.defresult", _p?.defresult);
|
|
455
|
-
_o.set(_j, "CaseExpr.location", _p?.location);
|
|
456
|
-
return _j;
|
|
457
|
-
},
|
|
458
|
-
caseWhen(_p?: CaseWhen["CaseWhen"]): CaseWhen {
|
|
459
|
-
const _j = ({
|
|
460
|
-
CaseWhen: {}
|
|
461
|
-
} as CaseWhen);
|
|
462
|
-
_o.set(_j, "CaseWhen.xpr", _p?.xpr);
|
|
463
|
-
_o.set(_j, "CaseWhen.expr", _p?.expr);
|
|
464
|
-
_o.set(_j, "CaseWhen.result", _p?.result);
|
|
465
|
-
_o.set(_j, "CaseWhen.location", _p?.location);
|
|
466
|
-
return _j;
|
|
467
|
-
},
|
|
468
|
-
caseTestExpr(_p?: CaseTestExpr["CaseTestExpr"]): CaseTestExpr {
|
|
469
|
-
const _j = ({
|
|
470
|
-
CaseTestExpr: {}
|
|
471
|
-
} as CaseTestExpr);
|
|
472
|
-
_o.set(_j, "CaseTestExpr.xpr", _p?.xpr);
|
|
473
|
-
_o.set(_j, "CaseTestExpr.typeId", _p?.typeId);
|
|
474
|
-
_o.set(_j, "CaseTestExpr.typeMod", _p?.typeMod);
|
|
475
|
-
_o.set(_j, "CaseTestExpr.collation", _p?.collation);
|
|
476
|
-
return _j;
|
|
477
|
-
},
|
|
478
|
-
arrayExpr(_p?: ArrayExpr["ArrayExpr"]): ArrayExpr {
|
|
479
|
-
const _j = ({
|
|
480
|
-
ArrayExpr: {}
|
|
481
|
-
} as ArrayExpr);
|
|
482
|
-
_o.set(_j, "ArrayExpr.xpr", _p?.xpr);
|
|
483
|
-
_o.set(_j, "ArrayExpr.array_typeid", _p?.array_typeid);
|
|
484
|
-
_o.set(_j, "ArrayExpr.array_collid", _p?.array_collid);
|
|
485
|
-
_o.set(_j, "ArrayExpr.element_typeid", _p?.element_typeid);
|
|
486
|
-
_o.set(_j, "ArrayExpr.elements", _p?.elements);
|
|
487
|
-
_o.set(_j, "ArrayExpr.multidims", _p?.multidims);
|
|
488
|
-
_o.set(_j, "ArrayExpr.location", _p?.location);
|
|
489
|
-
return _j;
|
|
490
|
-
},
|
|
491
|
-
rowExpr(_p?: RowExpr["RowExpr"]): RowExpr {
|
|
492
|
-
const _j = ({
|
|
493
|
-
RowExpr: {}
|
|
494
|
-
} as RowExpr);
|
|
495
|
-
_o.set(_j, "RowExpr.xpr", _p?.xpr);
|
|
496
|
-
_o.set(_j, "RowExpr.args", _p?.args);
|
|
497
|
-
_o.set(_j, "RowExpr.row_typeid", _p?.row_typeid);
|
|
498
|
-
_o.set(_j, "RowExpr.row_format", _p?.row_format);
|
|
499
|
-
_o.set(_j, "RowExpr.colnames", _p?.colnames);
|
|
500
|
-
_o.set(_j, "RowExpr.location", _p?.location);
|
|
501
|
-
return _j;
|
|
502
|
-
},
|
|
503
|
-
rowCompareExpr(_p?: RowCompareExpr["RowCompareExpr"]): RowCompareExpr {
|
|
504
|
-
const _j = ({
|
|
505
|
-
RowCompareExpr: {}
|
|
506
|
-
} as RowCompareExpr);
|
|
507
|
-
_o.set(_j, "RowCompareExpr.xpr", _p?.xpr);
|
|
508
|
-
_o.set(_j, "RowCompareExpr.rctype", _p?.rctype);
|
|
509
|
-
_o.set(_j, "RowCompareExpr.opnos", _p?.opnos);
|
|
510
|
-
_o.set(_j, "RowCompareExpr.opfamilies", _p?.opfamilies);
|
|
511
|
-
_o.set(_j, "RowCompareExpr.inputcollids", _p?.inputcollids);
|
|
512
|
-
_o.set(_j, "RowCompareExpr.largs", _p?.largs);
|
|
513
|
-
_o.set(_j, "RowCompareExpr.rargs", _p?.rargs);
|
|
514
|
-
return _j;
|
|
515
|
-
},
|
|
516
|
-
coalesceExpr(_p?: CoalesceExpr["CoalesceExpr"]): CoalesceExpr {
|
|
517
|
-
const _j = ({
|
|
518
|
-
CoalesceExpr: {}
|
|
519
|
-
} as CoalesceExpr);
|
|
520
|
-
_o.set(_j, "CoalesceExpr.xpr", _p?.xpr);
|
|
521
|
-
_o.set(_j, "CoalesceExpr.coalescetype", _p?.coalescetype);
|
|
522
|
-
_o.set(_j, "CoalesceExpr.coalescecollid", _p?.coalescecollid);
|
|
523
|
-
_o.set(_j, "CoalesceExpr.args", _p?.args);
|
|
524
|
-
_o.set(_j, "CoalesceExpr.location", _p?.location);
|
|
525
|
-
return _j;
|
|
526
|
-
},
|
|
527
|
-
minMaxExpr(_p?: MinMaxExpr["MinMaxExpr"]): MinMaxExpr {
|
|
528
|
-
const _j = ({
|
|
529
|
-
MinMaxExpr: {}
|
|
530
|
-
} as MinMaxExpr);
|
|
531
|
-
_o.set(_j, "MinMaxExpr.xpr", _p?.xpr);
|
|
532
|
-
_o.set(_j, "MinMaxExpr.minmaxtype", _p?.minmaxtype);
|
|
533
|
-
_o.set(_j, "MinMaxExpr.minmaxcollid", _p?.minmaxcollid);
|
|
534
|
-
_o.set(_j, "MinMaxExpr.inputcollid", _p?.inputcollid);
|
|
535
|
-
_o.set(_j, "MinMaxExpr.op", _p?.op);
|
|
536
|
-
_o.set(_j, "MinMaxExpr.args", _p?.args);
|
|
537
|
-
_o.set(_j, "MinMaxExpr.location", _p?.location);
|
|
538
|
-
return _j;
|
|
539
|
-
},
|
|
540
|
-
sqlValueFunction(_p?: SQLValueFunction["SQLValueFunction"]): SQLValueFunction {
|
|
541
|
-
const _j = ({
|
|
542
|
-
SQLValueFunction: {}
|
|
543
|
-
} as SQLValueFunction);
|
|
544
|
-
_o.set(_j, "SQLValueFunction.xpr", _p?.xpr);
|
|
545
|
-
_o.set(_j, "SQLValueFunction.op", _p?.op);
|
|
546
|
-
_o.set(_j, "SQLValueFunction.type", _p?.type);
|
|
547
|
-
_o.set(_j, "SQLValueFunction.typmod", _p?.typmod);
|
|
548
|
-
_o.set(_j, "SQLValueFunction.location", _p?.location);
|
|
549
|
-
return _j;
|
|
550
|
-
},
|
|
551
|
-
xmlExpr(_p?: XmlExpr["XmlExpr"]): XmlExpr {
|
|
552
|
-
const _j = ({
|
|
553
|
-
XmlExpr: {}
|
|
554
|
-
} as XmlExpr);
|
|
555
|
-
_o.set(_j, "XmlExpr.xpr", _p?.xpr);
|
|
556
|
-
_o.set(_j, "XmlExpr.op", _p?.op);
|
|
557
|
-
_o.set(_j, "XmlExpr.name", _p?.name);
|
|
558
|
-
_o.set(_j, "XmlExpr.named_args", _p?.named_args);
|
|
559
|
-
_o.set(_j, "XmlExpr.arg_names", _p?.arg_names);
|
|
560
|
-
_o.set(_j, "XmlExpr.args", _p?.args);
|
|
561
|
-
_o.set(_j, "XmlExpr.xmloption", _p?.xmloption);
|
|
562
|
-
_o.set(_j, "XmlExpr.type", _p?.type);
|
|
563
|
-
_o.set(_j, "XmlExpr.typmod", _p?.typmod);
|
|
564
|
-
_o.set(_j, "XmlExpr.location", _p?.location);
|
|
565
|
-
return _j;
|
|
566
|
-
},
|
|
567
|
-
nullTest(_p?: NullTest["NullTest"]): NullTest {
|
|
568
|
-
const _j = ({
|
|
569
|
-
NullTest: {}
|
|
570
|
-
} as NullTest);
|
|
571
|
-
_o.set(_j, "NullTest.xpr", _p?.xpr);
|
|
572
|
-
_o.set(_j, "NullTest.arg", _p?.arg);
|
|
573
|
-
_o.set(_j, "NullTest.nulltesttype", _p?.nulltesttype);
|
|
574
|
-
_o.set(_j, "NullTest.argisrow", _p?.argisrow);
|
|
575
|
-
_o.set(_j, "NullTest.location", _p?.location);
|
|
576
|
-
return _j;
|
|
577
|
-
},
|
|
578
|
-
booleanTest(_p?: BooleanTest["BooleanTest"]): BooleanTest {
|
|
579
|
-
const _j = ({
|
|
580
|
-
BooleanTest: {}
|
|
581
|
-
} as BooleanTest);
|
|
582
|
-
_o.set(_j, "BooleanTest.xpr", _p?.xpr);
|
|
583
|
-
_o.set(_j, "BooleanTest.arg", _p?.arg);
|
|
584
|
-
_o.set(_j, "BooleanTest.booltesttype", _p?.booltesttype);
|
|
585
|
-
_o.set(_j, "BooleanTest.location", _p?.location);
|
|
586
|
-
return _j;
|
|
587
|
-
},
|
|
588
|
-
coerceToDomain(_p?: CoerceToDomain["CoerceToDomain"]): CoerceToDomain {
|
|
589
|
-
const _j = ({
|
|
590
|
-
CoerceToDomain: {}
|
|
591
|
-
} as CoerceToDomain);
|
|
592
|
-
_o.set(_j, "CoerceToDomain.xpr", _p?.xpr);
|
|
593
|
-
_o.set(_j, "CoerceToDomain.arg", _p?.arg);
|
|
594
|
-
_o.set(_j, "CoerceToDomain.resulttype", _p?.resulttype);
|
|
595
|
-
_o.set(_j, "CoerceToDomain.resulttypmod", _p?.resulttypmod);
|
|
596
|
-
_o.set(_j, "CoerceToDomain.resultcollid", _p?.resultcollid);
|
|
597
|
-
_o.set(_j, "CoerceToDomain.coercionformat", _p?.coercionformat);
|
|
598
|
-
_o.set(_j, "CoerceToDomain.location", _p?.location);
|
|
599
|
-
return _j;
|
|
600
|
-
},
|
|
601
|
-
coerceToDomainValue(_p?: CoerceToDomainValue["CoerceToDomainValue"]): CoerceToDomainValue {
|
|
602
|
-
const _j = ({
|
|
603
|
-
CoerceToDomainValue: {}
|
|
604
|
-
} as CoerceToDomainValue);
|
|
605
|
-
_o.set(_j, "CoerceToDomainValue.xpr", _p?.xpr);
|
|
606
|
-
_o.set(_j, "CoerceToDomainValue.typeId", _p?.typeId);
|
|
607
|
-
_o.set(_j, "CoerceToDomainValue.typeMod", _p?.typeMod);
|
|
608
|
-
_o.set(_j, "CoerceToDomainValue.collation", _p?.collation);
|
|
609
|
-
_o.set(_j, "CoerceToDomainValue.location", _p?.location);
|
|
610
|
-
return _j;
|
|
611
|
-
},
|
|
612
|
-
setToDefault(_p?: SetToDefault["SetToDefault"]): SetToDefault {
|
|
613
|
-
const _j = ({
|
|
614
|
-
SetToDefault: {}
|
|
615
|
-
} as SetToDefault);
|
|
616
|
-
_o.set(_j, "SetToDefault.xpr", _p?.xpr);
|
|
617
|
-
_o.set(_j, "SetToDefault.typeId", _p?.typeId);
|
|
618
|
-
_o.set(_j, "SetToDefault.typeMod", _p?.typeMod);
|
|
619
|
-
_o.set(_j, "SetToDefault.collation", _p?.collation);
|
|
620
|
-
_o.set(_j, "SetToDefault.location", _p?.location);
|
|
621
|
-
return _j;
|
|
622
|
-
},
|
|
623
|
-
currentOfExpr(_p?: CurrentOfExpr["CurrentOfExpr"]): CurrentOfExpr {
|
|
624
|
-
const _j = ({
|
|
625
|
-
CurrentOfExpr: {}
|
|
626
|
-
} as CurrentOfExpr);
|
|
627
|
-
_o.set(_j, "CurrentOfExpr.xpr", _p?.xpr);
|
|
628
|
-
_o.set(_j, "CurrentOfExpr.cvarno", _p?.cvarno);
|
|
629
|
-
_o.set(_j, "CurrentOfExpr.cursor_name", _p?.cursor_name);
|
|
630
|
-
_o.set(_j, "CurrentOfExpr.cursor_param", _p?.cursor_param);
|
|
631
|
-
return _j;
|
|
632
|
-
},
|
|
633
|
-
nextValueExpr(_p?: NextValueExpr["NextValueExpr"]): NextValueExpr {
|
|
634
|
-
const _j = ({
|
|
635
|
-
NextValueExpr: {}
|
|
636
|
-
} as NextValueExpr);
|
|
637
|
-
_o.set(_j, "NextValueExpr.xpr", _p?.xpr);
|
|
638
|
-
_o.set(_j, "NextValueExpr.seqid", _p?.seqid);
|
|
639
|
-
_o.set(_j, "NextValueExpr.typeId", _p?.typeId);
|
|
640
|
-
return _j;
|
|
641
|
-
},
|
|
642
|
-
inferenceElem(_p?: InferenceElem["InferenceElem"]): InferenceElem {
|
|
643
|
-
const _j = ({
|
|
644
|
-
InferenceElem: {}
|
|
645
|
-
} as InferenceElem);
|
|
646
|
-
_o.set(_j, "InferenceElem.xpr", _p?.xpr);
|
|
647
|
-
_o.set(_j, "InferenceElem.expr", _p?.expr);
|
|
648
|
-
_o.set(_j, "InferenceElem.infercollid", _p?.infercollid);
|
|
649
|
-
_o.set(_j, "InferenceElem.inferopclass", _p?.inferopclass);
|
|
650
|
-
return _j;
|
|
651
|
-
},
|
|
652
|
-
targetEntry(_p?: TargetEntry["TargetEntry"]): TargetEntry {
|
|
653
|
-
const _j = ({
|
|
654
|
-
TargetEntry: {}
|
|
655
|
-
} as TargetEntry);
|
|
656
|
-
_o.set(_j, "TargetEntry.xpr", _p?.xpr);
|
|
657
|
-
_o.set(_j, "TargetEntry.expr", _p?.expr);
|
|
658
|
-
_o.set(_j, "TargetEntry.resno", _p?.resno);
|
|
659
|
-
_o.set(_j, "TargetEntry.resname", _p?.resname);
|
|
660
|
-
_o.set(_j, "TargetEntry.ressortgroupref", _p?.ressortgroupref);
|
|
661
|
-
_o.set(_j, "TargetEntry.resorigtbl", _p?.resorigtbl);
|
|
662
|
-
_o.set(_j, "TargetEntry.resorigcol", _p?.resorigcol);
|
|
663
|
-
_o.set(_j, "TargetEntry.resjunk", _p?.resjunk);
|
|
664
|
-
return _j;
|
|
665
|
-
},
|
|
666
|
-
rangeTblRef(_p?: RangeTblRef["RangeTblRef"]): RangeTblRef {
|
|
667
|
-
const _j = ({
|
|
668
|
-
RangeTblRef: {}
|
|
669
|
-
} as RangeTblRef);
|
|
670
|
-
_o.set(_j, "RangeTblRef.rtindex", _p?.rtindex);
|
|
671
|
-
return _j;
|
|
672
|
-
},
|
|
673
|
-
joinExpr(_p?: JoinExpr["JoinExpr"]): JoinExpr {
|
|
674
|
-
const _j = ({
|
|
675
|
-
JoinExpr: {}
|
|
676
|
-
} as JoinExpr);
|
|
677
|
-
_o.set(_j, "JoinExpr.jointype", _p?.jointype);
|
|
678
|
-
_o.set(_j, "JoinExpr.isNatural", _p?.isNatural);
|
|
679
|
-
_o.set(_j, "JoinExpr.larg", _p?.larg);
|
|
680
|
-
_o.set(_j, "JoinExpr.rarg", _p?.rarg);
|
|
681
|
-
_o.set(_j, "JoinExpr.usingClause", _p?.usingClause);
|
|
682
|
-
_o.set(_j, "JoinExpr.quals", _p?.quals);
|
|
683
|
-
_o.set(_j, "JoinExpr.alias", _p?.alias);
|
|
684
|
-
_o.set(_j, "JoinExpr.rtindex", _p?.rtindex);
|
|
685
|
-
return _j;
|
|
686
|
-
},
|
|
687
|
-
fromExpr(_p?: FromExpr["FromExpr"]): FromExpr {
|
|
688
|
-
const _j = ({
|
|
689
|
-
FromExpr: {}
|
|
690
|
-
} as FromExpr);
|
|
691
|
-
_o.set(_j, "FromExpr.fromlist", _p?.fromlist);
|
|
692
|
-
_o.set(_j, "FromExpr.quals", _p?.quals);
|
|
693
|
-
return _j;
|
|
694
|
-
},
|
|
695
|
-
onConflictExpr(_p?: OnConflictExpr["OnConflictExpr"]): OnConflictExpr {
|
|
696
|
-
const _j = ({
|
|
697
|
-
OnConflictExpr: {}
|
|
698
|
-
} as OnConflictExpr);
|
|
699
|
-
_o.set(_j, "OnConflictExpr.action", _p?.action);
|
|
700
|
-
_o.set(_j, "OnConflictExpr.arbiterElems", _p?.arbiterElems);
|
|
701
|
-
_o.set(_j, "OnConflictExpr.arbiterWhere", _p?.arbiterWhere);
|
|
702
|
-
_o.set(_j, "OnConflictExpr.constraint", _p?.constraint);
|
|
703
|
-
_o.set(_j, "OnConflictExpr.onConflictSet", _p?.onConflictSet);
|
|
704
|
-
_o.set(_j, "OnConflictExpr.onConflictWhere", _p?.onConflictWhere);
|
|
705
|
-
_o.set(_j, "OnConflictExpr.exclRelIndex", _p?.exclRelIndex);
|
|
706
|
-
_o.set(_j, "OnConflictExpr.exclRelTlist", _p?.exclRelTlist);
|
|
707
|
-
return _j;
|
|
708
|
-
},
|
|
709
|
-
intoClause(_p?: IntoClause["IntoClause"]): IntoClause {
|
|
710
|
-
const _j = ({
|
|
711
|
-
IntoClause: {}
|
|
712
|
-
} as IntoClause);
|
|
713
|
-
_o.set(_j, "IntoClause.rel", _p?.rel);
|
|
714
|
-
_o.set(_j, "IntoClause.colNames", _p?.colNames);
|
|
715
|
-
_o.set(_j, "IntoClause.accessMethod", _p?.accessMethod);
|
|
716
|
-
_o.set(_j, "IntoClause.options", _p?.options);
|
|
717
|
-
_o.set(_j, "IntoClause.onCommit", _p?.onCommit);
|
|
718
|
-
_o.set(_j, "IntoClause.tableSpaceName", _p?.tableSpaceName);
|
|
719
|
-
_o.set(_j, "IntoClause.viewQuery", _p?.viewQuery);
|
|
720
|
-
_o.set(_j, "IntoClause.skipData", _p?.skipData);
|
|
721
|
-
return _j;
|
|
722
|
-
},
|
|
723
|
-
rawStmt(_p?: RawStmt["RawStmt"]): RawStmt {
|
|
724
|
-
const _j = ({
|
|
725
|
-
RawStmt: {}
|
|
726
|
-
} as RawStmt);
|
|
727
|
-
_o.set(_j, "RawStmt.stmt", _p?.stmt);
|
|
728
|
-
_o.set(_j, "RawStmt.stmt_location", _p?.stmt_location);
|
|
729
|
-
_o.set(_j, "RawStmt.stmt_len", _p?.stmt_len);
|
|
730
|
-
return _j;
|
|
731
|
-
},
|
|
732
|
-
query(_p?: Query["Query"]): Query {
|
|
733
|
-
const _j = ({
|
|
734
|
-
Query: {}
|
|
735
|
-
} as Query);
|
|
736
|
-
_o.set(_j, "Query.commandType", _p?.commandType);
|
|
737
|
-
_o.set(_j, "Query.querySource", _p?.querySource);
|
|
738
|
-
_o.set(_j, "Query.canSetTag", _p?.canSetTag);
|
|
739
|
-
_o.set(_j, "Query.utilityStmt", _p?.utilityStmt);
|
|
740
|
-
_o.set(_j, "Query.resultRelation", _p?.resultRelation);
|
|
741
|
-
_o.set(_j, "Query.hasAggs", _p?.hasAggs);
|
|
742
|
-
_o.set(_j, "Query.hasWindowFuncs", _p?.hasWindowFuncs);
|
|
743
|
-
_o.set(_j, "Query.hasTargetSRFs", _p?.hasTargetSRFs);
|
|
744
|
-
_o.set(_j, "Query.hasSubLinks", _p?.hasSubLinks);
|
|
745
|
-
_o.set(_j, "Query.hasDistinctOn", _p?.hasDistinctOn);
|
|
746
|
-
_o.set(_j, "Query.hasRecursive", _p?.hasRecursive);
|
|
747
|
-
_o.set(_j, "Query.hasModifyingCTE", _p?.hasModifyingCTE);
|
|
748
|
-
_o.set(_j, "Query.hasForUpdate", _p?.hasForUpdate);
|
|
749
|
-
_o.set(_j, "Query.hasRowSecurity", _p?.hasRowSecurity);
|
|
750
|
-
_o.set(_j, "Query.cteList", _p?.cteList);
|
|
751
|
-
_o.set(_j, "Query.rtable", _p?.rtable);
|
|
752
|
-
_o.set(_j, "Query.jointree", _p?.jointree);
|
|
753
|
-
_o.set(_j, "Query.targetList", _p?.targetList);
|
|
754
|
-
_o.set(_j, "Query.override", _p?.override);
|
|
755
|
-
_o.set(_j, "Query.onConflict", _p?.onConflict);
|
|
756
|
-
_o.set(_j, "Query.returningList", _p?.returningList);
|
|
757
|
-
_o.set(_j, "Query.groupClause", _p?.groupClause);
|
|
758
|
-
_o.set(_j, "Query.groupingSets", _p?.groupingSets);
|
|
759
|
-
_o.set(_j, "Query.havingQual", _p?.havingQual);
|
|
760
|
-
_o.set(_j, "Query.windowClause", _p?.windowClause);
|
|
761
|
-
_o.set(_j, "Query.distinctClause", _p?.distinctClause);
|
|
762
|
-
_o.set(_j, "Query.sortClause", _p?.sortClause);
|
|
763
|
-
_o.set(_j, "Query.limitOffset", _p?.limitOffset);
|
|
764
|
-
_o.set(_j, "Query.limitCount", _p?.limitCount);
|
|
765
|
-
_o.set(_j, "Query.limitOption", _p?.limitOption);
|
|
766
|
-
_o.set(_j, "Query.rowMarks", _p?.rowMarks);
|
|
767
|
-
_o.set(_j, "Query.setOperations", _p?.setOperations);
|
|
768
|
-
_o.set(_j, "Query.constraintDeps", _p?.constraintDeps);
|
|
769
|
-
_o.set(_j, "Query.withCheckOptions", _p?.withCheckOptions);
|
|
770
|
-
_o.set(_j, "Query.stmt_location", _p?.stmt_location);
|
|
771
|
-
_o.set(_j, "Query.stmt_len", _p?.stmt_len);
|
|
772
|
-
return _j;
|
|
773
|
-
},
|
|
774
|
-
insertStmt(_p?: InsertStmt["InsertStmt"]): InsertStmt {
|
|
775
|
-
const _j = ({
|
|
776
|
-
InsertStmt: {}
|
|
777
|
-
} as InsertStmt);
|
|
778
|
-
_o.set(_j, "InsertStmt.relation", _p?.relation);
|
|
779
|
-
_o.set(_j, "InsertStmt.cols", _p?.cols);
|
|
780
|
-
_o.set(_j, "InsertStmt.selectStmt", _p?.selectStmt);
|
|
781
|
-
_o.set(_j, "InsertStmt.onConflictClause", _p?.onConflictClause);
|
|
782
|
-
_o.set(_j, "InsertStmt.returningList", _p?.returningList);
|
|
783
|
-
_o.set(_j, "InsertStmt.withClause", _p?.withClause);
|
|
784
|
-
_o.set(_j, "InsertStmt.override", _p?.override);
|
|
785
|
-
return _j;
|
|
786
|
-
},
|
|
787
|
-
deleteStmt(_p?: DeleteStmt["DeleteStmt"]): DeleteStmt {
|
|
788
|
-
const _j = ({
|
|
789
|
-
DeleteStmt: {}
|
|
790
|
-
} as DeleteStmt);
|
|
791
|
-
_o.set(_j, "DeleteStmt.relation", _p?.relation);
|
|
792
|
-
_o.set(_j, "DeleteStmt.usingClause", _p?.usingClause);
|
|
793
|
-
_o.set(_j, "DeleteStmt.whereClause", _p?.whereClause);
|
|
794
|
-
_o.set(_j, "DeleteStmt.returningList", _p?.returningList);
|
|
795
|
-
_o.set(_j, "DeleteStmt.withClause", _p?.withClause);
|
|
796
|
-
return _j;
|
|
797
|
-
},
|
|
798
|
-
updateStmt(_p?: UpdateStmt["UpdateStmt"]): UpdateStmt {
|
|
799
|
-
const _j = ({
|
|
800
|
-
UpdateStmt: {}
|
|
801
|
-
} as UpdateStmt);
|
|
802
|
-
_o.set(_j, "UpdateStmt.relation", _p?.relation);
|
|
803
|
-
_o.set(_j, "UpdateStmt.targetList", _p?.targetList);
|
|
804
|
-
_o.set(_j, "UpdateStmt.whereClause", _p?.whereClause);
|
|
805
|
-
_o.set(_j, "UpdateStmt.fromClause", _p?.fromClause);
|
|
806
|
-
_o.set(_j, "UpdateStmt.returningList", _p?.returningList);
|
|
807
|
-
_o.set(_j, "UpdateStmt.withClause", _p?.withClause);
|
|
808
|
-
return _j;
|
|
809
|
-
},
|
|
810
|
-
selectStmt(_p?: SelectStmt["SelectStmt"]): SelectStmt {
|
|
811
|
-
const _j = ({
|
|
812
|
-
SelectStmt: {}
|
|
813
|
-
} as SelectStmt);
|
|
814
|
-
_o.set(_j, "SelectStmt.distinctClause", _p?.distinctClause);
|
|
815
|
-
_o.set(_j, "SelectStmt.intoClause", _p?.intoClause);
|
|
816
|
-
_o.set(_j, "SelectStmt.targetList", _p?.targetList);
|
|
817
|
-
_o.set(_j, "SelectStmt.fromClause", _p?.fromClause);
|
|
818
|
-
_o.set(_j, "SelectStmt.whereClause", _p?.whereClause);
|
|
819
|
-
_o.set(_j, "SelectStmt.groupClause", _p?.groupClause);
|
|
820
|
-
_o.set(_j, "SelectStmt.havingClause", _p?.havingClause);
|
|
821
|
-
_o.set(_j, "SelectStmt.windowClause", _p?.windowClause);
|
|
822
|
-
_o.set(_j, "SelectStmt.valuesLists", _p?.valuesLists);
|
|
823
|
-
_o.set(_j, "SelectStmt.sortClause", _p?.sortClause);
|
|
824
|
-
_o.set(_j, "SelectStmt.limitOffset", _p?.limitOffset);
|
|
825
|
-
_o.set(_j, "SelectStmt.limitCount", _p?.limitCount);
|
|
826
|
-
_o.set(_j, "SelectStmt.limitOption", _p?.limitOption);
|
|
827
|
-
_o.set(_j, "SelectStmt.lockingClause", _p?.lockingClause);
|
|
828
|
-
_o.set(_j, "SelectStmt.withClause", _p?.withClause);
|
|
829
|
-
_o.set(_j, "SelectStmt.op", _p?.op);
|
|
830
|
-
_o.set(_j, "SelectStmt.all", _p?.all);
|
|
831
|
-
_o.set(_j, "SelectStmt.larg", _p?.larg);
|
|
832
|
-
_o.set(_j, "SelectStmt.rarg", _p?.rarg);
|
|
833
|
-
return _j;
|
|
834
|
-
},
|
|
835
|
-
alterTableStmt(_p?: AlterTableStmt["AlterTableStmt"]): AlterTableStmt {
|
|
836
|
-
const _j = ({
|
|
837
|
-
AlterTableStmt: {}
|
|
838
|
-
} as AlterTableStmt);
|
|
839
|
-
_o.set(_j, "AlterTableStmt.relation", _p?.relation);
|
|
840
|
-
_o.set(_j, "AlterTableStmt.cmds", _p?.cmds);
|
|
841
|
-
_o.set(_j, "AlterTableStmt.relkind", _p?.relkind);
|
|
842
|
-
_o.set(_j, "AlterTableStmt.missing_ok", _p?.missing_ok);
|
|
843
|
-
return _j;
|
|
844
|
-
},
|
|
845
|
-
alterTableCmd(_p?: AlterTableCmd["AlterTableCmd"]): AlterTableCmd {
|
|
846
|
-
const _j = ({
|
|
847
|
-
AlterTableCmd: {}
|
|
848
|
-
} as AlterTableCmd);
|
|
849
|
-
_o.set(_j, "AlterTableCmd.subtype", _p?.subtype);
|
|
850
|
-
_o.set(_j, "AlterTableCmd.name", _p?.name);
|
|
851
|
-
_o.set(_j, "AlterTableCmd.num", _p?.num);
|
|
852
|
-
_o.set(_j, "AlterTableCmd.newowner", _p?.newowner);
|
|
853
|
-
_o.set(_j, "AlterTableCmd.def", _p?.def);
|
|
854
|
-
_o.set(_j, "AlterTableCmd.behavior", _p?.behavior);
|
|
855
|
-
_o.set(_j, "AlterTableCmd.missing_ok", _p?.missing_ok);
|
|
856
|
-
_o.set(_j, "AlterTableCmd.recurse", _p?.recurse);
|
|
857
|
-
return _j;
|
|
858
|
-
},
|
|
859
|
-
alterDomainStmt(_p?: AlterDomainStmt["AlterDomainStmt"]): AlterDomainStmt {
|
|
860
|
-
const _j = ({
|
|
861
|
-
AlterDomainStmt: {}
|
|
862
|
-
} as AlterDomainStmt);
|
|
863
|
-
_o.set(_j, "AlterDomainStmt.subtype", _p?.subtype);
|
|
864
|
-
_o.set(_j, "AlterDomainStmt.typeName", _p?.typeName);
|
|
865
|
-
_o.set(_j, "AlterDomainStmt.name", _p?.name);
|
|
866
|
-
_o.set(_j, "AlterDomainStmt.def", _p?.def);
|
|
867
|
-
_o.set(_j, "AlterDomainStmt.behavior", _p?.behavior);
|
|
868
|
-
_o.set(_j, "AlterDomainStmt.missing_ok", _p?.missing_ok);
|
|
869
|
-
return _j;
|
|
870
|
-
},
|
|
871
|
-
setOperationStmt(_p?: SetOperationStmt["SetOperationStmt"]): SetOperationStmt {
|
|
872
|
-
const _j = ({
|
|
873
|
-
SetOperationStmt: {}
|
|
874
|
-
} as SetOperationStmt);
|
|
875
|
-
_o.set(_j, "SetOperationStmt.op", _p?.op);
|
|
876
|
-
_o.set(_j, "SetOperationStmt.all", _p?.all);
|
|
877
|
-
_o.set(_j, "SetOperationStmt.larg", _p?.larg);
|
|
878
|
-
_o.set(_j, "SetOperationStmt.rarg", _p?.rarg);
|
|
879
|
-
_o.set(_j, "SetOperationStmt.colTypes", _p?.colTypes);
|
|
880
|
-
_o.set(_j, "SetOperationStmt.colTypmods", _p?.colTypmods);
|
|
881
|
-
_o.set(_j, "SetOperationStmt.colCollations", _p?.colCollations);
|
|
882
|
-
_o.set(_j, "SetOperationStmt.groupClauses", _p?.groupClauses);
|
|
883
|
-
return _j;
|
|
884
|
-
},
|
|
885
|
-
grantStmt(_p?: GrantStmt["GrantStmt"]): GrantStmt {
|
|
886
|
-
const _j = ({
|
|
887
|
-
GrantStmt: {}
|
|
888
|
-
} as GrantStmt);
|
|
889
|
-
_o.set(_j, "GrantStmt.is_grant", _p?.is_grant);
|
|
890
|
-
_o.set(_j, "GrantStmt.targtype", _p?.targtype);
|
|
891
|
-
_o.set(_j, "GrantStmt.objtype", _p?.objtype);
|
|
892
|
-
_o.set(_j, "GrantStmt.objects", _p?.objects);
|
|
893
|
-
_o.set(_j, "GrantStmt.privileges", _p?.privileges);
|
|
894
|
-
_o.set(_j, "GrantStmt.grantees", _p?.grantees);
|
|
895
|
-
_o.set(_j, "GrantStmt.grant_option", _p?.grant_option);
|
|
896
|
-
_o.set(_j, "GrantStmt.behavior", _p?.behavior);
|
|
897
|
-
return _j;
|
|
898
|
-
},
|
|
899
|
-
grantRoleStmt(_p?: GrantRoleStmt["GrantRoleStmt"]): GrantRoleStmt {
|
|
900
|
-
const _j = ({
|
|
901
|
-
GrantRoleStmt: {}
|
|
902
|
-
} as GrantRoleStmt);
|
|
903
|
-
_o.set(_j, "GrantRoleStmt.granted_roles", _p?.granted_roles);
|
|
904
|
-
_o.set(_j, "GrantRoleStmt.grantee_roles", _p?.grantee_roles);
|
|
905
|
-
_o.set(_j, "GrantRoleStmt.is_grant", _p?.is_grant);
|
|
906
|
-
_o.set(_j, "GrantRoleStmt.admin_opt", _p?.admin_opt);
|
|
907
|
-
_o.set(_j, "GrantRoleStmt.grantor", _p?.grantor);
|
|
908
|
-
_o.set(_j, "GrantRoleStmt.behavior", _p?.behavior);
|
|
909
|
-
return _j;
|
|
910
|
-
},
|
|
911
|
-
alterDefaultPrivilegesStmt(_p?: AlterDefaultPrivilegesStmt["AlterDefaultPrivilegesStmt"]): AlterDefaultPrivilegesStmt {
|
|
912
|
-
const _j = ({
|
|
913
|
-
AlterDefaultPrivilegesStmt: {}
|
|
914
|
-
} as AlterDefaultPrivilegesStmt);
|
|
915
|
-
_o.set(_j, "AlterDefaultPrivilegesStmt.options", _p?.options);
|
|
916
|
-
_o.set(_j, "AlterDefaultPrivilegesStmt.action", _p?.action);
|
|
917
|
-
return _j;
|
|
918
|
-
},
|
|
919
|
-
closePortalStmt(_p?: ClosePortalStmt["ClosePortalStmt"]): ClosePortalStmt {
|
|
920
|
-
const _j = ({
|
|
921
|
-
ClosePortalStmt: {}
|
|
922
|
-
} as ClosePortalStmt);
|
|
923
|
-
_o.set(_j, "ClosePortalStmt.portalname", _p?.portalname);
|
|
924
|
-
return _j;
|
|
925
|
-
},
|
|
926
|
-
clusterStmt(_p?: ClusterStmt["ClusterStmt"]): ClusterStmt {
|
|
927
|
-
const _j = ({
|
|
928
|
-
ClusterStmt: {}
|
|
929
|
-
} as ClusterStmt);
|
|
930
|
-
_o.set(_j, "ClusterStmt.relation", _p?.relation);
|
|
931
|
-
_o.set(_j, "ClusterStmt.indexname", _p?.indexname);
|
|
932
|
-
_o.set(_j, "ClusterStmt.options", _p?.options);
|
|
933
|
-
return _j;
|
|
934
|
-
},
|
|
935
|
-
copyStmt(_p?: CopyStmt["CopyStmt"]): CopyStmt {
|
|
936
|
-
const _j = ({
|
|
937
|
-
CopyStmt: {}
|
|
938
|
-
} as CopyStmt);
|
|
939
|
-
_o.set(_j, "CopyStmt.relation", _p?.relation);
|
|
940
|
-
_o.set(_j, "CopyStmt.query", _p?.query);
|
|
941
|
-
_o.set(_j, "CopyStmt.attlist", _p?.attlist);
|
|
942
|
-
_o.set(_j, "CopyStmt.is_from", _p?.is_from);
|
|
943
|
-
_o.set(_j, "CopyStmt.is_program", _p?.is_program);
|
|
944
|
-
_o.set(_j, "CopyStmt.filename", _p?.filename);
|
|
945
|
-
_o.set(_j, "CopyStmt.options", _p?.options);
|
|
946
|
-
_o.set(_j, "CopyStmt.whereClause", _p?.whereClause);
|
|
947
|
-
return _j;
|
|
948
|
-
},
|
|
949
|
-
createStmt(_p?: CreateStmt["CreateStmt"]): CreateStmt {
|
|
950
|
-
const _j = ({
|
|
951
|
-
CreateStmt: {}
|
|
952
|
-
} as CreateStmt);
|
|
953
|
-
_o.set(_j, "CreateStmt.relation", _p?.relation);
|
|
954
|
-
_o.set(_j, "CreateStmt.tableElts", _p?.tableElts);
|
|
955
|
-
_o.set(_j, "CreateStmt.inhRelations", _p?.inhRelations);
|
|
956
|
-
_o.set(_j, "CreateStmt.partbound", _p?.partbound);
|
|
957
|
-
_o.set(_j, "CreateStmt.partspec", _p?.partspec);
|
|
958
|
-
_o.set(_j, "CreateStmt.ofTypename", _p?.ofTypename);
|
|
959
|
-
_o.set(_j, "CreateStmt.constraints", _p?.constraints);
|
|
960
|
-
_o.set(_j, "CreateStmt.options", _p?.options);
|
|
961
|
-
_o.set(_j, "CreateStmt.oncommit", _p?.oncommit);
|
|
962
|
-
_o.set(_j, "CreateStmt.tablespacename", _p?.tablespacename);
|
|
963
|
-
_o.set(_j, "CreateStmt.accessMethod", _p?.accessMethod);
|
|
964
|
-
_o.set(_j, "CreateStmt.if_not_exists", _p?.if_not_exists);
|
|
965
|
-
return _j;
|
|
966
|
-
},
|
|
967
|
-
defineStmt(_p?: DefineStmt["DefineStmt"]): DefineStmt {
|
|
968
|
-
const _j = ({
|
|
969
|
-
DefineStmt: {}
|
|
970
|
-
} as DefineStmt);
|
|
971
|
-
_o.set(_j, "DefineStmt.kind", _p?.kind);
|
|
972
|
-
_o.set(_j, "DefineStmt.oldstyle", _p?.oldstyle);
|
|
973
|
-
_o.set(_j, "DefineStmt.defnames", _p?.defnames);
|
|
974
|
-
_o.set(_j, "DefineStmt.args", _p?.args);
|
|
975
|
-
_o.set(_j, "DefineStmt.definition", _p?.definition);
|
|
976
|
-
_o.set(_j, "DefineStmt.if_not_exists", _p?.if_not_exists);
|
|
977
|
-
_o.set(_j, "DefineStmt.replace", _p?.replace);
|
|
978
|
-
return _j;
|
|
979
|
-
},
|
|
980
|
-
dropStmt(_p?: DropStmt["DropStmt"]): DropStmt {
|
|
981
|
-
const _j = ({
|
|
982
|
-
DropStmt: {}
|
|
983
|
-
} as DropStmt);
|
|
984
|
-
_o.set(_j, "DropStmt.objects", _p?.objects);
|
|
985
|
-
_o.set(_j, "DropStmt.removeType", _p?.removeType);
|
|
986
|
-
_o.set(_j, "DropStmt.behavior", _p?.behavior);
|
|
987
|
-
_o.set(_j, "DropStmt.missing_ok", _p?.missing_ok);
|
|
988
|
-
_o.set(_j, "DropStmt.concurrent", _p?.concurrent);
|
|
989
|
-
return _j;
|
|
990
|
-
},
|
|
991
|
-
truncateStmt(_p?: TruncateStmt["TruncateStmt"]): TruncateStmt {
|
|
992
|
-
const _j = ({
|
|
993
|
-
TruncateStmt: {}
|
|
994
|
-
} as TruncateStmt);
|
|
995
|
-
_o.set(_j, "TruncateStmt.relations", _p?.relations);
|
|
996
|
-
_o.set(_j, "TruncateStmt.restart_seqs", _p?.restart_seqs);
|
|
997
|
-
_o.set(_j, "TruncateStmt.behavior", _p?.behavior);
|
|
998
|
-
return _j;
|
|
999
|
-
},
|
|
1000
|
-
commentStmt(_p?: CommentStmt["CommentStmt"]): CommentStmt {
|
|
1001
|
-
const _j = ({
|
|
1002
|
-
CommentStmt: {}
|
|
1003
|
-
} as CommentStmt);
|
|
1004
|
-
_o.set(_j, "CommentStmt.objtype", _p?.objtype);
|
|
1005
|
-
_o.set(_j, "CommentStmt.object", _p?.object);
|
|
1006
|
-
_o.set(_j, "CommentStmt.comment", _p?.comment);
|
|
1007
|
-
return _j;
|
|
1008
|
-
},
|
|
1009
|
-
fetchStmt(_p?: FetchStmt["FetchStmt"]): FetchStmt {
|
|
1010
|
-
const _j = ({
|
|
1011
|
-
FetchStmt: {}
|
|
1012
|
-
} as FetchStmt);
|
|
1013
|
-
_o.set(_j, "FetchStmt.direction", _p?.direction);
|
|
1014
|
-
_o.set(_j, "FetchStmt.howMany", _p?.howMany);
|
|
1015
|
-
_o.set(_j, "FetchStmt.portalname", _p?.portalname);
|
|
1016
|
-
_o.set(_j, "FetchStmt.ismove", _p?.ismove);
|
|
1017
|
-
return _j;
|
|
1018
|
-
},
|
|
1019
|
-
indexStmt(_p?: IndexStmt["IndexStmt"]): IndexStmt {
|
|
1020
|
-
const _j = ({
|
|
1021
|
-
IndexStmt: {}
|
|
1022
|
-
} as IndexStmt);
|
|
1023
|
-
_o.set(_j, "IndexStmt.idxname", _p?.idxname);
|
|
1024
|
-
_o.set(_j, "IndexStmt.relation", _p?.relation);
|
|
1025
|
-
_o.set(_j, "IndexStmt.accessMethod", _p?.accessMethod);
|
|
1026
|
-
_o.set(_j, "IndexStmt.tableSpace", _p?.tableSpace);
|
|
1027
|
-
_o.set(_j, "IndexStmt.indexParams", _p?.indexParams);
|
|
1028
|
-
_o.set(_j, "IndexStmt.indexIncludingParams", _p?.indexIncludingParams);
|
|
1029
|
-
_o.set(_j, "IndexStmt.options", _p?.options);
|
|
1030
|
-
_o.set(_j, "IndexStmt.whereClause", _p?.whereClause);
|
|
1031
|
-
_o.set(_j, "IndexStmt.excludeOpNames", _p?.excludeOpNames);
|
|
1032
|
-
_o.set(_j, "IndexStmt.idxcomment", _p?.idxcomment);
|
|
1033
|
-
_o.set(_j, "IndexStmt.indexOid", _p?.indexOid);
|
|
1034
|
-
_o.set(_j, "IndexStmt.oldNode", _p?.oldNode);
|
|
1035
|
-
_o.set(_j, "IndexStmt.oldCreateSubid", _p?.oldCreateSubid);
|
|
1036
|
-
_o.set(_j, "IndexStmt.oldFirstRelfilenodeSubid", _p?.oldFirstRelfilenodeSubid);
|
|
1037
|
-
_o.set(_j, "IndexStmt.unique", _p?.unique);
|
|
1038
|
-
_o.set(_j, "IndexStmt.primary", _p?.primary);
|
|
1039
|
-
_o.set(_j, "IndexStmt.isconstraint", _p?.isconstraint);
|
|
1040
|
-
_o.set(_j, "IndexStmt.deferrable", _p?.deferrable);
|
|
1041
|
-
_o.set(_j, "IndexStmt.initdeferred", _p?.initdeferred);
|
|
1042
|
-
_o.set(_j, "IndexStmt.transformed", _p?.transformed);
|
|
1043
|
-
_o.set(_j, "IndexStmt.concurrent", _p?.concurrent);
|
|
1044
|
-
_o.set(_j, "IndexStmt.if_not_exists", _p?.if_not_exists);
|
|
1045
|
-
_o.set(_j, "IndexStmt.reset_default_tblspc", _p?.reset_default_tblspc);
|
|
1046
|
-
return _j;
|
|
1047
|
-
},
|
|
1048
|
-
createFunctionStmt(_p?: CreateFunctionStmt["CreateFunctionStmt"]): CreateFunctionStmt {
|
|
1049
|
-
const _j = ({
|
|
1050
|
-
CreateFunctionStmt: {}
|
|
1051
|
-
} as CreateFunctionStmt);
|
|
1052
|
-
_o.set(_j, "CreateFunctionStmt.is_procedure", _p?.is_procedure);
|
|
1053
|
-
_o.set(_j, "CreateFunctionStmt.replace", _p?.replace);
|
|
1054
|
-
_o.set(_j, "CreateFunctionStmt.funcname", _p?.funcname);
|
|
1055
|
-
_o.set(_j, "CreateFunctionStmt.parameters", _p?.parameters);
|
|
1056
|
-
_o.set(_j, "CreateFunctionStmt.returnType", _p?.returnType);
|
|
1057
|
-
_o.set(_j, "CreateFunctionStmt.options", _p?.options);
|
|
1058
|
-
return _j;
|
|
1059
|
-
},
|
|
1060
|
-
alterFunctionStmt(_p?: AlterFunctionStmt["AlterFunctionStmt"]): AlterFunctionStmt {
|
|
1061
|
-
const _j = ({
|
|
1062
|
-
AlterFunctionStmt: {}
|
|
1063
|
-
} as AlterFunctionStmt);
|
|
1064
|
-
_o.set(_j, "AlterFunctionStmt.objtype", _p?.objtype);
|
|
1065
|
-
_o.set(_j, "AlterFunctionStmt.func", _p?.func);
|
|
1066
|
-
_o.set(_j, "AlterFunctionStmt.actions", _p?.actions);
|
|
1067
|
-
return _j;
|
|
1068
|
-
},
|
|
1069
|
-
doStmt(_p?: DoStmt["DoStmt"]): DoStmt {
|
|
1070
|
-
const _j = ({
|
|
1071
|
-
DoStmt: {}
|
|
1072
|
-
} as DoStmt);
|
|
1073
|
-
_o.set(_j, "DoStmt.args", _p?.args);
|
|
1074
|
-
return _j;
|
|
1075
|
-
},
|
|
1076
|
-
renameStmt(_p?: RenameStmt["RenameStmt"]): RenameStmt {
|
|
1077
|
-
const _j = ({
|
|
1078
|
-
RenameStmt: {}
|
|
1079
|
-
} as RenameStmt);
|
|
1080
|
-
_o.set(_j, "RenameStmt.renameType", _p?.renameType);
|
|
1081
|
-
_o.set(_j, "RenameStmt.relationType", _p?.relationType);
|
|
1082
|
-
_o.set(_j, "RenameStmt.relation", _p?.relation);
|
|
1083
|
-
_o.set(_j, "RenameStmt.object", _p?.object);
|
|
1084
|
-
_o.set(_j, "RenameStmt.subname", _p?.subname);
|
|
1085
|
-
_o.set(_j, "RenameStmt.newname", _p?.newname);
|
|
1086
|
-
_o.set(_j, "RenameStmt.behavior", _p?.behavior);
|
|
1087
|
-
_o.set(_j, "RenameStmt.missing_ok", _p?.missing_ok);
|
|
1088
|
-
return _j;
|
|
1089
|
-
},
|
|
1090
|
-
ruleStmt(_p?: RuleStmt["RuleStmt"]): RuleStmt {
|
|
1091
|
-
const _j = ({
|
|
1092
|
-
RuleStmt: {}
|
|
1093
|
-
} as RuleStmt);
|
|
1094
|
-
_o.set(_j, "RuleStmt.relation", _p?.relation);
|
|
1095
|
-
_o.set(_j, "RuleStmt.rulename", _p?.rulename);
|
|
1096
|
-
_o.set(_j, "RuleStmt.whereClause", _p?.whereClause);
|
|
1097
|
-
_o.set(_j, "RuleStmt.event", _p?.event);
|
|
1098
|
-
_o.set(_j, "RuleStmt.instead", _p?.instead);
|
|
1099
|
-
_o.set(_j, "RuleStmt.actions", _p?.actions);
|
|
1100
|
-
_o.set(_j, "RuleStmt.replace", _p?.replace);
|
|
1101
|
-
return _j;
|
|
1102
|
-
},
|
|
1103
|
-
notifyStmt(_p?: NotifyStmt["NotifyStmt"]): NotifyStmt {
|
|
1104
|
-
const _j = ({
|
|
1105
|
-
NotifyStmt: {}
|
|
1106
|
-
} as NotifyStmt);
|
|
1107
|
-
_o.set(_j, "NotifyStmt.conditionname", _p?.conditionname);
|
|
1108
|
-
_o.set(_j, "NotifyStmt.payload", _p?.payload);
|
|
1109
|
-
return _j;
|
|
1110
|
-
},
|
|
1111
|
-
listenStmt(_p?: ListenStmt["ListenStmt"]): ListenStmt {
|
|
1112
|
-
const _j = ({
|
|
1113
|
-
ListenStmt: {}
|
|
1114
|
-
} as ListenStmt);
|
|
1115
|
-
_o.set(_j, "ListenStmt.conditionname", _p?.conditionname);
|
|
1116
|
-
return _j;
|
|
1117
|
-
},
|
|
1118
|
-
unlistenStmt(_p?: UnlistenStmt["UnlistenStmt"]): UnlistenStmt {
|
|
1119
|
-
const _j = ({
|
|
1120
|
-
UnlistenStmt: {}
|
|
1121
|
-
} as UnlistenStmt);
|
|
1122
|
-
_o.set(_j, "UnlistenStmt.conditionname", _p?.conditionname);
|
|
1123
|
-
return _j;
|
|
1124
|
-
},
|
|
1125
|
-
transactionStmt(_p?: TransactionStmt["TransactionStmt"]): TransactionStmt {
|
|
1126
|
-
const _j = ({
|
|
1127
|
-
TransactionStmt: {}
|
|
1128
|
-
} as TransactionStmt);
|
|
1129
|
-
_o.set(_j, "TransactionStmt.kind", _p?.kind);
|
|
1130
|
-
_o.set(_j, "TransactionStmt.options", _p?.options);
|
|
1131
|
-
_o.set(_j, "TransactionStmt.savepoint_name", _p?.savepoint_name);
|
|
1132
|
-
_o.set(_j, "TransactionStmt.gid", _p?.gid);
|
|
1133
|
-
_o.set(_j, "TransactionStmt.chain", _p?.chain);
|
|
1134
|
-
return _j;
|
|
1135
|
-
},
|
|
1136
|
-
viewStmt(_p?: ViewStmt["ViewStmt"]): ViewStmt {
|
|
1137
|
-
const _j = ({
|
|
1138
|
-
ViewStmt: {}
|
|
1139
|
-
} as ViewStmt);
|
|
1140
|
-
_o.set(_j, "ViewStmt.view", _p?.view);
|
|
1141
|
-
_o.set(_j, "ViewStmt.aliases", _p?.aliases);
|
|
1142
|
-
_o.set(_j, "ViewStmt.query", _p?.query);
|
|
1143
|
-
_o.set(_j, "ViewStmt.replace", _p?.replace);
|
|
1144
|
-
_o.set(_j, "ViewStmt.options", _p?.options);
|
|
1145
|
-
_o.set(_j, "ViewStmt.withCheckOption", _p?.withCheckOption);
|
|
1146
|
-
return _j;
|
|
1147
|
-
},
|
|
1148
|
-
loadStmt(_p?: LoadStmt["LoadStmt"]): LoadStmt {
|
|
1149
|
-
const _j = ({
|
|
1150
|
-
LoadStmt: {}
|
|
1151
|
-
} as LoadStmt);
|
|
1152
|
-
_o.set(_j, "LoadStmt.filename", _p?.filename);
|
|
1153
|
-
return _j;
|
|
1154
|
-
},
|
|
1155
|
-
createDomainStmt(_p?: CreateDomainStmt["CreateDomainStmt"]): CreateDomainStmt {
|
|
1156
|
-
const _j = ({
|
|
1157
|
-
CreateDomainStmt: {}
|
|
1158
|
-
} as CreateDomainStmt);
|
|
1159
|
-
_o.set(_j, "CreateDomainStmt.domainname", _p?.domainname);
|
|
1160
|
-
_o.set(_j, "CreateDomainStmt.typeName", _p?.typeName);
|
|
1161
|
-
_o.set(_j, "CreateDomainStmt.collClause", _p?.collClause);
|
|
1162
|
-
_o.set(_j, "CreateDomainStmt.constraints", _p?.constraints);
|
|
1163
|
-
return _j;
|
|
1164
|
-
},
|
|
1165
|
-
createdbStmt(_p?: CreatedbStmt["CreatedbStmt"]): CreatedbStmt {
|
|
1166
|
-
const _j = ({
|
|
1167
|
-
CreatedbStmt: {}
|
|
1168
|
-
} as CreatedbStmt);
|
|
1169
|
-
_o.set(_j, "CreatedbStmt.dbname", _p?.dbname);
|
|
1170
|
-
_o.set(_j, "CreatedbStmt.options", _p?.options);
|
|
1171
|
-
return _j;
|
|
1172
|
-
},
|
|
1173
|
-
dropdbStmt(_p?: DropdbStmt["DropdbStmt"]): DropdbStmt {
|
|
1174
|
-
const _j = ({
|
|
1175
|
-
DropdbStmt: {}
|
|
1176
|
-
} as DropdbStmt);
|
|
1177
|
-
_o.set(_j, "DropdbStmt.dbname", _p?.dbname);
|
|
1178
|
-
_o.set(_j, "DropdbStmt.missing_ok", _p?.missing_ok);
|
|
1179
|
-
_o.set(_j, "DropdbStmt.options", _p?.options);
|
|
1180
|
-
return _j;
|
|
1181
|
-
},
|
|
1182
|
-
vacuumStmt(_p?: VacuumStmt["VacuumStmt"]): VacuumStmt {
|
|
1183
|
-
const _j = ({
|
|
1184
|
-
VacuumStmt: {}
|
|
1185
|
-
} as VacuumStmt);
|
|
1186
|
-
_o.set(_j, "VacuumStmt.options", _p?.options);
|
|
1187
|
-
_o.set(_j, "VacuumStmt.rels", _p?.rels);
|
|
1188
|
-
_o.set(_j, "VacuumStmt.is_vacuumcmd", _p?.is_vacuumcmd);
|
|
1189
|
-
return _j;
|
|
1190
|
-
},
|
|
1191
|
-
explainStmt(_p?: ExplainStmt["ExplainStmt"]): ExplainStmt {
|
|
1192
|
-
const _j = ({
|
|
1193
|
-
ExplainStmt: {}
|
|
1194
|
-
} as ExplainStmt);
|
|
1195
|
-
_o.set(_j, "ExplainStmt.query", _p?.query);
|
|
1196
|
-
_o.set(_j, "ExplainStmt.options", _p?.options);
|
|
1197
|
-
return _j;
|
|
1198
|
-
},
|
|
1199
|
-
createTableAsStmt(_p?: CreateTableAsStmt["CreateTableAsStmt"]): CreateTableAsStmt {
|
|
1200
|
-
const _j = ({
|
|
1201
|
-
CreateTableAsStmt: {}
|
|
1202
|
-
} as CreateTableAsStmt);
|
|
1203
|
-
_o.set(_j, "CreateTableAsStmt.query", _p?.query);
|
|
1204
|
-
_o.set(_j, "CreateTableAsStmt.into", _p?.into);
|
|
1205
|
-
_o.set(_j, "CreateTableAsStmt.relkind", _p?.relkind);
|
|
1206
|
-
_o.set(_j, "CreateTableAsStmt.is_select_into", _p?.is_select_into);
|
|
1207
|
-
_o.set(_j, "CreateTableAsStmt.if_not_exists", _p?.if_not_exists);
|
|
1208
|
-
return _j;
|
|
1209
|
-
},
|
|
1210
|
-
createSeqStmt(_p?: CreateSeqStmt["CreateSeqStmt"]): CreateSeqStmt {
|
|
1211
|
-
const _j = ({
|
|
1212
|
-
CreateSeqStmt: {}
|
|
1213
|
-
} as CreateSeqStmt);
|
|
1214
|
-
_o.set(_j, "CreateSeqStmt.sequence", _p?.sequence);
|
|
1215
|
-
_o.set(_j, "CreateSeqStmt.options", _p?.options);
|
|
1216
|
-
_o.set(_j, "CreateSeqStmt.ownerId", _p?.ownerId);
|
|
1217
|
-
_o.set(_j, "CreateSeqStmt.for_identity", _p?.for_identity);
|
|
1218
|
-
_o.set(_j, "CreateSeqStmt.if_not_exists", _p?.if_not_exists);
|
|
1219
|
-
return _j;
|
|
1220
|
-
},
|
|
1221
|
-
alterSeqStmt(_p?: AlterSeqStmt["AlterSeqStmt"]): AlterSeqStmt {
|
|
1222
|
-
const _j = ({
|
|
1223
|
-
AlterSeqStmt: {}
|
|
1224
|
-
} as AlterSeqStmt);
|
|
1225
|
-
_o.set(_j, "AlterSeqStmt.sequence", _p?.sequence);
|
|
1226
|
-
_o.set(_j, "AlterSeqStmt.options", _p?.options);
|
|
1227
|
-
_o.set(_j, "AlterSeqStmt.for_identity", _p?.for_identity);
|
|
1228
|
-
_o.set(_j, "AlterSeqStmt.missing_ok", _p?.missing_ok);
|
|
1229
|
-
return _j;
|
|
1230
|
-
},
|
|
1231
|
-
variableSetStmt(_p?: VariableSetStmt["VariableSetStmt"]): VariableSetStmt {
|
|
1232
|
-
const _j = ({
|
|
1233
|
-
VariableSetStmt: {}
|
|
1234
|
-
} as VariableSetStmt);
|
|
1235
|
-
_o.set(_j, "VariableSetStmt.kind", _p?.kind);
|
|
1236
|
-
_o.set(_j, "VariableSetStmt.name", _p?.name);
|
|
1237
|
-
_o.set(_j, "VariableSetStmt.args", _p?.args);
|
|
1238
|
-
_o.set(_j, "VariableSetStmt.is_local", _p?.is_local);
|
|
1239
|
-
return _j;
|
|
1240
|
-
},
|
|
1241
|
-
variableShowStmt(_p?: VariableShowStmt["VariableShowStmt"]): VariableShowStmt {
|
|
1242
|
-
const _j = ({
|
|
1243
|
-
VariableShowStmt: {}
|
|
1244
|
-
} as VariableShowStmt);
|
|
1245
|
-
_o.set(_j, "VariableShowStmt.name", _p?.name);
|
|
1246
|
-
return _j;
|
|
1247
|
-
},
|
|
1248
|
-
discardStmt(_p?: DiscardStmt["DiscardStmt"]): DiscardStmt {
|
|
1249
|
-
const _j = ({
|
|
1250
|
-
DiscardStmt: {}
|
|
1251
|
-
} as DiscardStmt);
|
|
1252
|
-
_o.set(_j, "DiscardStmt.target", _p?.target);
|
|
1253
|
-
return _j;
|
|
1254
|
-
},
|
|
1255
|
-
createTrigStmt(_p?: CreateTrigStmt["CreateTrigStmt"]): CreateTrigStmt {
|
|
1256
|
-
const _j = ({
|
|
1257
|
-
CreateTrigStmt: {}
|
|
1258
|
-
} as CreateTrigStmt);
|
|
1259
|
-
_o.set(_j, "CreateTrigStmt.trigname", _p?.trigname);
|
|
1260
|
-
_o.set(_j, "CreateTrigStmt.relation", _p?.relation);
|
|
1261
|
-
_o.set(_j, "CreateTrigStmt.funcname", _p?.funcname);
|
|
1262
|
-
_o.set(_j, "CreateTrigStmt.args", _p?.args);
|
|
1263
|
-
_o.set(_j, "CreateTrigStmt.row", _p?.row);
|
|
1264
|
-
_o.set(_j, "CreateTrigStmt.timing", _p?.timing);
|
|
1265
|
-
_o.set(_j, "CreateTrigStmt.events", _p?.events);
|
|
1266
|
-
_o.set(_j, "CreateTrigStmt.columns", _p?.columns);
|
|
1267
|
-
_o.set(_j, "CreateTrigStmt.whenClause", _p?.whenClause);
|
|
1268
|
-
_o.set(_j, "CreateTrigStmt.isconstraint", _p?.isconstraint);
|
|
1269
|
-
_o.set(_j, "CreateTrigStmt.transitionRels", _p?.transitionRels);
|
|
1270
|
-
_o.set(_j, "CreateTrigStmt.deferrable", _p?.deferrable);
|
|
1271
|
-
_o.set(_j, "CreateTrigStmt.initdeferred", _p?.initdeferred);
|
|
1272
|
-
_o.set(_j, "CreateTrigStmt.constrrel", _p?.constrrel);
|
|
1273
|
-
return _j;
|
|
1274
|
-
},
|
|
1275
|
-
createpLangStmt(_p?: CreatePLangStmt["CreatePLangStmt"]): CreatePLangStmt {
|
|
1276
|
-
const _j = ({
|
|
1277
|
-
CreatePLangStmt: {}
|
|
1278
|
-
} as CreatePLangStmt);
|
|
1279
|
-
_o.set(_j, "CreatePLangStmt.replace", _p?.replace);
|
|
1280
|
-
_o.set(_j, "CreatePLangStmt.plname", _p?.plname);
|
|
1281
|
-
_o.set(_j, "CreatePLangStmt.plhandler", _p?.plhandler);
|
|
1282
|
-
_o.set(_j, "CreatePLangStmt.plinline", _p?.plinline);
|
|
1283
|
-
_o.set(_j, "CreatePLangStmt.plvalidator", _p?.plvalidator);
|
|
1284
|
-
_o.set(_j, "CreatePLangStmt.pltrusted", _p?.pltrusted);
|
|
1285
|
-
return _j;
|
|
1286
|
-
},
|
|
1287
|
-
createRoleStmt(_p?: CreateRoleStmt["CreateRoleStmt"]): CreateRoleStmt {
|
|
1288
|
-
const _j = ({
|
|
1289
|
-
CreateRoleStmt: {}
|
|
1290
|
-
} as CreateRoleStmt);
|
|
1291
|
-
_o.set(_j, "CreateRoleStmt.stmt_type", _p?.stmt_type);
|
|
1292
|
-
_o.set(_j, "CreateRoleStmt.role", _p?.role);
|
|
1293
|
-
_o.set(_j, "CreateRoleStmt.options", _p?.options);
|
|
1294
|
-
return _j;
|
|
1295
|
-
},
|
|
1296
|
-
alterRoleStmt(_p?: AlterRoleStmt["AlterRoleStmt"]): AlterRoleStmt {
|
|
1297
|
-
const _j = ({
|
|
1298
|
-
AlterRoleStmt: {}
|
|
1299
|
-
} as AlterRoleStmt);
|
|
1300
|
-
_o.set(_j, "AlterRoleStmt.role", _p?.role);
|
|
1301
|
-
_o.set(_j, "AlterRoleStmt.options", _p?.options);
|
|
1302
|
-
_o.set(_j, "AlterRoleStmt.action", _p?.action);
|
|
1303
|
-
return _j;
|
|
1304
|
-
},
|
|
1305
|
-
dropRoleStmt(_p?: DropRoleStmt["DropRoleStmt"]): DropRoleStmt {
|
|
1306
|
-
const _j = ({
|
|
1307
|
-
DropRoleStmt: {}
|
|
1308
|
-
} as DropRoleStmt);
|
|
1309
|
-
_o.set(_j, "DropRoleStmt.roles", _p?.roles);
|
|
1310
|
-
_o.set(_j, "DropRoleStmt.missing_ok", _p?.missing_ok);
|
|
1311
|
-
return _j;
|
|
1312
|
-
},
|
|
1313
|
-
lockStmt(_p?: LockStmt["LockStmt"]): LockStmt {
|
|
1314
|
-
const _j = ({
|
|
1315
|
-
LockStmt: {}
|
|
1316
|
-
} as LockStmt);
|
|
1317
|
-
_o.set(_j, "LockStmt.relations", _p?.relations);
|
|
1318
|
-
_o.set(_j, "LockStmt.mode", _p?.mode);
|
|
1319
|
-
_o.set(_j, "LockStmt.nowait", _p?.nowait);
|
|
1320
|
-
return _j;
|
|
1321
|
-
},
|
|
1322
|
-
constraintsSetStmt(_p?: ConstraintsSetStmt["ConstraintsSetStmt"]): ConstraintsSetStmt {
|
|
1323
|
-
const _j = ({
|
|
1324
|
-
ConstraintsSetStmt: {}
|
|
1325
|
-
} as ConstraintsSetStmt);
|
|
1326
|
-
_o.set(_j, "ConstraintsSetStmt.constraints", _p?.constraints);
|
|
1327
|
-
_o.set(_j, "ConstraintsSetStmt.deferred", _p?.deferred);
|
|
1328
|
-
return _j;
|
|
1329
|
-
},
|
|
1330
|
-
reindexStmt(_p?: ReindexStmt["ReindexStmt"]): ReindexStmt {
|
|
1331
|
-
const _j = ({
|
|
1332
|
-
ReindexStmt: {}
|
|
1333
|
-
} as ReindexStmt);
|
|
1334
|
-
_o.set(_j, "ReindexStmt.kind", _p?.kind);
|
|
1335
|
-
_o.set(_j, "ReindexStmt.relation", _p?.relation);
|
|
1336
|
-
_o.set(_j, "ReindexStmt.name", _p?.name);
|
|
1337
|
-
_o.set(_j, "ReindexStmt.options", _p?.options);
|
|
1338
|
-
_o.set(_j, "ReindexStmt.concurrent", _p?.concurrent);
|
|
1339
|
-
return _j;
|
|
1340
|
-
},
|
|
1341
|
-
checkPointStmt(_p?: CheckPointStmt["CheckPointStmt"]): CheckPointStmt {
|
|
1342
|
-
const _j = ({
|
|
1343
|
-
CheckPointStmt: {}
|
|
1344
|
-
} as CheckPointStmt);
|
|
1345
|
-
return _j;
|
|
1346
|
-
},
|
|
1347
|
-
createSchemaStmt(_p?: CreateSchemaStmt["CreateSchemaStmt"]): CreateSchemaStmt {
|
|
1348
|
-
const _j = ({
|
|
1349
|
-
CreateSchemaStmt: {}
|
|
1350
|
-
} as CreateSchemaStmt);
|
|
1351
|
-
_o.set(_j, "CreateSchemaStmt.schemaname", _p?.schemaname);
|
|
1352
|
-
_o.set(_j, "CreateSchemaStmt.authrole", _p?.authrole);
|
|
1353
|
-
_o.set(_j, "CreateSchemaStmt.schemaElts", _p?.schemaElts);
|
|
1354
|
-
_o.set(_j, "CreateSchemaStmt.if_not_exists", _p?.if_not_exists);
|
|
1355
|
-
return _j;
|
|
1356
|
-
},
|
|
1357
|
-
alterDatabaseStmt(_p?: AlterDatabaseStmt["AlterDatabaseStmt"]): AlterDatabaseStmt {
|
|
1358
|
-
const _j = ({
|
|
1359
|
-
AlterDatabaseStmt: {}
|
|
1360
|
-
} as AlterDatabaseStmt);
|
|
1361
|
-
_o.set(_j, "AlterDatabaseStmt.dbname", _p?.dbname);
|
|
1362
|
-
_o.set(_j, "AlterDatabaseStmt.options", _p?.options);
|
|
1363
|
-
return _j;
|
|
1364
|
-
},
|
|
1365
|
-
alterDatabaseSetStmt(_p?: AlterDatabaseSetStmt["AlterDatabaseSetStmt"]): AlterDatabaseSetStmt {
|
|
1366
|
-
const _j = ({
|
|
1367
|
-
AlterDatabaseSetStmt: {}
|
|
1368
|
-
} as AlterDatabaseSetStmt);
|
|
1369
|
-
_o.set(_j, "AlterDatabaseSetStmt.dbname", _p?.dbname);
|
|
1370
|
-
_o.set(_j, "AlterDatabaseSetStmt.setstmt", _p?.setstmt);
|
|
1371
|
-
return _j;
|
|
1372
|
-
},
|
|
1373
|
-
alterRoleSetStmt(_p?: AlterRoleSetStmt["AlterRoleSetStmt"]): AlterRoleSetStmt {
|
|
1374
|
-
const _j = ({
|
|
1375
|
-
AlterRoleSetStmt: {}
|
|
1376
|
-
} as AlterRoleSetStmt);
|
|
1377
|
-
_o.set(_j, "AlterRoleSetStmt.role", _p?.role);
|
|
1378
|
-
_o.set(_j, "AlterRoleSetStmt.database", _p?.database);
|
|
1379
|
-
_o.set(_j, "AlterRoleSetStmt.setstmt", _p?.setstmt);
|
|
1380
|
-
return _j;
|
|
1381
|
-
},
|
|
1382
|
-
createConversionStmt(_p?: CreateConversionStmt["CreateConversionStmt"]): CreateConversionStmt {
|
|
1383
|
-
const _j = ({
|
|
1384
|
-
CreateConversionStmt: {}
|
|
1385
|
-
} as CreateConversionStmt);
|
|
1386
|
-
_o.set(_j, "CreateConversionStmt.conversion_name", _p?.conversion_name);
|
|
1387
|
-
_o.set(_j, "CreateConversionStmt.for_encoding_name", _p?.for_encoding_name);
|
|
1388
|
-
_o.set(_j, "CreateConversionStmt.to_encoding_name", _p?.to_encoding_name);
|
|
1389
|
-
_o.set(_j, "CreateConversionStmt.func_name", _p?.func_name);
|
|
1390
|
-
_o.set(_j, "CreateConversionStmt.def", _p?.def);
|
|
1391
|
-
return _j;
|
|
1392
|
-
},
|
|
1393
|
-
createCastStmt(_p?: CreateCastStmt["CreateCastStmt"]): CreateCastStmt {
|
|
1394
|
-
const _j = ({
|
|
1395
|
-
CreateCastStmt: {}
|
|
1396
|
-
} as CreateCastStmt);
|
|
1397
|
-
_o.set(_j, "CreateCastStmt.sourcetype", _p?.sourcetype);
|
|
1398
|
-
_o.set(_j, "CreateCastStmt.targettype", _p?.targettype);
|
|
1399
|
-
_o.set(_j, "CreateCastStmt.func", _p?.func);
|
|
1400
|
-
_o.set(_j, "CreateCastStmt.context", _p?.context);
|
|
1401
|
-
_o.set(_j, "CreateCastStmt.inout", _p?.inout);
|
|
1402
|
-
return _j;
|
|
1403
|
-
},
|
|
1404
|
-
createOpClassStmt(_p?: CreateOpClassStmt["CreateOpClassStmt"]): CreateOpClassStmt {
|
|
1405
|
-
const _j = ({
|
|
1406
|
-
CreateOpClassStmt: {}
|
|
1407
|
-
} as CreateOpClassStmt);
|
|
1408
|
-
_o.set(_j, "CreateOpClassStmt.opclassname", _p?.opclassname);
|
|
1409
|
-
_o.set(_j, "CreateOpClassStmt.opfamilyname", _p?.opfamilyname);
|
|
1410
|
-
_o.set(_j, "CreateOpClassStmt.amname", _p?.amname);
|
|
1411
|
-
_o.set(_j, "CreateOpClassStmt.datatype", _p?.datatype);
|
|
1412
|
-
_o.set(_j, "CreateOpClassStmt.items", _p?.items);
|
|
1413
|
-
_o.set(_j, "CreateOpClassStmt.isDefault", _p?.isDefault);
|
|
1414
|
-
return _j;
|
|
1415
|
-
},
|
|
1416
|
-
createOpFamilyStmt(_p?: CreateOpFamilyStmt["CreateOpFamilyStmt"]): CreateOpFamilyStmt {
|
|
1417
|
-
const _j = ({
|
|
1418
|
-
CreateOpFamilyStmt: {}
|
|
1419
|
-
} as CreateOpFamilyStmt);
|
|
1420
|
-
_o.set(_j, "CreateOpFamilyStmt.opfamilyname", _p?.opfamilyname);
|
|
1421
|
-
_o.set(_j, "CreateOpFamilyStmt.amname", _p?.amname);
|
|
1422
|
-
return _j;
|
|
1423
|
-
},
|
|
1424
|
-
alterOpFamilyStmt(_p?: AlterOpFamilyStmt["AlterOpFamilyStmt"]): AlterOpFamilyStmt {
|
|
1425
|
-
const _j = ({
|
|
1426
|
-
AlterOpFamilyStmt: {}
|
|
1427
|
-
} as AlterOpFamilyStmt);
|
|
1428
|
-
_o.set(_j, "AlterOpFamilyStmt.opfamilyname", _p?.opfamilyname);
|
|
1429
|
-
_o.set(_j, "AlterOpFamilyStmt.amname", _p?.amname);
|
|
1430
|
-
_o.set(_j, "AlterOpFamilyStmt.isDrop", _p?.isDrop);
|
|
1431
|
-
_o.set(_j, "AlterOpFamilyStmt.items", _p?.items);
|
|
1432
|
-
return _j;
|
|
1433
|
-
},
|
|
1434
|
-
prepareStmt(_p?: PrepareStmt["PrepareStmt"]): PrepareStmt {
|
|
1435
|
-
const _j = ({
|
|
1436
|
-
PrepareStmt: {}
|
|
1437
|
-
} as PrepareStmt);
|
|
1438
|
-
_o.set(_j, "PrepareStmt.name", _p?.name);
|
|
1439
|
-
_o.set(_j, "PrepareStmt.argtypes", _p?.argtypes);
|
|
1440
|
-
_o.set(_j, "PrepareStmt.query", _p?.query);
|
|
1441
|
-
return _j;
|
|
1442
|
-
},
|
|
1443
|
-
executeStmt(_p?: ExecuteStmt["ExecuteStmt"]): ExecuteStmt {
|
|
1444
|
-
const _j = ({
|
|
1445
|
-
ExecuteStmt: {}
|
|
1446
|
-
} as ExecuteStmt);
|
|
1447
|
-
_o.set(_j, "ExecuteStmt.name", _p?.name);
|
|
1448
|
-
_o.set(_j, "ExecuteStmt.params", _p?.params);
|
|
1449
|
-
return _j;
|
|
1450
|
-
},
|
|
1451
|
-
deallocateStmt(_p?: DeallocateStmt["DeallocateStmt"]): DeallocateStmt {
|
|
1452
|
-
const _j = ({
|
|
1453
|
-
DeallocateStmt: {}
|
|
1454
|
-
} as DeallocateStmt);
|
|
1455
|
-
_o.set(_j, "DeallocateStmt.name", _p?.name);
|
|
1456
|
-
return _j;
|
|
1457
|
-
},
|
|
1458
|
-
declareCursorStmt(_p?: DeclareCursorStmt["DeclareCursorStmt"]): DeclareCursorStmt {
|
|
1459
|
-
const _j = ({
|
|
1460
|
-
DeclareCursorStmt: {}
|
|
1461
|
-
} as DeclareCursorStmt);
|
|
1462
|
-
_o.set(_j, "DeclareCursorStmt.portalname", _p?.portalname);
|
|
1463
|
-
_o.set(_j, "DeclareCursorStmt.options", _p?.options);
|
|
1464
|
-
_o.set(_j, "DeclareCursorStmt.query", _p?.query);
|
|
1465
|
-
return _j;
|
|
1466
|
-
},
|
|
1467
|
-
createTableSpaceStmt(_p?: CreateTableSpaceStmt["CreateTableSpaceStmt"]): CreateTableSpaceStmt {
|
|
1468
|
-
const _j = ({
|
|
1469
|
-
CreateTableSpaceStmt: {}
|
|
1470
|
-
} as CreateTableSpaceStmt);
|
|
1471
|
-
_o.set(_j, "CreateTableSpaceStmt.tablespacename", _p?.tablespacename);
|
|
1472
|
-
_o.set(_j, "CreateTableSpaceStmt.owner", _p?.owner);
|
|
1473
|
-
_o.set(_j, "CreateTableSpaceStmt.location", _p?.location);
|
|
1474
|
-
_o.set(_j, "CreateTableSpaceStmt.options", _p?.options);
|
|
1475
|
-
return _j;
|
|
1476
|
-
},
|
|
1477
|
-
dropTableSpaceStmt(_p?: DropTableSpaceStmt["DropTableSpaceStmt"]): DropTableSpaceStmt {
|
|
1478
|
-
const _j = ({
|
|
1479
|
-
DropTableSpaceStmt: {}
|
|
1480
|
-
} as DropTableSpaceStmt);
|
|
1481
|
-
_o.set(_j, "DropTableSpaceStmt.tablespacename", _p?.tablespacename);
|
|
1482
|
-
_o.set(_j, "DropTableSpaceStmt.missing_ok", _p?.missing_ok);
|
|
1483
|
-
return _j;
|
|
1484
|
-
},
|
|
1485
|
-
alterObjectDependsStmt(_p?: AlterObjectDependsStmt["AlterObjectDependsStmt"]): AlterObjectDependsStmt {
|
|
1486
|
-
const _j = ({
|
|
1487
|
-
AlterObjectDependsStmt: {}
|
|
1488
|
-
} as AlterObjectDependsStmt);
|
|
1489
|
-
_o.set(_j, "AlterObjectDependsStmt.objectType", _p?.objectType);
|
|
1490
|
-
_o.set(_j, "AlterObjectDependsStmt.relation", _p?.relation);
|
|
1491
|
-
_o.set(_j, "AlterObjectDependsStmt.object", _p?.object);
|
|
1492
|
-
_o.set(_j, "AlterObjectDependsStmt.extname", _p?.extname);
|
|
1493
|
-
_o.set(_j, "AlterObjectDependsStmt.remove", _p?.remove);
|
|
1494
|
-
return _j;
|
|
1495
|
-
},
|
|
1496
|
-
alterObjectSchemaStmt(_p?: AlterObjectSchemaStmt["AlterObjectSchemaStmt"]): AlterObjectSchemaStmt {
|
|
1497
|
-
const _j = ({
|
|
1498
|
-
AlterObjectSchemaStmt: {}
|
|
1499
|
-
} as AlterObjectSchemaStmt);
|
|
1500
|
-
_o.set(_j, "AlterObjectSchemaStmt.objectType", _p?.objectType);
|
|
1501
|
-
_o.set(_j, "AlterObjectSchemaStmt.relation", _p?.relation);
|
|
1502
|
-
_o.set(_j, "AlterObjectSchemaStmt.object", _p?.object);
|
|
1503
|
-
_o.set(_j, "AlterObjectSchemaStmt.newschema", _p?.newschema);
|
|
1504
|
-
_o.set(_j, "AlterObjectSchemaStmt.missing_ok", _p?.missing_ok);
|
|
1505
|
-
return _j;
|
|
1506
|
-
},
|
|
1507
|
-
alterOwnerStmt(_p?: AlterOwnerStmt["AlterOwnerStmt"]): AlterOwnerStmt {
|
|
1508
|
-
const _j = ({
|
|
1509
|
-
AlterOwnerStmt: {}
|
|
1510
|
-
} as AlterOwnerStmt);
|
|
1511
|
-
_o.set(_j, "AlterOwnerStmt.objectType", _p?.objectType);
|
|
1512
|
-
_o.set(_j, "AlterOwnerStmt.relation", _p?.relation);
|
|
1513
|
-
_o.set(_j, "AlterOwnerStmt.object", _p?.object);
|
|
1514
|
-
_o.set(_j, "AlterOwnerStmt.newowner", _p?.newowner);
|
|
1515
|
-
return _j;
|
|
1516
|
-
},
|
|
1517
|
-
alterOperatorStmt(_p?: AlterOperatorStmt["AlterOperatorStmt"]): AlterOperatorStmt {
|
|
1518
|
-
const _j = ({
|
|
1519
|
-
AlterOperatorStmt: {}
|
|
1520
|
-
} as AlterOperatorStmt);
|
|
1521
|
-
_o.set(_j, "AlterOperatorStmt.opername", _p?.opername);
|
|
1522
|
-
_o.set(_j, "AlterOperatorStmt.options", _p?.options);
|
|
1523
|
-
return _j;
|
|
1524
|
-
},
|
|
1525
|
-
alterTypeStmt(_p?: AlterTypeStmt["AlterTypeStmt"]): AlterTypeStmt {
|
|
1526
|
-
const _j = ({
|
|
1527
|
-
AlterTypeStmt: {}
|
|
1528
|
-
} as AlterTypeStmt);
|
|
1529
|
-
_o.set(_j, "AlterTypeStmt.typeName", _p?.typeName);
|
|
1530
|
-
_o.set(_j, "AlterTypeStmt.options", _p?.options);
|
|
1531
|
-
return _j;
|
|
1532
|
-
},
|
|
1533
|
-
dropOwnedStmt(_p?: DropOwnedStmt["DropOwnedStmt"]): DropOwnedStmt {
|
|
1534
|
-
const _j = ({
|
|
1535
|
-
DropOwnedStmt: {}
|
|
1536
|
-
} as DropOwnedStmt);
|
|
1537
|
-
_o.set(_j, "DropOwnedStmt.roles", _p?.roles);
|
|
1538
|
-
_o.set(_j, "DropOwnedStmt.behavior", _p?.behavior);
|
|
1539
|
-
return _j;
|
|
1540
|
-
},
|
|
1541
|
-
reassignOwnedStmt(_p?: ReassignOwnedStmt["ReassignOwnedStmt"]): ReassignOwnedStmt {
|
|
1542
|
-
const _j = ({
|
|
1543
|
-
ReassignOwnedStmt: {}
|
|
1544
|
-
} as ReassignOwnedStmt);
|
|
1545
|
-
_o.set(_j, "ReassignOwnedStmt.roles", _p?.roles);
|
|
1546
|
-
_o.set(_j, "ReassignOwnedStmt.newrole", _p?.newrole);
|
|
1547
|
-
return _j;
|
|
1548
|
-
},
|
|
1549
|
-
compositeTypeStmt(_p?: CompositeTypeStmt["CompositeTypeStmt"]): CompositeTypeStmt {
|
|
1550
|
-
const _j = ({
|
|
1551
|
-
CompositeTypeStmt: {}
|
|
1552
|
-
} as CompositeTypeStmt);
|
|
1553
|
-
_o.set(_j, "CompositeTypeStmt.typevar", _p?.typevar);
|
|
1554
|
-
_o.set(_j, "CompositeTypeStmt.coldeflist", _p?.coldeflist);
|
|
1555
|
-
return _j;
|
|
1556
|
-
},
|
|
1557
|
-
createEnumStmt(_p?: CreateEnumStmt["CreateEnumStmt"]): CreateEnumStmt {
|
|
1558
|
-
const _j = ({
|
|
1559
|
-
CreateEnumStmt: {}
|
|
1560
|
-
} as CreateEnumStmt);
|
|
1561
|
-
_o.set(_j, "CreateEnumStmt.typeName", _p?.typeName);
|
|
1562
|
-
_o.set(_j, "CreateEnumStmt.vals", _p?.vals);
|
|
1563
|
-
return _j;
|
|
1564
|
-
},
|
|
1565
|
-
createRangeStmt(_p?: CreateRangeStmt["CreateRangeStmt"]): CreateRangeStmt {
|
|
1566
|
-
const _j = ({
|
|
1567
|
-
CreateRangeStmt: {}
|
|
1568
|
-
} as CreateRangeStmt);
|
|
1569
|
-
_o.set(_j, "CreateRangeStmt.typeName", _p?.typeName);
|
|
1570
|
-
_o.set(_j, "CreateRangeStmt.params", _p?.params);
|
|
1571
|
-
return _j;
|
|
1572
|
-
},
|
|
1573
|
-
alterEnumStmt(_p?: AlterEnumStmt["AlterEnumStmt"]): AlterEnumStmt {
|
|
1574
|
-
const _j = ({
|
|
1575
|
-
AlterEnumStmt: {}
|
|
1576
|
-
} as AlterEnumStmt);
|
|
1577
|
-
_o.set(_j, "AlterEnumStmt.typeName", _p?.typeName);
|
|
1578
|
-
_o.set(_j, "AlterEnumStmt.oldVal", _p?.oldVal);
|
|
1579
|
-
_o.set(_j, "AlterEnumStmt.newVal", _p?.newVal);
|
|
1580
|
-
_o.set(_j, "AlterEnumStmt.newValNeighbor", _p?.newValNeighbor);
|
|
1581
|
-
_o.set(_j, "AlterEnumStmt.newValIsAfter", _p?.newValIsAfter);
|
|
1582
|
-
_o.set(_j, "AlterEnumStmt.skipIfNewValExists", _p?.skipIfNewValExists);
|
|
1583
|
-
return _j;
|
|
1584
|
-
},
|
|
1585
|
-
altertsDictionaryStmt(_p?: AlterTSDictionaryStmt["AlterTSDictionaryStmt"]): AlterTSDictionaryStmt {
|
|
1586
|
-
const _j = ({
|
|
1587
|
-
AlterTSDictionaryStmt: {}
|
|
1588
|
-
} as AlterTSDictionaryStmt);
|
|
1589
|
-
_o.set(_j, "AlterTSDictionaryStmt.dictname", _p?.dictname);
|
|
1590
|
-
_o.set(_j, "AlterTSDictionaryStmt.options", _p?.options);
|
|
1591
|
-
return _j;
|
|
1592
|
-
},
|
|
1593
|
-
altertsConfigurationStmt(_p?: AlterTSConfigurationStmt["AlterTSConfigurationStmt"]): AlterTSConfigurationStmt {
|
|
1594
|
-
const _j = ({
|
|
1595
|
-
AlterTSConfigurationStmt: {}
|
|
1596
|
-
} as AlterTSConfigurationStmt);
|
|
1597
|
-
_o.set(_j, "AlterTSConfigurationStmt.kind", _p?.kind);
|
|
1598
|
-
_o.set(_j, "AlterTSConfigurationStmt.cfgname", _p?.cfgname);
|
|
1599
|
-
_o.set(_j, "AlterTSConfigurationStmt.tokentype", _p?.tokentype);
|
|
1600
|
-
_o.set(_j, "AlterTSConfigurationStmt.dicts", _p?.dicts);
|
|
1601
|
-
_o.set(_j, "AlterTSConfigurationStmt.override", _p?.override);
|
|
1602
|
-
_o.set(_j, "AlterTSConfigurationStmt.replace", _p?.replace);
|
|
1603
|
-
_o.set(_j, "AlterTSConfigurationStmt.missing_ok", _p?.missing_ok);
|
|
1604
|
-
return _j;
|
|
1605
|
-
},
|
|
1606
|
-
createFdwStmt(_p?: CreateFdwStmt["CreateFdwStmt"]): CreateFdwStmt {
|
|
1607
|
-
const _j = ({
|
|
1608
|
-
CreateFdwStmt: {}
|
|
1609
|
-
} as CreateFdwStmt);
|
|
1610
|
-
_o.set(_j, "CreateFdwStmt.fdwname", _p?.fdwname);
|
|
1611
|
-
_o.set(_j, "CreateFdwStmt.func_options", _p?.func_options);
|
|
1612
|
-
_o.set(_j, "CreateFdwStmt.options", _p?.options);
|
|
1613
|
-
return _j;
|
|
1614
|
-
},
|
|
1615
|
-
alterFdwStmt(_p?: AlterFdwStmt["AlterFdwStmt"]): AlterFdwStmt {
|
|
1616
|
-
const _j = ({
|
|
1617
|
-
AlterFdwStmt: {}
|
|
1618
|
-
} as AlterFdwStmt);
|
|
1619
|
-
_o.set(_j, "AlterFdwStmt.fdwname", _p?.fdwname);
|
|
1620
|
-
_o.set(_j, "AlterFdwStmt.func_options", _p?.func_options);
|
|
1621
|
-
_o.set(_j, "AlterFdwStmt.options", _p?.options);
|
|
1622
|
-
return _j;
|
|
1623
|
-
},
|
|
1624
|
-
createForeignServerStmt(_p?: CreateForeignServerStmt["CreateForeignServerStmt"]): CreateForeignServerStmt {
|
|
1625
|
-
const _j = ({
|
|
1626
|
-
CreateForeignServerStmt: {}
|
|
1627
|
-
} as CreateForeignServerStmt);
|
|
1628
|
-
_o.set(_j, "CreateForeignServerStmt.servername", _p?.servername);
|
|
1629
|
-
_o.set(_j, "CreateForeignServerStmt.servertype", _p?.servertype);
|
|
1630
|
-
_o.set(_j, "CreateForeignServerStmt.version", _p?.version);
|
|
1631
|
-
_o.set(_j, "CreateForeignServerStmt.fdwname", _p?.fdwname);
|
|
1632
|
-
_o.set(_j, "CreateForeignServerStmt.if_not_exists", _p?.if_not_exists);
|
|
1633
|
-
_o.set(_j, "CreateForeignServerStmt.options", _p?.options);
|
|
1634
|
-
return _j;
|
|
1635
|
-
},
|
|
1636
|
-
alterForeignServerStmt(_p?: AlterForeignServerStmt["AlterForeignServerStmt"]): AlterForeignServerStmt {
|
|
1637
|
-
const _j = ({
|
|
1638
|
-
AlterForeignServerStmt: {}
|
|
1639
|
-
} as AlterForeignServerStmt);
|
|
1640
|
-
_o.set(_j, "AlterForeignServerStmt.servername", _p?.servername);
|
|
1641
|
-
_o.set(_j, "AlterForeignServerStmt.version", _p?.version);
|
|
1642
|
-
_o.set(_j, "AlterForeignServerStmt.options", _p?.options);
|
|
1643
|
-
_o.set(_j, "AlterForeignServerStmt.has_version", _p?.has_version);
|
|
1644
|
-
return _j;
|
|
1645
|
-
},
|
|
1646
|
-
createUserMappingStmt(_p?: CreateUserMappingStmt["CreateUserMappingStmt"]): CreateUserMappingStmt {
|
|
1647
|
-
const _j = ({
|
|
1648
|
-
CreateUserMappingStmt: {}
|
|
1649
|
-
} as CreateUserMappingStmt);
|
|
1650
|
-
_o.set(_j, "CreateUserMappingStmt.user", _p?.user);
|
|
1651
|
-
_o.set(_j, "CreateUserMappingStmt.servername", _p?.servername);
|
|
1652
|
-
_o.set(_j, "CreateUserMappingStmt.if_not_exists", _p?.if_not_exists);
|
|
1653
|
-
_o.set(_j, "CreateUserMappingStmt.options", _p?.options);
|
|
1654
|
-
return _j;
|
|
1655
|
-
},
|
|
1656
|
-
alterUserMappingStmt(_p?: AlterUserMappingStmt["AlterUserMappingStmt"]): AlterUserMappingStmt {
|
|
1657
|
-
const _j = ({
|
|
1658
|
-
AlterUserMappingStmt: {}
|
|
1659
|
-
} as AlterUserMappingStmt);
|
|
1660
|
-
_o.set(_j, "AlterUserMappingStmt.user", _p?.user);
|
|
1661
|
-
_o.set(_j, "AlterUserMappingStmt.servername", _p?.servername);
|
|
1662
|
-
_o.set(_j, "AlterUserMappingStmt.options", _p?.options);
|
|
1663
|
-
return _j;
|
|
1664
|
-
},
|
|
1665
|
-
dropUserMappingStmt(_p?: DropUserMappingStmt["DropUserMappingStmt"]): DropUserMappingStmt {
|
|
1666
|
-
const _j = ({
|
|
1667
|
-
DropUserMappingStmt: {}
|
|
1668
|
-
} as DropUserMappingStmt);
|
|
1669
|
-
_o.set(_j, "DropUserMappingStmt.user", _p?.user);
|
|
1670
|
-
_o.set(_j, "DropUserMappingStmt.servername", _p?.servername);
|
|
1671
|
-
_o.set(_j, "DropUserMappingStmt.missing_ok", _p?.missing_ok);
|
|
1672
|
-
return _j;
|
|
1673
|
-
},
|
|
1674
|
-
alterTableSpaceOptionsStmt(_p?: AlterTableSpaceOptionsStmt["AlterTableSpaceOptionsStmt"]): AlterTableSpaceOptionsStmt {
|
|
1675
|
-
const _j = ({
|
|
1676
|
-
AlterTableSpaceOptionsStmt: {}
|
|
1677
|
-
} as AlterTableSpaceOptionsStmt);
|
|
1678
|
-
_o.set(_j, "AlterTableSpaceOptionsStmt.tablespacename", _p?.tablespacename);
|
|
1679
|
-
_o.set(_j, "AlterTableSpaceOptionsStmt.options", _p?.options);
|
|
1680
|
-
_o.set(_j, "AlterTableSpaceOptionsStmt.isReset", _p?.isReset);
|
|
1681
|
-
return _j;
|
|
1682
|
-
},
|
|
1683
|
-
alterTableMoveAllStmt(_p?: AlterTableMoveAllStmt["AlterTableMoveAllStmt"]): AlterTableMoveAllStmt {
|
|
1684
|
-
const _j = ({
|
|
1685
|
-
AlterTableMoveAllStmt: {}
|
|
1686
|
-
} as AlterTableMoveAllStmt);
|
|
1687
|
-
_o.set(_j, "AlterTableMoveAllStmt.orig_tablespacename", _p?.orig_tablespacename);
|
|
1688
|
-
_o.set(_j, "AlterTableMoveAllStmt.objtype", _p?.objtype);
|
|
1689
|
-
_o.set(_j, "AlterTableMoveAllStmt.roles", _p?.roles);
|
|
1690
|
-
_o.set(_j, "AlterTableMoveAllStmt.new_tablespacename", _p?.new_tablespacename);
|
|
1691
|
-
_o.set(_j, "AlterTableMoveAllStmt.nowait", _p?.nowait);
|
|
1692
|
-
return _j;
|
|
1693
|
-
},
|
|
1694
|
-
secLabelStmt(_p?: SecLabelStmt["SecLabelStmt"]): SecLabelStmt {
|
|
1695
|
-
const _j = ({
|
|
1696
|
-
SecLabelStmt: {}
|
|
1697
|
-
} as SecLabelStmt);
|
|
1698
|
-
_o.set(_j, "SecLabelStmt.objtype", _p?.objtype);
|
|
1699
|
-
_o.set(_j, "SecLabelStmt.object", _p?.object);
|
|
1700
|
-
_o.set(_j, "SecLabelStmt.provider", _p?.provider);
|
|
1701
|
-
_o.set(_j, "SecLabelStmt.label", _p?.label);
|
|
1702
|
-
return _j;
|
|
1703
|
-
},
|
|
1704
|
-
createForeignTableStmt(_p?: CreateForeignTableStmt["CreateForeignTableStmt"]): CreateForeignTableStmt {
|
|
1705
|
-
const _j = ({
|
|
1706
|
-
CreateForeignTableStmt: {}
|
|
1707
|
-
} as CreateForeignTableStmt);
|
|
1708
|
-
_o.set(_j, "CreateForeignTableStmt.base", _p?.base);
|
|
1709
|
-
_o.set(_j, "CreateForeignTableStmt.servername", _p?.servername);
|
|
1710
|
-
_o.set(_j, "CreateForeignTableStmt.options", _p?.options);
|
|
1711
|
-
return _j;
|
|
1712
|
-
},
|
|
1713
|
-
importForeignSchemaStmt(_p?: ImportForeignSchemaStmt["ImportForeignSchemaStmt"]): ImportForeignSchemaStmt {
|
|
1714
|
-
const _j = ({
|
|
1715
|
-
ImportForeignSchemaStmt: {}
|
|
1716
|
-
} as ImportForeignSchemaStmt);
|
|
1717
|
-
_o.set(_j, "ImportForeignSchemaStmt.server_name", _p?.server_name);
|
|
1718
|
-
_o.set(_j, "ImportForeignSchemaStmt.remote_schema", _p?.remote_schema);
|
|
1719
|
-
_o.set(_j, "ImportForeignSchemaStmt.local_schema", _p?.local_schema);
|
|
1720
|
-
_o.set(_j, "ImportForeignSchemaStmt.list_type", _p?.list_type);
|
|
1721
|
-
_o.set(_j, "ImportForeignSchemaStmt.table_list", _p?.table_list);
|
|
1722
|
-
_o.set(_j, "ImportForeignSchemaStmt.options", _p?.options);
|
|
1723
|
-
return _j;
|
|
1724
|
-
},
|
|
1725
|
-
createExtensionStmt(_p?: CreateExtensionStmt["CreateExtensionStmt"]): CreateExtensionStmt {
|
|
1726
|
-
const _j = ({
|
|
1727
|
-
CreateExtensionStmt: {}
|
|
1728
|
-
} as CreateExtensionStmt);
|
|
1729
|
-
_o.set(_j, "CreateExtensionStmt.extname", _p?.extname);
|
|
1730
|
-
_o.set(_j, "CreateExtensionStmt.if_not_exists", _p?.if_not_exists);
|
|
1731
|
-
_o.set(_j, "CreateExtensionStmt.options", _p?.options);
|
|
1732
|
-
return _j;
|
|
1733
|
-
},
|
|
1734
|
-
alterExtensionStmt(_p?: AlterExtensionStmt["AlterExtensionStmt"]): AlterExtensionStmt {
|
|
1735
|
-
const _j = ({
|
|
1736
|
-
AlterExtensionStmt: {}
|
|
1737
|
-
} as AlterExtensionStmt);
|
|
1738
|
-
_o.set(_j, "AlterExtensionStmt.extname", _p?.extname);
|
|
1739
|
-
_o.set(_j, "AlterExtensionStmt.options", _p?.options);
|
|
1740
|
-
return _j;
|
|
1741
|
-
},
|
|
1742
|
-
alterExtensionContentsStmt(_p?: AlterExtensionContentsStmt["AlterExtensionContentsStmt"]): AlterExtensionContentsStmt {
|
|
1743
|
-
const _j = ({
|
|
1744
|
-
AlterExtensionContentsStmt: {}
|
|
1745
|
-
} as AlterExtensionContentsStmt);
|
|
1746
|
-
_o.set(_j, "AlterExtensionContentsStmt.extname", _p?.extname);
|
|
1747
|
-
_o.set(_j, "AlterExtensionContentsStmt.action", _p?.action);
|
|
1748
|
-
_o.set(_j, "AlterExtensionContentsStmt.objtype", _p?.objtype);
|
|
1749
|
-
_o.set(_j, "AlterExtensionContentsStmt.object", _p?.object);
|
|
1750
|
-
return _j;
|
|
1751
|
-
},
|
|
1752
|
-
createEventTrigStmt(_p?: CreateEventTrigStmt["CreateEventTrigStmt"]): CreateEventTrigStmt {
|
|
1753
|
-
const _j = ({
|
|
1754
|
-
CreateEventTrigStmt: {}
|
|
1755
|
-
} as CreateEventTrigStmt);
|
|
1756
|
-
_o.set(_j, "CreateEventTrigStmt.trigname", _p?.trigname);
|
|
1757
|
-
_o.set(_j, "CreateEventTrigStmt.eventname", _p?.eventname);
|
|
1758
|
-
_o.set(_j, "CreateEventTrigStmt.whenclause", _p?.whenclause);
|
|
1759
|
-
_o.set(_j, "CreateEventTrigStmt.funcname", _p?.funcname);
|
|
1760
|
-
return _j;
|
|
1761
|
-
},
|
|
1762
|
-
alterEventTrigStmt(_p?: AlterEventTrigStmt["AlterEventTrigStmt"]): AlterEventTrigStmt {
|
|
1763
|
-
const _j = ({
|
|
1764
|
-
AlterEventTrigStmt: {}
|
|
1765
|
-
} as AlterEventTrigStmt);
|
|
1766
|
-
_o.set(_j, "AlterEventTrigStmt.trigname", _p?.trigname);
|
|
1767
|
-
_o.set(_j, "AlterEventTrigStmt.tgenabled", _p?.tgenabled);
|
|
1768
|
-
return _j;
|
|
1769
|
-
},
|
|
1770
|
-
refreshMatViewStmt(_p?: RefreshMatViewStmt["RefreshMatViewStmt"]): RefreshMatViewStmt {
|
|
1771
|
-
const _j = ({
|
|
1772
|
-
RefreshMatViewStmt: {}
|
|
1773
|
-
} as RefreshMatViewStmt);
|
|
1774
|
-
_o.set(_j, "RefreshMatViewStmt.concurrent", _p?.concurrent);
|
|
1775
|
-
_o.set(_j, "RefreshMatViewStmt.skipData", _p?.skipData);
|
|
1776
|
-
_o.set(_j, "RefreshMatViewStmt.relation", _p?.relation);
|
|
1777
|
-
return _j;
|
|
1778
|
-
},
|
|
1779
|
-
replicaIdentityStmt(_p?: ReplicaIdentityStmt["ReplicaIdentityStmt"]): ReplicaIdentityStmt {
|
|
1780
|
-
const _j = ({
|
|
1781
|
-
ReplicaIdentityStmt: {}
|
|
1782
|
-
} as ReplicaIdentityStmt);
|
|
1783
|
-
_o.set(_j, "ReplicaIdentityStmt.identity_type", _p?.identity_type);
|
|
1784
|
-
_o.set(_j, "ReplicaIdentityStmt.name", _p?.name);
|
|
1785
|
-
return _j;
|
|
1786
|
-
},
|
|
1787
|
-
alterSystemStmt(_p?: AlterSystemStmt["AlterSystemStmt"]): AlterSystemStmt {
|
|
1788
|
-
const _j = ({
|
|
1789
|
-
AlterSystemStmt: {}
|
|
1790
|
-
} as AlterSystemStmt);
|
|
1791
|
-
_o.set(_j, "AlterSystemStmt.setstmt", _p?.setstmt);
|
|
1792
|
-
return _j;
|
|
1793
|
-
},
|
|
1794
|
-
createPolicyStmt(_p?: CreatePolicyStmt["CreatePolicyStmt"]): CreatePolicyStmt {
|
|
1795
|
-
const _j = ({
|
|
1796
|
-
CreatePolicyStmt: {}
|
|
1797
|
-
} as CreatePolicyStmt);
|
|
1798
|
-
_o.set(_j, "CreatePolicyStmt.policy_name", _p?.policy_name);
|
|
1799
|
-
_o.set(_j, "CreatePolicyStmt.table", _p?.table);
|
|
1800
|
-
_o.set(_j, "CreatePolicyStmt.cmd_name", _p?.cmd_name);
|
|
1801
|
-
_o.set(_j, "CreatePolicyStmt.permissive", _p?.permissive);
|
|
1802
|
-
_o.set(_j, "CreatePolicyStmt.roles", _p?.roles);
|
|
1803
|
-
_o.set(_j, "CreatePolicyStmt.qual", _p?.qual);
|
|
1804
|
-
_o.set(_j, "CreatePolicyStmt.with_check", _p?.with_check);
|
|
1805
|
-
return _j;
|
|
1806
|
-
},
|
|
1807
|
-
alterPolicyStmt(_p?: AlterPolicyStmt["AlterPolicyStmt"]): AlterPolicyStmt {
|
|
1808
|
-
const _j = ({
|
|
1809
|
-
AlterPolicyStmt: {}
|
|
1810
|
-
} as AlterPolicyStmt);
|
|
1811
|
-
_o.set(_j, "AlterPolicyStmt.policy_name", _p?.policy_name);
|
|
1812
|
-
_o.set(_j, "AlterPolicyStmt.table", _p?.table);
|
|
1813
|
-
_o.set(_j, "AlterPolicyStmt.roles", _p?.roles);
|
|
1814
|
-
_o.set(_j, "AlterPolicyStmt.qual", _p?.qual);
|
|
1815
|
-
_o.set(_j, "AlterPolicyStmt.with_check", _p?.with_check);
|
|
1816
|
-
return _j;
|
|
1817
|
-
},
|
|
1818
|
-
createTransformStmt(_p?: CreateTransformStmt["CreateTransformStmt"]): CreateTransformStmt {
|
|
1819
|
-
const _j = ({
|
|
1820
|
-
CreateTransformStmt: {}
|
|
1821
|
-
} as CreateTransformStmt);
|
|
1822
|
-
_o.set(_j, "CreateTransformStmt.replace", _p?.replace);
|
|
1823
|
-
_o.set(_j, "CreateTransformStmt.type_name", _p?.type_name);
|
|
1824
|
-
_o.set(_j, "CreateTransformStmt.lang", _p?.lang);
|
|
1825
|
-
_o.set(_j, "CreateTransformStmt.fromsql", _p?.fromsql);
|
|
1826
|
-
_o.set(_j, "CreateTransformStmt.tosql", _p?.tosql);
|
|
1827
|
-
return _j;
|
|
1828
|
-
},
|
|
1829
|
-
createAmStmt(_p?: CreateAmStmt["CreateAmStmt"]): CreateAmStmt {
|
|
1830
|
-
const _j = ({
|
|
1831
|
-
CreateAmStmt: {}
|
|
1832
|
-
} as CreateAmStmt);
|
|
1833
|
-
_o.set(_j, "CreateAmStmt.amname", _p?.amname);
|
|
1834
|
-
_o.set(_j, "CreateAmStmt.handler_name", _p?.handler_name);
|
|
1835
|
-
_o.set(_j, "CreateAmStmt.amtype", _p?.amtype);
|
|
1836
|
-
return _j;
|
|
1837
|
-
},
|
|
1838
|
-
createPublicationStmt(_p?: CreatePublicationStmt["CreatePublicationStmt"]): CreatePublicationStmt {
|
|
1839
|
-
const _j = ({
|
|
1840
|
-
CreatePublicationStmt: {}
|
|
1841
|
-
} as CreatePublicationStmt);
|
|
1842
|
-
_o.set(_j, "CreatePublicationStmt.pubname", _p?.pubname);
|
|
1843
|
-
_o.set(_j, "CreatePublicationStmt.options", _p?.options);
|
|
1844
|
-
_o.set(_j, "CreatePublicationStmt.tables", _p?.tables);
|
|
1845
|
-
_o.set(_j, "CreatePublicationStmt.for_all_tables", _p?.for_all_tables);
|
|
1846
|
-
return _j;
|
|
1847
|
-
},
|
|
1848
|
-
alterPublicationStmt(_p?: AlterPublicationStmt["AlterPublicationStmt"]): AlterPublicationStmt {
|
|
1849
|
-
const _j = ({
|
|
1850
|
-
AlterPublicationStmt: {}
|
|
1851
|
-
} as AlterPublicationStmt);
|
|
1852
|
-
_o.set(_j, "AlterPublicationStmt.pubname", _p?.pubname);
|
|
1853
|
-
_o.set(_j, "AlterPublicationStmt.options", _p?.options);
|
|
1854
|
-
_o.set(_j, "AlterPublicationStmt.tables", _p?.tables);
|
|
1855
|
-
_o.set(_j, "AlterPublicationStmt.for_all_tables", _p?.for_all_tables);
|
|
1856
|
-
_o.set(_j, "AlterPublicationStmt.tableAction", _p?.tableAction);
|
|
1857
|
-
return _j;
|
|
1858
|
-
},
|
|
1859
|
-
createSubscriptionStmt(_p?: CreateSubscriptionStmt["CreateSubscriptionStmt"]): CreateSubscriptionStmt {
|
|
1860
|
-
const _j = ({
|
|
1861
|
-
CreateSubscriptionStmt: {}
|
|
1862
|
-
} as CreateSubscriptionStmt);
|
|
1863
|
-
_o.set(_j, "CreateSubscriptionStmt.subname", _p?.subname);
|
|
1864
|
-
_o.set(_j, "CreateSubscriptionStmt.conninfo", _p?.conninfo);
|
|
1865
|
-
_o.set(_j, "CreateSubscriptionStmt.publication", _p?.publication);
|
|
1866
|
-
_o.set(_j, "CreateSubscriptionStmt.options", _p?.options);
|
|
1867
|
-
return _j;
|
|
1868
|
-
},
|
|
1869
|
-
alterSubscriptionStmt(_p?: AlterSubscriptionStmt["AlterSubscriptionStmt"]): AlterSubscriptionStmt {
|
|
1870
|
-
const _j = ({
|
|
1871
|
-
AlterSubscriptionStmt: {}
|
|
1872
|
-
} as AlterSubscriptionStmt);
|
|
1873
|
-
_o.set(_j, "AlterSubscriptionStmt.kind", _p?.kind);
|
|
1874
|
-
_o.set(_j, "AlterSubscriptionStmt.subname", _p?.subname);
|
|
1875
|
-
_o.set(_j, "AlterSubscriptionStmt.conninfo", _p?.conninfo);
|
|
1876
|
-
_o.set(_j, "AlterSubscriptionStmt.publication", _p?.publication);
|
|
1877
|
-
_o.set(_j, "AlterSubscriptionStmt.options", _p?.options);
|
|
1878
|
-
return _j;
|
|
1879
|
-
},
|
|
1880
|
-
dropSubscriptionStmt(_p?: DropSubscriptionStmt["DropSubscriptionStmt"]): DropSubscriptionStmt {
|
|
1881
|
-
const _j = ({
|
|
1882
|
-
DropSubscriptionStmt: {}
|
|
1883
|
-
} as DropSubscriptionStmt);
|
|
1884
|
-
_o.set(_j, "DropSubscriptionStmt.subname", _p?.subname);
|
|
1885
|
-
_o.set(_j, "DropSubscriptionStmt.missing_ok", _p?.missing_ok);
|
|
1886
|
-
_o.set(_j, "DropSubscriptionStmt.behavior", _p?.behavior);
|
|
1887
|
-
return _j;
|
|
1888
|
-
},
|
|
1889
|
-
createStatsStmt(_p?: CreateStatsStmt["CreateStatsStmt"]): CreateStatsStmt {
|
|
1890
|
-
const _j = ({
|
|
1891
|
-
CreateStatsStmt: {}
|
|
1892
|
-
} as CreateStatsStmt);
|
|
1893
|
-
_o.set(_j, "CreateStatsStmt.defnames", _p?.defnames);
|
|
1894
|
-
_o.set(_j, "CreateStatsStmt.stat_types", _p?.stat_types);
|
|
1895
|
-
_o.set(_j, "CreateStatsStmt.exprs", _p?.exprs);
|
|
1896
|
-
_o.set(_j, "CreateStatsStmt.relations", _p?.relations);
|
|
1897
|
-
_o.set(_j, "CreateStatsStmt.stxcomment", _p?.stxcomment);
|
|
1898
|
-
_o.set(_j, "CreateStatsStmt.if_not_exists", _p?.if_not_exists);
|
|
1899
|
-
return _j;
|
|
1900
|
-
},
|
|
1901
|
-
alterCollationStmt(_p?: AlterCollationStmt["AlterCollationStmt"]): AlterCollationStmt {
|
|
1902
|
-
const _j = ({
|
|
1903
|
-
AlterCollationStmt: {}
|
|
1904
|
-
} as AlterCollationStmt);
|
|
1905
|
-
_o.set(_j, "AlterCollationStmt.collname", _p?.collname);
|
|
1906
|
-
return _j;
|
|
1907
|
-
},
|
|
1908
|
-
callStmt(_p?: CallStmt["CallStmt"]): CallStmt {
|
|
1909
|
-
const _j = ({
|
|
1910
|
-
CallStmt: {}
|
|
1911
|
-
} as CallStmt);
|
|
1912
|
-
_o.set(_j, "CallStmt.funccall", _p?.funccall);
|
|
1913
|
-
_o.set(_j, "CallStmt.funcexpr", _p?.funcexpr);
|
|
1914
|
-
return _j;
|
|
1915
|
-
},
|
|
1916
|
-
alterStatsStmt(_p?: AlterStatsStmt["AlterStatsStmt"]): AlterStatsStmt {
|
|
1917
|
-
const _j = ({
|
|
1918
|
-
AlterStatsStmt: {}
|
|
1919
|
-
} as AlterStatsStmt);
|
|
1920
|
-
_o.set(_j, "AlterStatsStmt.defnames", _p?.defnames);
|
|
1921
|
-
_o.set(_j, "AlterStatsStmt.stxstattarget", _p?.stxstattarget);
|
|
1922
|
-
_o.set(_j, "AlterStatsStmt.missing_ok", _p?.missing_ok);
|
|
1923
|
-
return _j;
|
|
1924
|
-
},
|
|
1925
|
-
aExpr(_p?: A_Expr["A_Expr"]): A_Expr {
|
|
1926
|
-
const _j = ({
|
|
1927
|
-
A_Expr: {}
|
|
1928
|
-
} as A_Expr);
|
|
1929
|
-
_o.set(_j, "A_Expr.kind", _p?.kind);
|
|
1930
|
-
_o.set(_j, "A_Expr.name", _p?.name);
|
|
1931
|
-
_o.set(_j, "A_Expr.lexpr", _p?.lexpr);
|
|
1932
|
-
_o.set(_j, "A_Expr.rexpr", _p?.rexpr);
|
|
1933
|
-
_o.set(_j, "A_Expr.location", _p?.location);
|
|
1934
|
-
return _j;
|
|
1935
|
-
},
|
|
1936
|
-
columnRef(_p?: ColumnRef["ColumnRef"]): ColumnRef {
|
|
1937
|
-
const _j = ({
|
|
1938
|
-
ColumnRef: {}
|
|
1939
|
-
} as ColumnRef);
|
|
1940
|
-
_o.set(_j, "ColumnRef.fields", _p?.fields);
|
|
1941
|
-
_o.set(_j, "ColumnRef.location", _p?.location);
|
|
1942
|
-
return _j;
|
|
1943
|
-
},
|
|
1944
|
-
paramRef(_p?: ParamRef["ParamRef"]): ParamRef {
|
|
1945
|
-
const _j = ({
|
|
1946
|
-
ParamRef: {}
|
|
1947
|
-
} as ParamRef);
|
|
1948
|
-
_o.set(_j, "ParamRef.number", _p?.number);
|
|
1949
|
-
_o.set(_j, "ParamRef.location", _p?.location);
|
|
1950
|
-
return _j;
|
|
1951
|
-
},
|
|
1952
|
-
aConst(_p?: A_Const["A_Const"]): A_Const {
|
|
1953
|
-
const _j = ({
|
|
1954
|
-
A_Const: {}
|
|
1955
|
-
} as A_Const);
|
|
1956
|
-
_o.set(_j, "A_Const.val", _p?.val);
|
|
1957
|
-
_o.set(_j, "A_Const.location", _p?.location);
|
|
1958
|
-
return _j;
|
|
1959
|
-
},
|
|
1960
|
-
funcCall(_p?: FuncCall["FuncCall"]): FuncCall {
|
|
1961
|
-
const _j = ({
|
|
1962
|
-
FuncCall: {}
|
|
1963
|
-
} as FuncCall);
|
|
1964
|
-
_o.set(_j, "FuncCall.funcname", _p?.funcname);
|
|
1965
|
-
_o.set(_j, "FuncCall.args", _p?.args);
|
|
1966
|
-
_o.set(_j, "FuncCall.agg_order", _p?.agg_order);
|
|
1967
|
-
_o.set(_j, "FuncCall.agg_filter", _p?.agg_filter);
|
|
1968
|
-
_o.set(_j, "FuncCall.agg_within_group", _p?.agg_within_group);
|
|
1969
|
-
_o.set(_j, "FuncCall.agg_star", _p?.agg_star);
|
|
1970
|
-
_o.set(_j, "FuncCall.agg_distinct", _p?.agg_distinct);
|
|
1971
|
-
_o.set(_j, "FuncCall.func_variadic", _p?.func_variadic);
|
|
1972
|
-
_o.set(_j, "FuncCall.over", _p?.over);
|
|
1973
|
-
_o.set(_j, "FuncCall.location", _p?.location);
|
|
1974
|
-
return _j;
|
|
1975
|
-
},
|
|
1976
|
-
aStar(_p?: A_Star["A_Star"]): A_Star {
|
|
1977
|
-
const _j = ({
|
|
1978
|
-
A_Star: {}
|
|
1979
|
-
} as A_Star);
|
|
1980
|
-
return _j;
|
|
1981
|
-
},
|
|
1982
|
-
aIndices(_p?: A_Indices["A_Indices"]): A_Indices {
|
|
1983
|
-
const _j = ({
|
|
1984
|
-
A_Indices: {}
|
|
1985
|
-
} as A_Indices);
|
|
1986
|
-
_o.set(_j, "A_Indices.is_slice", _p?.is_slice);
|
|
1987
|
-
_o.set(_j, "A_Indices.lidx", _p?.lidx);
|
|
1988
|
-
_o.set(_j, "A_Indices.uidx", _p?.uidx);
|
|
1989
|
-
return _j;
|
|
1990
|
-
},
|
|
1991
|
-
aIndirection(_p?: A_Indirection["A_Indirection"]): A_Indirection {
|
|
1992
|
-
const _j = ({
|
|
1993
|
-
A_Indirection: {}
|
|
1994
|
-
} as A_Indirection);
|
|
1995
|
-
_o.set(_j, "A_Indirection.arg", _p?.arg);
|
|
1996
|
-
_o.set(_j, "A_Indirection.indirection", _p?.indirection);
|
|
1997
|
-
return _j;
|
|
1998
|
-
},
|
|
1999
|
-
aArrayExpr(_p?: A_ArrayExpr["A_ArrayExpr"]): A_ArrayExpr {
|
|
2000
|
-
const _j = ({
|
|
2001
|
-
A_ArrayExpr: {}
|
|
2002
|
-
} as A_ArrayExpr);
|
|
2003
|
-
_o.set(_j, "A_ArrayExpr.elements", _p?.elements);
|
|
2004
|
-
_o.set(_j, "A_ArrayExpr.location", _p?.location);
|
|
2005
|
-
return _j;
|
|
2006
|
-
},
|
|
2007
|
-
resTarget(_p?: ResTarget["ResTarget"]): ResTarget {
|
|
2008
|
-
const _j = ({
|
|
2009
|
-
ResTarget: {}
|
|
2010
|
-
} as ResTarget);
|
|
2011
|
-
_o.set(_j, "ResTarget.name", _p?.name);
|
|
2012
|
-
_o.set(_j, "ResTarget.indirection", _p?.indirection);
|
|
2013
|
-
_o.set(_j, "ResTarget.val", _p?.val);
|
|
2014
|
-
_o.set(_j, "ResTarget.location", _p?.location);
|
|
2015
|
-
return _j;
|
|
2016
|
-
},
|
|
2017
|
-
multiAssignRef(_p?: MultiAssignRef["MultiAssignRef"]): MultiAssignRef {
|
|
2018
|
-
const _j = ({
|
|
2019
|
-
MultiAssignRef: {}
|
|
2020
|
-
} as MultiAssignRef);
|
|
2021
|
-
_o.set(_j, "MultiAssignRef.source", _p?.source);
|
|
2022
|
-
_o.set(_j, "MultiAssignRef.colno", _p?.colno);
|
|
2023
|
-
_o.set(_j, "MultiAssignRef.ncolumns", _p?.ncolumns);
|
|
2024
|
-
return _j;
|
|
2025
|
-
},
|
|
2026
|
-
typeCast(_p?: TypeCast["TypeCast"]): TypeCast {
|
|
2027
|
-
const _j = ({
|
|
2028
|
-
TypeCast: {}
|
|
2029
|
-
} as TypeCast);
|
|
2030
|
-
_o.set(_j, "TypeCast.arg", _p?.arg);
|
|
2031
|
-
_o.set(_j, "TypeCast.typeName", _p?.typeName);
|
|
2032
|
-
_o.set(_j, "TypeCast.location", _p?.location);
|
|
2033
|
-
return _j;
|
|
2034
|
-
},
|
|
2035
|
-
collateClause(_p?: CollateClause["CollateClause"]): CollateClause {
|
|
2036
|
-
const _j = ({
|
|
2037
|
-
CollateClause: {}
|
|
2038
|
-
} as CollateClause);
|
|
2039
|
-
_o.set(_j, "CollateClause.arg", _p?.arg);
|
|
2040
|
-
_o.set(_j, "CollateClause.collname", _p?.collname);
|
|
2041
|
-
_o.set(_j, "CollateClause.location", _p?.location);
|
|
2042
|
-
return _j;
|
|
2043
|
-
},
|
|
2044
|
-
sortBy(_p?: SortBy["SortBy"]): SortBy {
|
|
2045
|
-
const _j = ({
|
|
2046
|
-
SortBy: {}
|
|
2047
|
-
} as SortBy);
|
|
2048
|
-
_o.set(_j, "SortBy.node", _p?.node);
|
|
2049
|
-
_o.set(_j, "SortBy.sortby_dir", _p?.sortby_dir);
|
|
2050
|
-
_o.set(_j, "SortBy.sortby_nulls", _p?.sortby_nulls);
|
|
2051
|
-
_o.set(_j, "SortBy.useOp", _p?.useOp);
|
|
2052
|
-
_o.set(_j, "SortBy.location", _p?.location);
|
|
2053
|
-
return _j;
|
|
2054
|
-
},
|
|
2055
|
-
windowDef(_p?: WindowDef["WindowDef"]): WindowDef {
|
|
2056
|
-
const _j = ({
|
|
2057
|
-
WindowDef: {}
|
|
2058
|
-
} as WindowDef);
|
|
2059
|
-
_o.set(_j, "WindowDef.name", _p?.name);
|
|
2060
|
-
_o.set(_j, "WindowDef.refname", _p?.refname);
|
|
2061
|
-
_o.set(_j, "WindowDef.partitionClause", _p?.partitionClause);
|
|
2062
|
-
_o.set(_j, "WindowDef.orderClause", _p?.orderClause);
|
|
2063
|
-
_o.set(_j, "WindowDef.frameOptions", _p?.frameOptions);
|
|
2064
|
-
_o.set(_j, "WindowDef.startOffset", _p?.startOffset);
|
|
2065
|
-
_o.set(_j, "WindowDef.endOffset", _p?.endOffset);
|
|
2066
|
-
_o.set(_j, "WindowDef.location", _p?.location);
|
|
2067
|
-
return _j;
|
|
2068
|
-
},
|
|
2069
|
-
rangeSubselect(_p?: RangeSubselect["RangeSubselect"]): RangeSubselect {
|
|
2070
|
-
const _j = ({
|
|
2071
|
-
RangeSubselect: {}
|
|
2072
|
-
} as RangeSubselect);
|
|
2073
|
-
_o.set(_j, "RangeSubselect.lateral", _p?.lateral);
|
|
2074
|
-
_o.set(_j, "RangeSubselect.subquery", _p?.subquery);
|
|
2075
|
-
_o.set(_j, "RangeSubselect.alias", _p?.alias);
|
|
2076
|
-
return _j;
|
|
2077
|
-
},
|
|
2078
|
-
rangeFunction(_p?: RangeFunction["RangeFunction"]): RangeFunction {
|
|
2079
|
-
const _j = ({
|
|
2080
|
-
RangeFunction: {}
|
|
2081
|
-
} as RangeFunction);
|
|
2082
|
-
_o.set(_j, "RangeFunction.lateral", _p?.lateral);
|
|
2083
|
-
_o.set(_j, "RangeFunction.ordinality", _p?.ordinality);
|
|
2084
|
-
_o.set(_j, "RangeFunction.is_rowsfrom", _p?.is_rowsfrom);
|
|
2085
|
-
_o.set(_j, "RangeFunction.functions", _p?.functions);
|
|
2086
|
-
_o.set(_j, "RangeFunction.alias", _p?.alias);
|
|
2087
|
-
_o.set(_j, "RangeFunction.coldeflist", _p?.coldeflist);
|
|
2088
|
-
return _j;
|
|
2089
|
-
},
|
|
2090
|
-
rangeTableSample(_p?: RangeTableSample["RangeTableSample"]): RangeTableSample {
|
|
2091
|
-
const _j = ({
|
|
2092
|
-
RangeTableSample: {}
|
|
2093
|
-
} as RangeTableSample);
|
|
2094
|
-
_o.set(_j, "RangeTableSample.relation", _p?.relation);
|
|
2095
|
-
_o.set(_j, "RangeTableSample.method", _p?.method);
|
|
2096
|
-
_o.set(_j, "RangeTableSample.args", _p?.args);
|
|
2097
|
-
_o.set(_j, "RangeTableSample.repeatable", _p?.repeatable);
|
|
2098
|
-
_o.set(_j, "RangeTableSample.location", _p?.location);
|
|
2099
|
-
return _j;
|
|
2100
|
-
},
|
|
2101
|
-
rangeTableFunc(_p?: RangeTableFunc["RangeTableFunc"]): RangeTableFunc {
|
|
2102
|
-
const _j = ({
|
|
2103
|
-
RangeTableFunc: {}
|
|
2104
|
-
} as RangeTableFunc);
|
|
2105
|
-
_o.set(_j, "RangeTableFunc.lateral", _p?.lateral);
|
|
2106
|
-
_o.set(_j, "RangeTableFunc.docexpr", _p?.docexpr);
|
|
2107
|
-
_o.set(_j, "RangeTableFunc.rowexpr", _p?.rowexpr);
|
|
2108
|
-
_o.set(_j, "RangeTableFunc.namespaces", _p?.namespaces);
|
|
2109
|
-
_o.set(_j, "RangeTableFunc.columns", _p?.columns);
|
|
2110
|
-
_o.set(_j, "RangeTableFunc.alias", _p?.alias);
|
|
2111
|
-
_o.set(_j, "RangeTableFunc.location", _p?.location);
|
|
2112
|
-
return _j;
|
|
2113
|
-
},
|
|
2114
|
-
rangeTableFuncCol(_p?: RangeTableFuncCol["RangeTableFuncCol"]): RangeTableFuncCol {
|
|
2115
|
-
const _j = ({
|
|
2116
|
-
RangeTableFuncCol: {}
|
|
2117
|
-
} as RangeTableFuncCol);
|
|
2118
|
-
_o.set(_j, "RangeTableFuncCol.colname", _p?.colname);
|
|
2119
|
-
_o.set(_j, "RangeTableFuncCol.typeName", _p?.typeName);
|
|
2120
|
-
_o.set(_j, "RangeTableFuncCol.for_ordinality", _p?.for_ordinality);
|
|
2121
|
-
_o.set(_j, "RangeTableFuncCol.is_not_null", _p?.is_not_null);
|
|
2122
|
-
_o.set(_j, "RangeTableFuncCol.colexpr", _p?.colexpr);
|
|
2123
|
-
_o.set(_j, "RangeTableFuncCol.coldefexpr", _p?.coldefexpr);
|
|
2124
|
-
_o.set(_j, "RangeTableFuncCol.location", _p?.location);
|
|
2125
|
-
return _j;
|
|
2126
|
-
},
|
|
2127
|
-
typeName(_p?: TypeName): TypeName {
|
|
2128
|
-
const _j = ({} as TypeName);
|
|
2129
|
-
_o.set(_j, "names", _p?.names);
|
|
2130
|
-
_o.set(_j, "typeOid", _p?.typeOid);
|
|
2131
|
-
_o.set(_j, "setof", _p?.setof);
|
|
2132
|
-
_o.set(_j, "pct_type", _p?.pct_type);
|
|
2133
|
-
_o.set(_j, "typmods", _p?.typmods);
|
|
2134
|
-
_o.set(_j, "typemod", _p?.typemod);
|
|
2135
|
-
_o.set(_j, "arrayBounds", _p?.arrayBounds);
|
|
2136
|
-
_o.set(_j, "location", _p?.location);
|
|
2137
|
-
return _j;
|
|
2138
|
-
},
|
|
2139
|
-
columnDef(_p?: ColumnDef["ColumnDef"]): ColumnDef {
|
|
2140
|
-
const _j = ({
|
|
2141
|
-
ColumnDef: {}
|
|
2142
|
-
} as ColumnDef);
|
|
2143
|
-
_o.set(_j, "ColumnDef.colname", _p?.colname);
|
|
2144
|
-
_o.set(_j, "ColumnDef.typeName", _p?.typeName);
|
|
2145
|
-
_o.set(_j, "ColumnDef.inhcount", _p?.inhcount);
|
|
2146
|
-
_o.set(_j, "ColumnDef.is_local", _p?.is_local);
|
|
2147
|
-
_o.set(_j, "ColumnDef.is_not_null", _p?.is_not_null);
|
|
2148
|
-
_o.set(_j, "ColumnDef.is_from_type", _p?.is_from_type);
|
|
2149
|
-
_o.set(_j, "ColumnDef.storage", _p?.storage);
|
|
2150
|
-
_o.set(_j, "ColumnDef.raw_default", _p?.raw_default);
|
|
2151
|
-
_o.set(_j, "ColumnDef.cooked_default", _p?.cooked_default);
|
|
2152
|
-
_o.set(_j, "ColumnDef.identity", _p?.identity);
|
|
2153
|
-
_o.set(_j, "ColumnDef.identitySequence", _p?.identitySequence);
|
|
2154
|
-
_o.set(_j, "ColumnDef.generated", _p?.generated);
|
|
2155
|
-
_o.set(_j, "ColumnDef.collClause", _p?.collClause);
|
|
2156
|
-
_o.set(_j, "ColumnDef.collOid", _p?.collOid);
|
|
2157
|
-
_o.set(_j, "ColumnDef.constraints", _p?.constraints);
|
|
2158
|
-
_o.set(_j, "ColumnDef.fdwoptions", _p?.fdwoptions);
|
|
2159
|
-
_o.set(_j, "ColumnDef.location", _p?.location);
|
|
2160
|
-
return _j;
|
|
2161
|
-
},
|
|
2162
|
-
indexElem(_p?: IndexElem["IndexElem"]): IndexElem {
|
|
2163
|
-
const _j = ({
|
|
2164
|
-
IndexElem: {}
|
|
2165
|
-
} as IndexElem);
|
|
2166
|
-
_o.set(_j, "IndexElem.name", _p?.name);
|
|
2167
|
-
_o.set(_j, "IndexElem.expr", _p?.expr);
|
|
2168
|
-
_o.set(_j, "IndexElem.indexcolname", _p?.indexcolname);
|
|
2169
|
-
_o.set(_j, "IndexElem.collation", _p?.collation);
|
|
2170
|
-
_o.set(_j, "IndexElem.opclass", _p?.opclass);
|
|
2171
|
-
_o.set(_j, "IndexElem.opclassopts", _p?.opclassopts);
|
|
2172
|
-
_o.set(_j, "IndexElem.ordering", _p?.ordering);
|
|
2173
|
-
_o.set(_j, "IndexElem.nulls_ordering", _p?.nulls_ordering);
|
|
2174
|
-
return _j;
|
|
2175
|
-
},
|
|
2176
|
-
constraint(_p?: Constraint["Constraint"]): Constraint {
|
|
2177
|
-
const _j = ({
|
|
2178
|
-
Constraint: {}
|
|
2179
|
-
} as Constraint);
|
|
2180
|
-
_o.set(_j, "Constraint.contype", _p?.contype);
|
|
2181
|
-
_o.set(_j, "Constraint.conname", _p?.conname);
|
|
2182
|
-
_o.set(_j, "Constraint.deferrable", _p?.deferrable);
|
|
2183
|
-
_o.set(_j, "Constraint.initdeferred", _p?.initdeferred);
|
|
2184
|
-
_o.set(_j, "Constraint.location", _p?.location);
|
|
2185
|
-
_o.set(_j, "Constraint.is_no_inherit", _p?.is_no_inherit);
|
|
2186
|
-
_o.set(_j, "Constraint.raw_expr", _p?.raw_expr);
|
|
2187
|
-
_o.set(_j, "Constraint.cooked_expr", _p?.cooked_expr);
|
|
2188
|
-
_o.set(_j, "Constraint.generated_when", _p?.generated_when);
|
|
2189
|
-
_o.set(_j, "Constraint.keys", _p?.keys);
|
|
2190
|
-
_o.set(_j, "Constraint.including", _p?.including);
|
|
2191
|
-
_o.set(_j, "Constraint.exclusions", _p?.exclusions);
|
|
2192
|
-
_o.set(_j, "Constraint.options", _p?.options);
|
|
2193
|
-
_o.set(_j, "Constraint.indexname", _p?.indexname);
|
|
2194
|
-
_o.set(_j, "Constraint.indexspace", _p?.indexspace);
|
|
2195
|
-
_o.set(_j, "Constraint.reset_default_tblspc", _p?.reset_default_tblspc);
|
|
2196
|
-
_o.set(_j, "Constraint.access_method", _p?.access_method);
|
|
2197
|
-
_o.set(_j, "Constraint.where_clause", _p?.where_clause);
|
|
2198
|
-
_o.set(_j, "Constraint.pktable", _p?.pktable);
|
|
2199
|
-
_o.set(_j, "Constraint.fk_attrs", _p?.fk_attrs);
|
|
2200
|
-
_o.set(_j, "Constraint.pk_attrs", _p?.pk_attrs);
|
|
2201
|
-
_o.set(_j, "Constraint.fk_matchtype", _p?.fk_matchtype);
|
|
2202
|
-
_o.set(_j, "Constraint.fk_upd_action", _p?.fk_upd_action);
|
|
2203
|
-
_o.set(_j, "Constraint.fk_del_action", _p?.fk_del_action);
|
|
2204
|
-
_o.set(_j, "Constraint.old_conpfeqop", _p?.old_conpfeqop);
|
|
2205
|
-
_o.set(_j, "Constraint.old_pktable_oid", _p?.old_pktable_oid);
|
|
2206
|
-
_o.set(_j, "Constraint.skip_validation", _p?.skip_validation);
|
|
2207
|
-
_o.set(_j, "Constraint.initially_valid", _p?.initially_valid);
|
|
2208
|
-
return _j;
|
|
2209
|
-
},
|
|
2210
|
-
defElem(_p?: DefElem["DefElem"]): DefElem {
|
|
2211
|
-
const _j = ({
|
|
2212
|
-
DefElem: {}
|
|
2213
|
-
} as DefElem);
|
|
2214
|
-
_o.set(_j, "DefElem.defnamespace", _p?.defnamespace);
|
|
2215
|
-
_o.set(_j, "DefElem.defname", _p?.defname);
|
|
2216
|
-
_o.set(_j, "DefElem.arg", _p?.arg);
|
|
2217
|
-
_o.set(_j, "DefElem.defaction", _p?.defaction);
|
|
2218
|
-
_o.set(_j, "DefElem.location", _p?.location);
|
|
2219
|
-
return _j;
|
|
2220
|
-
},
|
|
2221
|
-
rangeTblEntry(_p?: RangeTblEntry["RangeTblEntry"]): RangeTblEntry {
|
|
2222
|
-
const _j = ({
|
|
2223
|
-
RangeTblEntry: {}
|
|
2224
|
-
} as RangeTblEntry);
|
|
2225
|
-
_o.set(_j, "RangeTblEntry.rtekind", _p?.rtekind);
|
|
2226
|
-
_o.set(_j, "RangeTblEntry.relid", _p?.relid);
|
|
2227
|
-
_o.set(_j, "RangeTblEntry.relkind", _p?.relkind);
|
|
2228
|
-
_o.set(_j, "RangeTblEntry.rellockmode", _p?.rellockmode);
|
|
2229
|
-
_o.set(_j, "RangeTblEntry.tablesample", _p?.tablesample);
|
|
2230
|
-
_o.set(_j, "RangeTblEntry.subquery", _p?.subquery);
|
|
2231
|
-
_o.set(_j, "RangeTblEntry.security_barrier", _p?.security_barrier);
|
|
2232
|
-
_o.set(_j, "RangeTblEntry.jointype", _p?.jointype);
|
|
2233
|
-
_o.set(_j, "RangeTblEntry.joinmergedcols", _p?.joinmergedcols);
|
|
2234
|
-
_o.set(_j, "RangeTblEntry.joinaliasvars", _p?.joinaliasvars);
|
|
2235
|
-
_o.set(_j, "RangeTblEntry.joinleftcols", _p?.joinleftcols);
|
|
2236
|
-
_o.set(_j, "RangeTblEntry.joinrightcols", _p?.joinrightcols);
|
|
2237
|
-
_o.set(_j, "RangeTblEntry.functions", _p?.functions);
|
|
2238
|
-
_o.set(_j, "RangeTblEntry.funcordinality", _p?.funcordinality);
|
|
2239
|
-
_o.set(_j, "RangeTblEntry.tablefunc", _p?.tablefunc);
|
|
2240
|
-
_o.set(_j, "RangeTblEntry.values_lists", _p?.values_lists);
|
|
2241
|
-
_o.set(_j, "RangeTblEntry.ctename", _p?.ctename);
|
|
2242
|
-
_o.set(_j, "RangeTblEntry.ctelevelsup", _p?.ctelevelsup);
|
|
2243
|
-
_o.set(_j, "RangeTblEntry.self_reference", _p?.self_reference);
|
|
2244
|
-
_o.set(_j, "RangeTblEntry.coltypes", _p?.coltypes);
|
|
2245
|
-
_o.set(_j, "RangeTblEntry.coltypmods", _p?.coltypmods);
|
|
2246
|
-
_o.set(_j, "RangeTblEntry.colcollations", _p?.colcollations);
|
|
2247
|
-
_o.set(_j, "RangeTblEntry.enrname", _p?.enrname);
|
|
2248
|
-
_o.set(_j, "RangeTblEntry.enrtuples", _p?.enrtuples);
|
|
2249
|
-
_o.set(_j, "RangeTblEntry.alias", _p?.alias);
|
|
2250
|
-
_o.set(_j, "RangeTblEntry.eref", _p?.eref);
|
|
2251
|
-
_o.set(_j, "RangeTblEntry.lateral", _p?.lateral);
|
|
2252
|
-
_o.set(_j, "RangeTblEntry.inh", _p?.inh);
|
|
2253
|
-
_o.set(_j, "RangeTblEntry.inFromCl", _p?.inFromCl);
|
|
2254
|
-
_o.set(_j, "RangeTblEntry.requiredPerms", _p?.requiredPerms);
|
|
2255
|
-
_o.set(_j, "RangeTblEntry.checkAsUser", _p?.checkAsUser);
|
|
2256
|
-
_o.set(_j, "RangeTblEntry.selectedCols", _p?.selectedCols);
|
|
2257
|
-
_o.set(_j, "RangeTblEntry.insertedCols", _p?.insertedCols);
|
|
2258
|
-
_o.set(_j, "RangeTblEntry.updatedCols", _p?.updatedCols);
|
|
2259
|
-
_o.set(_j, "RangeTblEntry.extraUpdatedCols", _p?.extraUpdatedCols);
|
|
2260
|
-
_o.set(_j, "RangeTblEntry.securityQuals", _p?.securityQuals);
|
|
2261
|
-
return _j;
|
|
2262
|
-
},
|
|
2263
|
-
rangeTblFunction(_p?: RangeTblFunction["RangeTblFunction"]): RangeTblFunction {
|
|
2264
|
-
const _j = ({
|
|
2265
|
-
RangeTblFunction: {}
|
|
2266
|
-
} as RangeTblFunction);
|
|
2267
|
-
_o.set(_j, "RangeTblFunction.funcexpr", _p?.funcexpr);
|
|
2268
|
-
_o.set(_j, "RangeTblFunction.funccolcount", _p?.funccolcount);
|
|
2269
|
-
_o.set(_j, "RangeTblFunction.funccolnames", _p?.funccolnames);
|
|
2270
|
-
_o.set(_j, "RangeTblFunction.funccoltypes", _p?.funccoltypes);
|
|
2271
|
-
_o.set(_j, "RangeTblFunction.funccoltypmods", _p?.funccoltypmods);
|
|
2272
|
-
_o.set(_j, "RangeTblFunction.funccolcollations", _p?.funccolcollations);
|
|
2273
|
-
_o.set(_j, "RangeTblFunction.funcparams", _p?.funcparams);
|
|
2274
|
-
return _j;
|
|
2275
|
-
},
|
|
2276
|
-
tableSampleClause(_p?: TableSampleClause["TableSampleClause"]): TableSampleClause {
|
|
2277
|
-
const _j = ({
|
|
2278
|
-
TableSampleClause: {}
|
|
2279
|
-
} as TableSampleClause);
|
|
2280
|
-
_o.set(_j, "TableSampleClause.tsmhandler", _p?.tsmhandler);
|
|
2281
|
-
_o.set(_j, "TableSampleClause.args", _p?.args);
|
|
2282
|
-
_o.set(_j, "TableSampleClause.repeatable", _p?.repeatable);
|
|
2283
|
-
return _j;
|
|
2284
|
-
},
|
|
2285
|
-
withCheckOption(_p?: WithCheckOption["WithCheckOption"]): WithCheckOption {
|
|
2286
|
-
const _j = ({
|
|
2287
|
-
WithCheckOption: {}
|
|
2288
|
-
} as WithCheckOption);
|
|
2289
|
-
_o.set(_j, "WithCheckOption.kind", _p?.kind);
|
|
2290
|
-
_o.set(_j, "WithCheckOption.relname", _p?.relname);
|
|
2291
|
-
_o.set(_j, "WithCheckOption.polname", _p?.polname);
|
|
2292
|
-
_o.set(_j, "WithCheckOption.qual", _p?.qual);
|
|
2293
|
-
_o.set(_j, "WithCheckOption.cascaded", _p?.cascaded);
|
|
2294
|
-
return _j;
|
|
2295
|
-
},
|
|
2296
|
-
sortGroupClause(_p?: SortGroupClause["SortGroupClause"]): SortGroupClause {
|
|
2297
|
-
const _j = ({
|
|
2298
|
-
SortGroupClause: {}
|
|
2299
|
-
} as SortGroupClause);
|
|
2300
|
-
_o.set(_j, "SortGroupClause.tleSortGroupRef", _p?.tleSortGroupRef);
|
|
2301
|
-
_o.set(_j, "SortGroupClause.eqop", _p?.eqop);
|
|
2302
|
-
_o.set(_j, "SortGroupClause.sortop", _p?.sortop);
|
|
2303
|
-
_o.set(_j, "SortGroupClause.nulls_first", _p?.nulls_first);
|
|
2304
|
-
_o.set(_j, "SortGroupClause.hashable", _p?.hashable);
|
|
2305
|
-
return _j;
|
|
2306
|
-
},
|
|
2307
|
-
groupingSet(_p?: GroupingSet["GroupingSet"]): GroupingSet {
|
|
2308
|
-
const _j = ({
|
|
2309
|
-
GroupingSet: {}
|
|
2310
|
-
} as GroupingSet);
|
|
2311
|
-
_o.set(_j, "GroupingSet.kind", _p?.kind);
|
|
2312
|
-
_o.set(_j, "GroupingSet.content", _p?.content);
|
|
2313
|
-
_o.set(_j, "GroupingSet.location", _p?.location);
|
|
2314
|
-
return _j;
|
|
2315
|
-
},
|
|
2316
|
-
windowClause(_p?: WindowClause["WindowClause"]): WindowClause {
|
|
2317
|
-
const _j = ({
|
|
2318
|
-
WindowClause: {}
|
|
2319
|
-
} as WindowClause);
|
|
2320
|
-
_o.set(_j, "WindowClause.name", _p?.name);
|
|
2321
|
-
_o.set(_j, "WindowClause.refname", _p?.refname);
|
|
2322
|
-
_o.set(_j, "WindowClause.partitionClause", _p?.partitionClause);
|
|
2323
|
-
_o.set(_j, "WindowClause.orderClause", _p?.orderClause);
|
|
2324
|
-
_o.set(_j, "WindowClause.frameOptions", _p?.frameOptions);
|
|
2325
|
-
_o.set(_j, "WindowClause.startOffset", _p?.startOffset);
|
|
2326
|
-
_o.set(_j, "WindowClause.endOffset", _p?.endOffset);
|
|
2327
|
-
_o.set(_j, "WindowClause.startInRangeFunc", _p?.startInRangeFunc);
|
|
2328
|
-
_o.set(_j, "WindowClause.endInRangeFunc", _p?.endInRangeFunc);
|
|
2329
|
-
_o.set(_j, "WindowClause.inRangeColl", _p?.inRangeColl);
|
|
2330
|
-
_o.set(_j, "WindowClause.inRangeAsc", _p?.inRangeAsc);
|
|
2331
|
-
_o.set(_j, "WindowClause.inRangeNullsFirst", _p?.inRangeNullsFirst);
|
|
2332
|
-
_o.set(_j, "WindowClause.winref", _p?.winref);
|
|
2333
|
-
_o.set(_j, "WindowClause.copiedOrder", _p?.copiedOrder);
|
|
2334
|
-
return _j;
|
|
2335
|
-
},
|
|
2336
|
-
objectWithArgs(_p?: ObjectWithArgs["ObjectWithArgs"]): ObjectWithArgs {
|
|
2337
|
-
const _j = ({
|
|
2338
|
-
ObjectWithArgs: {}
|
|
2339
|
-
} as ObjectWithArgs);
|
|
2340
|
-
_o.set(_j, "ObjectWithArgs.objname", _p?.objname);
|
|
2341
|
-
_o.set(_j, "ObjectWithArgs.objargs", _p?.objargs);
|
|
2342
|
-
_o.set(_j, "ObjectWithArgs.args_unspecified", _p?.args_unspecified);
|
|
2343
|
-
return _j;
|
|
2344
|
-
},
|
|
2345
|
-
accessPriv(_p?: AccessPriv["AccessPriv"]): AccessPriv {
|
|
2346
|
-
const _j = ({
|
|
2347
|
-
AccessPriv: {}
|
|
2348
|
-
} as AccessPriv);
|
|
2349
|
-
_o.set(_j, "AccessPriv.priv_name", _p?.priv_name);
|
|
2350
|
-
_o.set(_j, "AccessPriv.cols", _p?.cols);
|
|
2351
|
-
return _j;
|
|
2352
|
-
},
|
|
2353
|
-
createOpClassItem(_p?: CreateOpClassItem["CreateOpClassItem"]): CreateOpClassItem {
|
|
2354
|
-
const _j = ({
|
|
2355
|
-
CreateOpClassItem: {}
|
|
2356
|
-
} as CreateOpClassItem);
|
|
2357
|
-
_o.set(_j, "CreateOpClassItem.itemtype", _p?.itemtype);
|
|
2358
|
-
_o.set(_j, "CreateOpClassItem.name", _p?.name);
|
|
2359
|
-
_o.set(_j, "CreateOpClassItem.number", _p?.number);
|
|
2360
|
-
_o.set(_j, "CreateOpClassItem.order_family", _p?.order_family);
|
|
2361
|
-
_o.set(_j, "CreateOpClassItem.class_args", _p?.class_args);
|
|
2362
|
-
_o.set(_j, "CreateOpClassItem.storedtype", _p?.storedtype);
|
|
2363
|
-
return _j;
|
|
2364
|
-
},
|
|
2365
|
-
tableLikeClause(_p?: TableLikeClause["TableLikeClause"]): TableLikeClause {
|
|
2366
|
-
const _j = ({
|
|
2367
|
-
TableLikeClause: {}
|
|
2368
|
-
} as TableLikeClause);
|
|
2369
|
-
_o.set(_j, "TableLikeClause.relation", _p?.relation);
|
|
2370
|
-
_o.set(_j, "TableLikeClause.options", _p?.options);
|
|
2371
|
-
_o.set(_j, "TableLikeClause.relationOid", _p?.relationOid);
|
|
2372
|
-
return _j;
|
|
2373
|
-
},
|
|
2374
|
-
functionParameter(_p?: FunctionParameter["FunctionParameter"]): FunctionParameter {
|
|
2375
|
-
const _j = ({
|
|
2376
|
-
FunctionParameter: {}
|
|
2377
|
-
} as FunctionParameter);
|
|
2378
|
-
_o.set(_j, "FunctionParameter.name", _p?.name);
|
|
2379
|
-
_o.set(_j, "FunctionParameter.argType", _p?.argType);
|
|
2380
|
-
_o.set(_j, "FunctionParameter.mode", _p?.mode);
|
|
2381
|
-
_o.set(_j, "FunctionParameter.defexpr", _p?.defexpr);
|
|
2382
|
-
return _j;
|
|
2383
|
-
},
|
|
2384
|
-
lockingClause(_p?: LockingClause["LockingClause"]): LockingClause {
|
|
2385
|
-
const _j = ({
|
|
2386
|
-
LockingClause: {}
|
|
2387
|
-
} as LockingClause);
|
|
2388
|
-
_o.set(_j, "LockingClause.lockedRels", _p?.lockedRels);
|
|
2389
|
-
_o.set(_j, "LockingClause.strength", _p?.strength);
|
|
2390
|
-
_o.set(_j, "LockingClause.waitPolicy", _p?.waitPolicy);
|
|
2391
|
-
return _j;
|
|
2392
|
-
},
|
|
2393
|
-
rowMarkClause(_p?: RowMarkClause["RowMarkClause"]): RowMarkClause {
|
|
2394
|
-
const _j = ({
|
|
2395
|
-
RowMarkClause: {}
|
|
2396
|
-
} as RowMarkClause);
|
|
2397
|
-
_o.set(_j, "RowMarkClause.rti", _p?.rti);
|
|
2398
|
-
_o.set(_j, "RowMarkClause.strength", _p?.strength);
|
|
2399
|
-
_o.set(_j, "RowMarkClause.waitPolicy", _p?.waitPolicy);
|
|
2400
|
-
_o.set(_j, "RowMarkClause.pushedDown", _p?.pushedDown);
|
|
2401
|
-
return _j;
|
|
2402
|
-
},
|
|
2403
|
-
xmlSerialize(_p?: XmlSerialize["XmlSerialize"]): XmlSerialize {
|
|
2404
|
-
const _j = ({
|
|
2405
|
-
XmlSerialize: {}
|
|
2406
|
-
} as XmlSerialize);
|
|
2407
|
-
_o.set(_j, "XmlSerialize.xmloption", _p?.xmloption);
|
|
2408
|
-
_o.set(_j, "XmlSerialize.expr", _p?.expr);
|
|
2409
|
-
_o.set(_j, "XmlSerialize.typeName", _p?.typeName);
|
|
2410
|
-
_o.set(_j, "XmlSerialize.location", _p?.location);
|
|
2411
|
-
return _j;
|
|
2412
|
-
},
|
|
2413
|
-
withClause(_p?: WithClause["WithClause"]): WithClause {
|
|
2414
|
-
const _j = ({
|
|
2415
|
-
WithClause: {}
|
|
2416
|
-
} as WithClause);
|
|
2417
|
-
_o.set(_j, "WithClause.ctes", _p?.ctes);
|
|
2418
|
-
_o.set(_j, "WithClause.recursive", _p?.recursive);
|
|
2419
|
-
_o.set(_j, "WithClause.location", _p?.location);
|
|
2420
|
-
return _j;
|
|
2421
|
-
},
|
|
2422
|
-
inferClause(_p?: InferClause["InferClause"]): InferClause {
|
|
2423
|
-
const _j = ({
|
|
2424
|
-
InferClause: {}
|
|
2425
|
-
} as InferClause);
|
|
2426
|
-
_o.set(_j, "InferClause.indexElems", _p?.indexElems);
|
|
2427
|
-
_o.set(_j, "InferClause.whereClause", _p?.whereClause);
|
|
2428
|
-
_o.set(_j, "InferClause.conname", _p?.conname);
|
|
2429
|
-
_o.set(_j, "InferClause.location", _p?.location);
|
|
2430
|
-
return _j;
|
|
2431
|
-
},
|
|
2432
|
-
onConflictClause(_p?: OnConflictClause["OnConflictClause"]): OnConflictClause {
|
|
2433
|
-
const _j = ({
|
|
2434
|
-
OnConflictClause: {}
|
|
2435
|
-
} as OnConflictClause);
|
|
2436
|
-
_o.set(_j, "OnConflictClause.action", _p?.action);
|
|
2437
|
-
_o.set(_j, "OnConflictClause.infer", _p?.infer);
|
|
2438
|
-
_o.set(_j, "OnConflictClause.targetList", _p?.targetList);
|
|
2439
|
-
_o.set(_j, "OnConflictClause.whereClause", _p?.whereClause);
|
|
2440
|
-
_o.set(_j, "OnConflictClause.location", _p?.location);
|
|
2441
|
-
return _j;
|
|
2442
|
-
},
|
|
2443
|
-
commonTableExpr(_p?: CommonTableExpr["CommonTableExpr"]): CommonTableExpr {
|
|
2444
|
-
const _j = ({
|
|
2445
|
-
CommonTableExpr: {}
|
|
2446
|
-
} as CommonTableExpr);
|
|
2447
|
-
_o.set(_j, "CommonTableExpr.ctename", _p?.ctename);
|
|
2448
|
-
_o.set(_j, "CommonTableExpr.aliascolnames", _p?.aliascolnames);
|
|
2449
|
-
_o.set(_j, "CommonTableExpr.ctematerialized", _p?.ctematerialized);
|
|
2450
|
-
_o.set(_j, "CommonTableExpr.ctequery", _p?.ctequery);
|
|
2451
|
-
_o.set(_j, "CommonTableExpr.location", _p?.location);
|
|
2452
|
-
_o.set(_j, "CommonTableExpr.cterecursive", _p?.cterecursive);
|
|
2453
|
-
_o.set(_j, "CommonTableExpr.cterefcount", _p?.cterefcount);
|
|
2454
|
-
_o.set(_j, "CommonTableExpr.ctecolnames", _p?.ctecolnames);
|
|
2455
|
-
_o.set(_j, "CommonTableExpr.ctecoltypes", _p?.ctecoltypes);
|
|
2456
|
-
_o.set(_j, "CommonTableExpr.ctecoltypmods", _p?.ctecoltypmods);
|
|
2457
|
-
_o.set(_j, "CommonTableExpr.ctecolcollations", _p?.ctecolcollations);
|
|
2458
|
-
return _j;
|
|
2459
|
-
},
|
|
2460
|
-
roleSpec(_p?: RoleSpec["RoleSpec"]): RoleSpec {
|
|
2461
|
-
const _j = ({
|
|
2462
|
-
RoleSpec: {}
|
|
2463
|
-
} as RoleSpec);
|
|
2464
|
-
_o.set(_j, "RoleSpec.roletype", _p?.roletype);
|
|
2465
|
-
_o.set(_j, "RoleSpec.rolename", _p?.rolename);
|
|
2466
|
-
_o.set(_j, "RoleSpec.location", _p?.location);
|
|
2467
|
-
return _j;
|
|
2468
|
-
},
|
|
2469
|
-
triggerTransition(_p?: TriggerTransition["TriggerTransition"]): TriggerTransition {
|
|
2470
|
-
const _j = ({
|
|
2471
|
-
TriggerTransition: {}
|
|
2472
|
-
} as TriggerTransition);
|
|
2473
|
-
_o.set(_j, "TriggerTransition.name", _p?.name);
|
|
2474
|
-
_o.set(_j, "TriggerTransition.isNew", _p?.isNew);
|
|
2475
|
-
_o.set(_j, "TriggerTransition.isTable", _p?.isTable);
|
|
2476
|
-
return _j;
|
|
2477
|
-
},
|
|
2478
|
-
partitionElem(_p?: PartitionElem["PartitionElem"]): PartitionElem {
|
|
2479
|
-
const _j = ({
|
|
2480
|
-
PartitionElem: {}
|
|
2481
|
-
} as PartitionElem);
|
|
2482
|
-
_o.set(_j, "PartitionElem.name", _p?.name);
|
|
2483
|
-
_o.set(_j, "PartitionElem.expr", _p?.expr);
|
|
2484
|
-
_o.set(_j, "PartitionElem.collation", _p?.collation);
|
|
2485
|
-
_o.set(_j, "PartitionElem.opclass", _p?.opclass);
|
|
2486
|
-
_o.set(_j, "PartitionElem.location", _p?.location);
|
|
2487
|
-
return _j;
|
|
2488
|
-
},
|
|
2489
|
-
partitionSpec(_p?: PartitionSpec["PartitionSpec"]): PartitionSpec {
|
|
2490
|
-
const _j = ({
|
|
2491
|
-
PartitionSpec: {}
|
|
2492
|
-
} as PartitionSpec);
|
|
2493
|
-
_o.set(_j, "PartitionSpec.strategy", _p?.strategy);
|
|
2494
|
-
_o.set(_j, "PartitionSpec.partParams", _p?.partParams);
|
|
2495
|
-
_o.set(_j, "PartitionSpec.location", _p?.location);
|
|
2496
|
-
return _j;
|
|
2497
|
-
},
|
|
2498
|
-
partitionBoundSpec(_p?: PartitionBoundSpec["PartitionBoundSpec"]): PartitionBoundSpec {
|
|
2499
|
-
const _j = ({
|
|
2500
|
-
PartitionBoundSpec: {}
|
|
2501
|
-
} as PartitionBoundSpec);
|
|
2502
|
-
_o.set(_j, "PartitionBoundSpec.strategy", _p?.strategy);
|
|
2503
|
-
_o.set(_j, "PartitionBoundSpec.is_default", _p?.is_default);
|
|
2504
|
-
_o.set(_j, "PartitionBoundSpec.modulus", _p?.modulus);
|
|
2505
|
-
_o.set(_j, "PartitionBoundSpec.remainder", _p?.remainder);
|
|
2506
|
-
_o.set(_j, "PartitionBoundSpec.listdatums", _p?.listdatums);
|
|
2507
|
-
_o.set(_j, "PartitionBoundSpec.lowerdatums", _p?.lowerdatums);
|
|
2508
|
-
_o.set(_j, "PartitionBoundSpec.upperdatums", _p?.upperdatums);
|
|
2509
|
-
_o.set(_j, "PartitionBoundSpec.location", _p?.location);
|
|
2510
|
-
return _j;
|
|
2511
|
-
},
|
|
2512
|
-
partitionRangeDatum(_p?: PartitionRangeDatum["PartitionRangeDatum"]): PartitionRangeDatum {
|
|
2513
|
-
const _j = ({
|
|
2514
|
-
PartitionRangeDatum: {}
|
|
2515
|
-
} as PartitionRangeDatum);
|
|
2516
|
-
_o.set(_j, "PartitionRangeDatum.kind", _p?.kind);
|
|
2517
|
-
_o.set(_j, "PartitionRangeDatum.value", _p?.value);
|
|
2518
|
-
_o.set(_j, "PartitionRangeDatum.location", _p?.location);
|
|
2519
|
-
return _j;
|
|
2520
|
-
},
|
|
2521
|
-
partitionCmd(_p?: PartitionCmd["PartitionCmd"]): PartitionCmd {
|
|
2522
|
-
const _j = ({
|
|
2523
|
-
PartitionCmd: {}
|
|
2524
|
-
} as PartitionCmd);
|
|
2525
|
-
_o.set(_j, "PartitionCmd.name", _p?.name);
|
|
2526
|
-
_o.set(_j, "PartitionCmd.bound", _p?.bound);
|
|
2527
|
-
return _j;
|
|
2528
|
-
},
|
|
2529
|
-
vacuumRelation(_p?: VacuumRelation["VacuumRelation"]): VacuumRelation {
|
|
2530
|
-
const _j = ({
|
|
2531
|
-
VacuumRelation: {}
|
|
2532
|
-
} as VacuumRelation);
|
|
2533
|
-
_o.set(_j, "VacuumRelation.relation", _p?.relation);
|
|
2534
|
-
_o.set(_j, "VacuumRelation.oid", _p?.oid);
|
|
2535
|
-
_o.set(_j, "VacuumRelation.va_cols", _p?.va_cols);
|
|
2536
|
-
return _j;
|
|
2537
|
-
},
|
|
2538
|
-
inlineCodeBlock(_p?: InlineCodeBlock["InlineCodeBlock"]): InlineCodeBlock {
|
|
2539
|
-
const _j = ({
|
|
2540
|
-
InlineCodeBlock: {}
|
|
2541
|
-
} as InlineCodeBlock);
|
|
2542
|
-
_o.set(_j, "InlineCodeBlock.source_text", _p?.source_text);
|
|
2543
|
-
_o.set(_j, "InlineCodeBlock.langOid", _p?.langOid);
|
|
2544
|
-
_o.set(_j, "InlineCodeBlock.langIsTrusted", _p?.langIsTrusted);
|
|
2545
|
-
_o.set(_j, "InlineCodeBlock.atomic", _p?.atomic);
|
|
2546
|
-
return _j;
|
|
2547
|
-
},
|
|
2548
|
-
callContext(_p?: CallContext["CallContext"]): CallContext {
|
|
2549
|
-
const _j = ({
|
|
2550
|
-
CallContext: {}
|
|
2551
|
-
} as CallContext);
|
|
2552
|
-
_o.set(_j, "CallContext.atomic", _p?.atomic);
|
|
2553
|
-
return _j;
|
|
2554
|
-
},
|
|
2555
|
-
scanToken(_p?: ScanToken["ScanToken"]): ScanToken {
|
|
2556
|
-
const _j = ({
|
|
2557
|
-
ScanToken: {}
|
|
2558
|
-
} as ScanToken);
|
|
2559
|
-
_o.set(_j, "ScanToken.start", _p?.start);
|
|
2560
|
-
_o.set(_j, "ScanToken.end", _p?.end);
|
|
2561
|
-
_o.set(_j, "ScanToken.token", _p?.token);
|
|
2562
|
-
_o.set(_j, "ScanToken.keywordKind", _p?.keywordKind);
|
|
2563
|
-
return _j;
|
|
2564
|
-
}
|
|
2565
|
-
};
|