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