pgsql-deparser 16.0.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/README.md +45 -88
- package/deparser.d.ts +253 -0
- package/{deparser/deparser.js → deparser.js} +180 -579
- package/esm/{deparser/deparser.js → deparser.js} +180 -579
- package/esm/index.js +3 -15
- package/esm/utils/index.js +90 -0
- package/esm/{deparser/utils → utils}/list-utils.js +0 -4
- package/esm/{deparser/utils → utils}/quote-utils.js +0 -34
- package/esm/utils/sql-formatter.js +23 -0
- package/esm/{deparser/visitors → visitors}/base.js +0 -4
- package/index.d.ts +3 -9
- package/index.js +4 -16
- package/package.json +27 -14
- package/utils/index.d.ts +4 -0
- package/utils/index.js +97 -0
- package/{deparser/utils → utils}/list-utils.d.ts +0 -4
- package/{deparser/utils → utils}/list-utils.js +0 -4
- package/utils/quote-utils.d.ts +5 -0
- package/{deparser/utils → utils}/quote-utils.js +0 -34
- package/{deparser/utils → utils}/sql-formatter.d.ts +1 -7
- package/{deparser/utils → utils}/sql-formatter.js +2 -15
- package/{deparser/visitors → visitors}/base.d.ts +5 -8
- package/{deparser/visitors → visitors}/base.js +0 -4
- package/deparser/deparser.d.ts +0 -301
- package/deparser/index.d.ts +0 -9
- package/deparser/index.js +0 -17
- package/deparser/utils/quote-utils.d.ts +0 -24
- package/esm/deparser/index.js +0 -13
- package/esm/deparser/utils/sql-formatter.js +0 -36
- package/esm/v16-to-v17-direct.js +0 -44
- package/esm/v16-to-v17.js +0 -1488
- package/v16-to-v17-direct.d.ts +0 -21
- package/v16-to-v17-direct.js +0 -48
- package/v16-to-v17.d.ts +0 -638
- package/v16-to-v17.js +0 -1492
package/v16-to-v17-direct.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Auto-generated file with types stripped for better tree-shaking
|
|
3
|
-
* DO NOT EDIT - Generated by strip-direct-transformer-types.ts
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Direct transformer from PG16 to PG17
|
|
7
|
-
* This transformer only includes the necessary code for v16->v17 transformation
|
|
8
|
-
*/
|
|
9
|
-
export declare class PG16ToPG17Transformer {
|
|
10
|
-
private transformer;
|
|
11
|
-
transform(node: any): any;
|
|
12
|
-
/**
|
|
13
|
-
* Transform a single statement from PG16 to PG17
|
|
14
|
-
* @deprecated Use transform() instead, which handles all node types
|
|
15
|
-
*/
|
|
16
|
-
transformStatement(stmt: any): any;
|
|
17
|
-
/**
|
|
18
|
-
* Type guard to check if a node is a ParseResult
|
|
19
|
-
*/
|
|
20
|
-
private isParseResult;
|
|
21
|
-
}
|
package/v16-to-v17-direct.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Auto-generated file with types stripped for better tree-shaking
|
|
4
|
-
* DO NOT EDIT - Generated by strip-direct-transformer-types.ts
|
|
5
|
-
*/
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.PG16ToPG17Transformer = void 0;
|
|
8
|
-
const v16_to_v17_1 = require("./v16-to-v17");
|
|
9
|
-
/**
|
|
10
|
-
* Direct transformer from PG16 to PG17
|
|
11
|
-
* This transformer only includes the necessary code for v16->v17 transformation
|
|
12
|
-
*/
|
|
13
|
-
class PG16ToPG17Transformer {
|
|
14
|
-
transformer = new v16_to_v17_1.V16ToV17Transformer();
|
|
15
|
-
transform(node) {
|
|
16
|
-
// If it's a ParseResult, handle it specially
|
|
17
|
-
if (this.isParseResult(node)) {
|
|
18
|
-
const transformedStmts = node.stmts.map((stmtWrapper) => {
|
|
19
|
-
if (stmtWrapper.stmt) {
|
|
20
|
-
const transformedStmt = this.transformer.transform(stmtWrapper.stmt, { parentNodeTypes: [] });
|
|
21
|
-
return { ...stmtWrapper, stmt: transformedStmt };
|
|
22
|
-
}
|
|
23
|
-
return stmtWrapper;
|
|
24
|
-
});
|
|
25
|
-
return {
|
|
26
|
-
...node,
|
|
27
|
-
version: 170004, // PG17 version
|
|
28
|
-
stmts: transformedStmts
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
// Otherwise, transform as a regular node
|
|
32
|
-
return this.transformer.transform(node, { parentNodeTypes: [] });
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Transform a single statement from PG16 to PG17
|
|
36
|
-
* @deprecated Use transform() instead, which handles all node types
|
|
37
|
-
*/
|
|
38
|
-
transformStatement(stmt) {
|
|
39
|
-
return this.transformer.transform(stmt, { parentNodeTypes: [] });
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Type guard to check if a node is a ParseResult
|
|
43
|
-
*/
|
|
44
|
-
isParseResult(node) {
|
|
45
|
-
return node && typeof node === 'object' && 'version' in node && 'stmts' in node;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
exports.PG16ToPG17Transformer = PG16ToPG17Transformer;
|
package/v16-to-v17.d.ts
DELETED
|
@@ -1,638 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Auto-generated file with types stripped for better tree-shaking
|
|
3
|
-
* DO NOT EDIT - Generated by strip-transformer-types.ts
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* V16 to V17 AST Transformer
|
|
7
|
-
* Transforms PostgreSQL v16 AST nodes to v17 format
|
|
8
|
-
*/
|
|
9
|
-
export declare class V16ToV17Transformer {
|
|
10
|
-
transform(node: any, context?: any): any;
|
|
11
|
-
visit(node: any, context?: any): any;
|
|
12
|
-
getNodeType(node: any): any;
|
|
13
|
-
getNodeData(node: any): any;
|
|
14
|
-
ParseResult(node: any, context: any): any;
|
|
15
|
-
RawStmt(node: any, context: any): {
|
|
16
|
-
RawStmt: any;
|
|
17
|
-
};
|
|
18
|
-
SelectStmt(node: any, context: any): {
|
|
19
|
-
SelectStmt: any;
|
|
20
|
-
};
|
|
21
|
-
A_Expr(node: any, context: any): {
|
|
22
|
-
A_Expr: any;
|
|
23
|
-
};
|
|
24
|
-
InsertStmt(node: any, context: any): {
|
|
25
|
-
InsertStmt: any;
|
|
26
|
-
};
|
|
27
|
-
UpdateStmt(node: any, context: any): {
|
|
28
|
-
UpdateStmt: any;
|
|
29
|
-
};
|
|
30
|
-
DeleteStmt(node: any, context: any): {
|
|
31
|
-
DeleteStmt: any;
|
|
32
|
-
};
|
|
33
|
-
WithClause(node: any, context: any): {
|
|
34
|
-
WithClause: any;
|
|
35
|
-
};
|
|
36
|
-
ResTarget(node: any, context: any): {
|
|
37
|
-
ResTarget: any;
|
|
38
|
-
};
|
|
39
|
-
BoolExpr(node: any, context: any): {
|
|
40
|
-
BoolExpr: any;
|
|
41
|
-
};
|
|
42
|
-
FuncCall(node: any, context: any): {
|
|
43
|
-
FuncCall: any;
|
|
44
|
-
};
|
|
45
|
-
FuncExpr(node: any, context: any): {
|
|
46
|
-
FuncExpr: any;
|
|
47
|
-
};
|
|
48
|
-
A_Const(node: any, context: any): {
|
|
49
|
-
A_Const: any;
|
|
50
|
-
};
|
|
51
|
-
ColumnRef(node: any, context: any): {
|
|
52
|
-
ColumnRef: any;
|
|
53
|
-
};
|
|
54
|
-
private isInCreateDomainContext;
|
|
55
|
-
private isInTypeCastContext;
|
|
56
|
-
private isInCreateTableContext;
|
|
57
|
-
private isInValuesContext;
|
|
58
|
-
private isInSimpleSelectTypeCastContext;
|
|
59
|
-
private shouldAddPgCatalogPrefix;
|
|
60
|
-
TypeName(node: any, context: any): {
|
|
61
|
-
TypeName: any;
|
|
62
|
-
};
|
|
63
|
-
Alias(node: any, context: any): {
|
|
64
|
-
Alias: any;
|
|
65
|
-
};
|
|
66
|
-
RangeVar(node: any, context: any): {
|
|
67
|
-
RangeVar: any;
|
|
68
|
-
};
|
|
69
|
-
A_ArrayExpr(node: any, context: any): {
|
|
70
|
-
A_ArrayExpr: any;
|
|
71
|
-
};
|
|
72
|
-
A_Indices(node: any, context: any): {
|
|
73
|
-
A_Indices: any;
|
|
74
|
-
};
|
|
75
|
-
A_Indirection(node: any, context: any): {
|
|
76
|
-
A_Indirection: any;
|
|
77
|
-
};
|
|
78
|
-
A_Star(node: any, context: any): {
|
|
79
|
-
A_Star: any;
|
|
80
|
-
};
|
|
81
|
-
CaseExpr(node: any, context: any): {
|
|
82
|
-
CaseExpr: any;
|
|
83
|
-
};
|
|
84
|
-
CoalesceExpr(node: any, context: any): {
|
|
85
|
-
CoalesceExpr: any;
|
|
86
|
-
};
|
|
87
|
-
TypeCast(node: any, context: any): {
|
|
88
|
-
TypeCast: any;
|
|
89
|
-
};
|
|
90
|
-
CollateClause(node: any, context: any): {
|
|
91
|
-
CollateClause: any;
|
|
92
|
-
};
|
|
93
|
-
BooleanTest(node: any, context: any): {
|
|
94
|
-
BooleanTest: any;
|
|
95
|
-
};
|
|
96
|
-
NullTest(node: any, context: any): {
|
|
97
|
-
NullTest: any;
|
|
98
|
-
};
|
|
99
|
-
String(node: any, context: any): {
|
|
100
|
-
String: any;
|
|
101
|
-
};
|
|
102
|
-
Integer(node: any, context: any): {
|
|
103
|
-
Integer: any;
|
|
104
|
-
};
|
|
105
|
-
Float(node: any, context: any): {
|
|
106
|
-
Float: any;
|
|
107
|
-
};
|
|
108
|
-
Boolean(node: any, context: any): {
|
|
109
|
-
Boolean: any;
|
|
110
|
-
};
|
|
111
|
-
BitString(node: any, context: any): {
|
|
112
|
-
BitString: any;
|
|
113
|
-
};
|
|
114
|
-
Null(node: any, context: any): any;
|
|
115
|
-
List(node: any, context: any): {
|
|
116
|
-
List: any;
|
|
117
|
-
};
|
|
118
|
-
CreateStmt(node: any, context: any): {
|
|
119
|
-
CreateStmt: any;
|
|
120
|
-
};
|
|
121
|
-
ColumnDef(node: any, context: any): {
|
|
122
|
-
ColumnDef: any;
|
|
123
|
-
};
|
|
124
|
-
Constraint(node: any, context: any): {
|
|
125
|
-
Constraint: any;
|
|
126
|
-
};
|
|
127
|
-
SubLink(node: any, context: any): {
|
|
128
|
-
SubLink: any;
|
|
129
|
-
};
|
|
130
|
-
CaseWhen(node: any, context: any): {
|
|
131
|
-
CaseWhen: any;
|
|
132
|
-
};
|
|
133
|
-
WindowDef(node: any, context: any): {
|
|
134
|
-
WindowDef: any;
|
|
135
|
-
};
|
|
136
|
-
SortBy(node: any, context: any): {
|
|
137
|
-
SortBy: any;
|
|
138
|
-
};
|
|
139
|
-
GroupingSet(node: any, context: any): {
|
|
140
|
-
GroupingSet: any;
|
|
141
|
-
};
|
|
142
|
-
CommonTableExpr(node: any, context: any): {
|
|
143
|
-
CommonTableExpr: any;
|
|
144
|
-
};
|
|
145
|
-
ParamRef(node: any, context: any): {
|
|
146
|
-
ParamRef: any;
|
|
147
|
-
};
|
|
148
|
-
LockingClause(node: any, context: any): {
|
|
149
|
-
LockingClause: any;
|
|
150
|
-
};
|
|
151
|
-
MinMaxExpr(node: any, context: any): {
|
|
152
|
-
MinMaxExpr: any;
|
|
153
|
-
};
|
|
154
|
-
RowExpr(node: any, context: any): {
|
|
155
|
-
RowExpr: any;
|
|
156
|
-
};
|
|
157
|
-
OpExpr(node: any, context: any): {
|
|
158
|
-
OpExpr: any;
|
|
159
|
-
};
|
|
160
|
-
DistinctExpr(node: any, context: any): {
|
|
161
|
-
DistinctExpr: any;
|
|
162
|
-
};
|
|
163
|
-
NullIfExpr(node: any, context: any): {
|
|
164
|
-
NullIfExpr: any;
|
|
165
|
-
};
|
|
166
|
-
ScalarArrayOpExpr(node: any, context: any): {
|
|
167
|
-
ScalarArrayOpExpr: any;
|
|
168
|
-
};
|
|
169
|
-
Aggref(node: any, context: any): {
|
|
170
|
-
Aggref: any;
|
|
171
|
-
};
|
|
172
|
-
WindowFunc(node: any, context: any): {
|
|
173
|
-
WindowFunc: any;
|
|
174
|
-
};
|
|
175
|
-
FieldSelect(node: any, context: any): {
|
|
176
|
-
FieldSelect: any;
|
|
177
|
-
};
|
|
178
|
-
RelabelType(node: any, context: any): {
|
|
179
|
-
RelabelType: any;
|
|
180
|
-
};
|
|
181
|
-
CoerceViaIO(node: any, context: any): {
|
|
182
|
-
CoerceViaIO: any;
|
|
183
|
-
};
|
|
184
|
-
ArrayCoerceExpr(node: any, context: any): {
|
|
185
|
-
ArrayCoerceExpr: any;
|
|
186
|
-
};
|
|
187
|
-
ConvertRowtypeExpr(node: any, context: any): {
|
|
188
|
-
ConvertRowtypeExpr: any;
|
|
189
|
-
};
|
|
190
|
-
NamedArgExpr(node: any, context: any): {
|
|
191
|
-
NamedArgExpr: any;
|
|
192
|
-
};
|
|
193
|
-
ViewStmt(node: any, context: any): {
|
|
194
|
-
ViewStmt: any;
|
|
195
|
-
};
|
|
196
|
-
IndexStmt(node: any, context: any): {
|
|
197
|
-
IndexStmt: any;
|
|
198
|
-
};
|
|
199
|
-
IndexElem(node: any, context: any): {
|
|
200
|
-
IndexElem: any;
|
|
201
|
-
};
|
|
202
|
-
PartitionElem(node: any, context: any): {
|
|
203
|
-
PartitionElem: any;
|
|
204
|
-
};
|
|
205
|
-
PartitionCmd(node: any, context: any): {
|
|
206
|
-
PartitionCmd: any;
|
|
207
|
-
};
|
|
208
|
-
JoinExpr(node: any, context: any): {
|
|
209
|
-
JoinExpr: any;
|
|
210
|
-
};
|
|
211
|
-
FromExpr(node: any, context: any): {
|
|
212
|
-
FromExpr: any;
|
|
213
|
-
};
|
|
214
|
-
TransactionStmt(node: any, context: any): {
|
|
215
|
-
TransactionStmt: any;
|
|
216
|
-
};
|
|
217
|
-
VariableSetStmt(node: any, context: any): {
|
|
218
|
-
VariableSetStmt: any;
|
|
219
|
-
};
|
|
220
|
-
VariableShowStmt(node: any, context: any): {
|
|
221
|
-
VariableShowStmt: any;
|
|
222
|
-
};
|
|
223
|
-
CreateSchemaStmt(node: any, context: any): {
|
|
224
|
-
CreateSchemaStmt: any;
|
|
225
|
-
};
|
|
226
|
-
RoleSpec(node: any, context: any): {
|
|
227
|
-
RoleSpec: any;
|
|
228
|
-
};
|
|
229
|
-
DropStmt(node: any, context: any): {
|
|
230
|
-
DropStmt: any;
|
|
231
|
-
};
|
|
232
|
-
TruncateStmt(node: any, context: any): {
|
|
233
|
-
TruncateStmt: any;
|
|
234
|
-
};
|
|
235
|
-
ReturnStmt(node: any, context: any): {
|
|
236
|
-
ReturnStmt: any;
|
|
237
|
-
};
|
|
238
|
-
PLAssignStmt(node: any, context: any): {
|
|
239
|
-
PLAssignStmt: any;
|
|
240
|
-
};
|
|
241
|
-
CopyStmt(node: any, context: any): {
|
|
242
|
-
CopyStmt: any;
|
|
243
|
-
};
|
|
244
|
-
AlterTableStmt(node: any, context: any): {
|
|
245
|
-
AlterTableStmt: any;
|
|
246
|
-
};
|
|
247
|
-
AlterTableCmd(node: any, context: any): {
|
|
248
|
-
AlterTableCmd: any;
|
|
249
|
-
};
|
|
250
|
-
CreateFunctionStmt(node: any, context: any): {
|
|
251
|
-
CreateFunctionStmt: any;
|
|
252
|
-
};
|
|
253
|
-
FunctionParameter(node: any, context: any): {
|
|
254
|
-
FunctionParameter: any;
|
|
255
|
-
};
|
|
256
|
-
CreateEnumStmt(node: any, context: any): {
|
|
257
|
-
CreateEnumStmt: any;
|
|
258
|
-
};
|
|
259
|
-
CreateDomainStmt(node: any, context: any): {
|
|
260
|
-
CreateDomainStmt: any;
|
|
261
|
-
};
|
|
262
|
-
CreateRoleStmt(node: any, context: any): {
|
|
263
|
-
CreateRoleStmt: any;
|
|
264
|
-
};
|
|
265
|
-
DefElem(node: any, context: any): {
|
|
266
|
-
DefElem: any;
|
|
267
|
-
};
|
|
268
|
-
CreateTableSpaceStmt(node: any, context: any): {
|
|
269
|
-
CreateTableSpaceStmt: any;
|
|
270
|
-
};
|
|
271
|
-
DropTableSpaceStmt(node: any, context: any): {
|
|
272
|
-
DropTableSpaceStmt: any;
|
|
273
|
-
};
|
|
274
|
-
AlterTableSpaceOptionsStmt(node: any, context: any): {
|
|
275
|
-
AlterTableSpaceOptionsStmt: any;
|
|
276
|
-
};
|
|
277
|
-
CreateExtensionStmt(node: any, context: any): {
|
|
278
|
-
CreateExtensionStmt: any;
|
|
279
|
-
};
|
|
280
|
-
AlterExtensionStmt(node: any, context: any): {
|
|
281
|
-
AlterExtensionStmt: any;
|
|
282
|
-
};
|
|
283
|
-
CreateFdwStmt(node: any, context: any): {
|
|
284
|
-
CreateFdwStmt: any;
|
|
285
|
-
};
|
|
286
|
-
SetOperationStmt(node: any, context: any): {
|
|
287
|
-
SetOperationStmt: any;
|
|
288
|
-
};
|
|
289
|
-
ReplicaIdentityStmt(node: any, context: any): {
|
|
290
|
-
ReplicaIdentityStmt: any;
|
|
291
|
-
};
|
|
292
|
-
AlterCollationStmt(node: any, context: any): {
|
|
293
|
-
AlterCollationStmt: any;
|
|
294
|
-
};
|
|
295
|
-
AlterDomainStmt(node: any, context: any): {
|
|
296
|
-
AlterDomainStmt: any;
|
|
297
|
-
};
|
|
298
|
-
PrepareStmt(node: any, context: any): {
|
|
299
|
-
PrepareStmt: any;
|
|
300
|
-
};
|
|
301
|
-
ExecuteStmt(node: any, context: any): {
|
|
302
|
-
ExecuteStmt: any;
|
|
303
|
-
};
|
|
304
|
-
DeallocateStmt(node: any, context: any): {
|
|
305
|
-
DeallocateStmt: any;
|
|
306
|
-
};
|
|
307
|
-
NotifyStmt(node: any, context: any): {
|
|
308
|
-
NotifyStmt: any;
|
|
309
|
-
};
|
|
310
|
-
ListenStmt(node: any, context: any): {
|
|
311
|
-
ListenStmt: any;
|
|
312
|
-
};
|
|
313
|
-
UnlistenStmt(node: any, context: any): {
|
|
314
|
-
UnlistenStmt: any;
|
|
315
|
-
};
|
|
316
|
-
CheckPointStmt(node: any, context: any): {
|
|
317
|
-
CheckPointStmt: any;
|
|
318
|
-
};
|
|
319
|
-
LoadStmt(node: any, context: any): {
|
|
320
|
-
LoadStmt: any;
|
|
321
|
-
};
|
|
322
|
-
DiscardStmt(node: any, context: any): {
|
|
323
|
-
DiscardStmt: any;
|
|
324
|
-
};
|
|
325
|
-
CommentStmt(node: any, context: any): {
|
|
326
|
-
CommentStmt: any;
|
|
327
|
-
};
|
|
328
|
-
LockStmt(node: any, context: any): {
|
|
329
|
-
LockStmt: any;
|
|
330
|
-
};
|
|
331
|
-
CreatePolicyStmt(node: any, context: any): {
|
|
332
|
-
CreatePolicyStmt: any;
|
|
333
|
-
};
|
|
334
|
-
AlterPolicyStmt(node: any, context: any): {
|
|
335
|
-
AlterPolicyStmt: any;
|
|
336
|
-
};
|
|
337
|
-
CreateUserMappingStmt(node: any, context: any): {
|
|
338
|
-
CreateUserMappingStmt: any;
|
|
339
|
-
};
|
|
340
|
-
CreateStatsStmt(node: any, context: any): {
|
|
341
|
-
CreateStatsStmt: any;
|
|
342
|
-
};
|
|
343
|
-
StatsElem(node: any, context: any): {
|
|
344
|
-
StatsElem: any;
|
|
345
|
-
};
|
|
346
|
-
CreatePublicationStmt(node: any, context: any): {
|
|
347
|
-
CreatePublicationStmt: any;
|
|
348
|
-
};
|
|
349
|
-
CreateSubscriptionStmt(node: any, context: any): {
|
|
350
|
-
CreateSubscriptionStmt: any;
|
|
351
|
-
};
|
|
352
|
-
AlterPublicationStmt(node: any, context: any): {
|
|
353
|
-
AlterPublicationStmt: any;
|
|
354
|
-
};
|
|
355
|
-
AlterSubscriptionStmt(node: any, context: any): {
|
|
356
|
-
AlterSubscriptionStmt: any;
|
|
357
|
-
};
|
|
358
|
-
DropSubscriptionStmt(node: any, context: any): {
|
|
359
|
-
DropSubscriptionStmt: any;
|
|
360
|
-
};
|
|
361
|
-
DoStmt(node: any, context: any): {
|
|
362
|
-
DoStmt: any;
|
|
363
|
-
};
|
|
364
|
-
InlineCodeBlock(node: any, context: any): {
|
|
365
|
-
InlineCodeBlock: any;
|
|
366
|
-
};
|
|
367
|
-
CallContext(node: any, context: any): {
|
|
368
|
-
CallContext: any;
|
|
369
|
-
};
|
|
370
|
-
ConstraintsSetStmt(node: any, context: any): {
|
|
371
|
-
ConstraintsSetStmt: any;
|
|
372
|
-
};
|
|
373
|
-
AlterSystemStmt(node: any, context: any): {
|
|
374
|
-
AlterSystemStmt: any;
|
|
375
|
-
};
|
|
376
|
-
VacuumRelation(node: any, context: any): {
|
|
377
|
-
VacuumRelation: any;
|
|
378
|
-
};
|
|
379
|
-
DropOwnedStmt(node: any, context: any): {
|
|
380
|
-
DropOwnedStmt: any;
|
|
381
|
-
};
|
|
382
|
-
ReassignOwnedStmt(node: any, context: any): {
|
|
383
|
-
ReassignOwnedStmt: any;
|
|
384
|
-
};
|
|
385
|
-
AlterTSDictionaryStmt(node: any, context: any): {
|
|
386
|
-
AlterTSDictionaryStmt: any;
|
|
387
|
-
};
|
|
388
|
-
AlterTSConfigurationStmt(node: any, context: any): {
|
|
389
|
-
AlterTSConfigurationStmt: any;
|
|
390
|
-
};
|
|
391
|
-
ClosePortalStmt(node: any, context: any): {
|
|
392
|
-
ClosePortalStmt: any;
|
|
393
|
-
};
|
|
394
|
-
FetchStmt(node: any, context: any): {
|
|
395
|
-
FetchStmt: any;
|
|
396
|
-
};
|
|
397
|
-
AlterStatsStmt(node: any, context: any): {
|
|
398
|
-
AlterStatsStmt: any;
|
|
399
|
-
};
|
|
400
|
-
ObjectWithArgs(node: any, context: any): {
|
|
401
|
-
ObjectWithArgs: any;
|
|
402
|
-
};
|
|
403
|
-
AlterOperatorStmt(node: any, context: any): {
|
|
404
|
-
AlterOperatorStmt: any;
|
|
405
|
-
};
|
|
406
|
-
AlterFdwStmt(node: any, context: any): {
|
|
407
|
-
AlterFdwStmt: any;
|
|
408
|
-
};
|
|
409
|
-
CreateForeignServerStmt(node: any, context: any): {
|
|
410
|
-
CreateForeignServerStmt: any;
|
|
411
|
-
};
|
|
412
|
-
AlterForeignServerStmt(node: any, context: any): {
|
|
413
|
-
AlterForeignServerStmt: any;
|
|
414
|
-
};
|
|
415
|
-
AlterUserMappingStmt(node: any, context: any): {
|
|
416
|
-
AlterUserMappingStmt: any;
|
|
417
|
-
};
|
|
418
|
-
DropUserMappingStmt(node: any, context: any): {
|
|
419
|
-
DropUserMappingStmt: any;
|
|
420
|
-
};
|
|
421
|
-
ImportForeignSchemaStmt(node: any, context: any): {
|
|
422
|
-
ImportForeignSchemaStmt: any;
|
|
423
|
-
};
|
|
424
|
-
ClusterStmt(node: any, context: any): {
|
|
425
|
-
ClusterStmt: any;
|
|
426
|
-
};
|
|
427
|
-
VacuumStmt(node: any, context: any): {
|
|
428
|
-
VacuumStmt: any;
|
|
429
|
-
};
|
|
430
|
-
ExplainStmt(node: any, context: any): {
|
|
431
|
-
ExplainStmt: any;
|
|
432
|
-
};
|
|
433
|
-
ReindexStmt(node: any, context: any): {
|
|
434
|
-
ReindexStmt: any;
|
|
435
|
-
};
|
|
436
|
-
CallStmt(node: any, context: any): {
|
|
437
|
-
CallStmt: any;
|
|
438
|
-
};
|
|
439
|
-
CreatedbStmt(node: any, context: any): {
|
|
440
|
-
CreatedbStmt: any;
|
|
441
|
-
};
|
|
442
|
-
DropdbStmt(node: any, context: any): {
|
|
443
|
-
DropdbStmt: any;
|
|
444
|
-
};
|
|
445
|
-
RenameStmt(node: any, context: any): {
|
|
446
|
-
RenameStmt: any;
|
|
447
|
-
};
|
|
448
|
-
AlterOwnerStmt(node: any, context: any): {
|
|
449
|
-
AlterOwnerStmt: any;
|
|
450
|
-
};
|
|
451
|
-
GrantStmt(node: any, context: any): {
|
|
452
|
-
GrantStmt: any;
|
|
453
|
-
};
|
|
454
|
-
GrantRoleStmt(node: any, context: any): {
|
|
455
|
-
GrantRoleStmt: any;
|
|
456
|
-
};
|
|
457
|
-
SecLabelStmt(node: any, context: any): {
|
|
458
|
-
SecLabelStmt: any;
|
|
459
|
-
};
|
|
460
|
-
AlterDefaultPrivilegesStmt(node: any, context: any): {
|
|
461
|
-
AlterDefaultPrivilegesStmt: any;
|
|
462
|
-
};
|
|
463
|
-
CreateConversionStmt(node: any, context: any): {
|
|
464
|
-
CreateConversionStmt: any;
|
|
465
|
-
};
|
|
466
|
-
CreateCastStmt(node: any, context: any): {
|
|
467
|
-
CreateCastStmt: any;
|
|
468
|
-
};
|
|
469
|
-
CreatePLangStmt(node: any, context: any): {
|
|
470
|
-
CreatePLangStmt: any;
|
|
471
|
-
};
|
|
472
|
-
CreateTransformStmt(node: any, context: any): {
|
|
473
|
-
CreateTransformStmt: any;
|
|
474
|
-
};
|
|
475
|
-
CreateTrigStmt(node: any, context: any): {
|
|
476
|
-
CreateTrigStmt: any;
|
|
477
|
-
};
|
|
478
|
-
TriggerTransition(node: any, context: any): {
|
|
479
|
-
TriggerTransition: any;
|
|
480
|
-
};
|
|
481
|
-
CreateEventTrigStmt(node: any, context: any): {
|
|
482
|
-
CreateEventTrigStmt: any;
|
|
483
|
-
};
|
|
484
|
-
AlterEventTrigStmt(node: any, context: any): {
|
|
485
|
-
AlterEventTrigStmt: any;
|
|
486
|
-
};
|
|
487
|
-
CreateOpClassStmt(node: any, context: any): {
|
|
488
|
-
CreateOpClassStmt: any;
|
|
489
|
-
};
|
|
490
|
-
CreateOpFamilyStmt(node: any, context: any): {
|
|
491
|
-
CreateOpFamilyStmt: any;
|
|
492
|
-
};
|
|
493
|
-
AlterOpFamilyStmt(node: any, context: any): {
|
|
494
|
-
AlterOpFamilyStmt: any;
|
|
495
|
-
};
|
|
496
|
-
MergeStmt(node: any, context: any): {
|
|
497
|
-
MergeStmt: any;
|
|
498
|
-
};
|
|
499
|
-
AlterTableMoveAllStmt(node: any, context: any): {
|
|
500
|
-
AlterTableMoveAllStmt: any;
|
|
501
|
-
};
|
|
502
|
-
CreateSeqStmt(node: any, context: any): {
|
|
503
|
-
CreateSeqStmt: any;
|
|
504
|
-
};
|
|
505
|
-
AlterSeqStmt(node: any, context: any): {
|
|
506
|
-
AlterSeqStmt: any;
|
|
507
|
-
};
|
|
508
|
-
CompositeTypeStmt(node: any, context: any): {
|
|
509
|
-
CompositeTypeStmt: any;
|
|
510
|
-
};
|
|
511
|
-
CreateRangeStmt(node: any, context: any): {
|
|
512
|
-
CreateRangeStmt: any;
|
|
513
|
-
};
|
|
514
|
-
AlterEnumStmt(node: any, context: any): {
|
|
515
|
-
AlterEnumStmt: any;
|
|
516
|
-
};
|
|
517
|
-
AlterTypeStmt(node: any, context: any): {
|
|
518
|
-
AlterTypeStmt: any;
|
|
519
|
-
};
|
|
520
|
-
AlterRoleStmt(node: any, context: any): {
|
|
521
|
-
AlterRoleStmt: any;
|
|
522
|
-
};
|
|
523
|
-
DropRoleStmt(node: any, context: any): {
|
|
524
|
-
DropRoleStmt: any;
|
|
525
|
-
};
|
|
526
|
-
CreateAggregateStmt(node: any, context: any): any;
|
|
527
|
-
CreateTableAsStmt(node: any, context: any): {
|
|
528
|
-
CreateTableAsStmt: any;
|
|
529
|
-
};
|
|
530
|
-
RefreshMatViewStmt(node: any, context: any): {
|
|
531
|
-
RefreshMatViewStmt: any;
|
|
532
|
-
};
|
|
533
|
-
AccessPriv(node: any, context: any): {
|
|
534
|
-
AccessPriv: any;
|
|
535
|
-
};
|
|
536
|
-
DefineStmt(node: any, context: any): {
|
|
537
|
-
DefineStmt: any;
|
|
538
|
-
};
|
|
539
|
-
AlterDatabaseStmt(node: any, context: any): {
|
|
540
|
-
AlterDatabaseStmt: any;
|
|
541
|
-
};
|
|
542
|
-
AlterDatabaseRefreshCollStmt(node: any, context: any): {
|
|
543
|
-
AlterDatabaseRefreshCollStmt: any;
|
|
544
|
-
};
|
|
545
|
-
AlterDatabaseSetStmt(node: any, context: any): {
|
|
546
|
-
AlterDatabaseSetStmt: any;
|
|
547
|
-
};
|
|
548
|
-
DeclareCursorStmt(node: any, context: any): {
|
|
549
|
-
DeclareCursorStmt: any;
|
|
550
|
-
};
|
|
551
|
-
PublicationObjSpec(node: any, context: any): {
|
|
552
|
-
PublicationObjSpec: any;
|
|
553
|
-
};
|
|
554
|
-
PublicationTable(node: any, context: any): {
|
|
555
|
-
PublicationTable: any;
|
|
556
|
-
};
|
|
557
|
-
CreateAmStmt(node: any, context: any): {
|
|
558
|
-
CreateAmStmt: any;
|
|
559
|
-
};
|
|
560
|
-
IntoClause(node: any, context: any): {
|
|
561
|
-
IntoClause: any;
|
|
562
|
-
};
|
|
563
|
-
OnConflictExpr(node: any, context: any): {
|
|
564
|
-
OnConflictExpr: any;
|
|
565
|
-
};
|
|
566
|
-
ScanToken(node: any, context: any): {
|
|
567
|
-
ScanToken: any;
|
|
568
|
-
};
|
|
569
|
-
CreateOpClassItem(node: any, context: any): {
|
|
570
|
-
CreateOpClassItem: any;
|
|
571
|
-
};
|
|
572
|
-
Var(node: any, context: any): {
|
|
573
|
-
Var: any;
|
|
574
|
-
};
|
|
575
|
-
TableFunc(node: any, context: any): {
|
|
576
|
-
TableFunc: any;
|
|
577
|
-
};
|
|
578
|
-
RangeTableFunc(node: any, context: any): {
|
|
579
|
-
RangeTableFunc: any;
|
|
580
|
-
};
|
|
581
|
-
RangeTableFuncCol(node: any, context: any): {
|
|
582
|
-
RangeTableFuncCol: any;
|
|
583
|
-
};
|
|
584
|
-
JsonArrayQueryConstructor(node: any, context: any): {
|
|
585
|
-
JsonArrayQueryConstructor: any;
|
|
586
|
-
};
|
|
587
|
-
RangeFunction(node: any, context: any): {
|
|
588
|
-
RangeFunction: any;
|
|
589
|
-
};
|
|
590
|
-
XmlSerialize(node: any, context: any): {
|
|
591
|
-
XmlSerialize: any;
|
|
592
|
-
};
|
|
593
|
-
RuleStmt(node: any, context: any): {
|
|
594
|
-
RuleStmt: any;
|
|
595
|
-
};
|
|
596
|
-
GroupingFunc(node: any, context: any): {
|
|
597
|
-
GroupingFunc: any;
|
|
598
|
-
};
|
|
599
|
-
MultiAssignRef(node: any, context: any): {
|
|
600
|
-
MultiAssignRef: any;
|
|
601
|
-
};
|
|
602
|
-
CurrentOfExpr(node: any, context: any): {
|
|
603
|
-
CurrentOfExpr: any;
|
|
604
|
-
};
|
|
605
|
-
TableLikeClause(node: any, context: any): {
|
|
606
|
-
TableLikeClause: any;
|
|
607
|
-
};
|
|
608
|
-
AlterFunctionStmt(node: any, context: any): {
|
|
609
|
-
AlterFunctionStmt: any;
|
|
610
|
-
};
|
|
611
|
-
AlterObjectSchemaStmt(node: any, context: any): {
|
|
612
|
-
AlterObjectSchemaStmt: any;
|
|
613
|
-
};
|
|
614
|
-
AlterRoleSetStmt(node: any, context: any): {
|
|
615
|
-
AlterRoleSetStmt: any;
|
|
616
|
-
};
|
|
617
|
-
CreateForeignTableStmt(node: any, context: any): {
|
|
618
|
-
CreateForeignTableStmt: any;
|
|
619
|
-
};
|
|
620
|
-
private getFuncformatValue;
|
|
621
|
-
private getFunctionName;
|
|
622
|
-
private hasPgCatalogPrefix;
|
|
623
|
-
RangeTableSample(node: any, context: any): {
|
|
624
|
-
RangeTableSample: any;
|
|
625
|
-
};
|
|
626
|
-
SQLValueFunction(node: any, context: any): {
|
|
627
|
-
SQLValueFunction: any;
|
|
628
|
-
};
|
|
629
|
-
XmlExpr(node: any, context: any): {
|
|
630
|
-
XmlExpr: any;
|
|
631
|
-
};
|
|
632
|
-
RangeSubselect(node: any, context: any): {
|
|
633
|
-
RangeSubselect: any;
|
|
634
|
-
};
|
|
635
|
-
SetToDefault(node: any, context: any): {
|
|
636
|
-
SetToDefault: any;
|
|
637
|
-
};
|
|
638
|
-
}
|