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.
- package/README.md +88 -45
- package/dist/README.md +160 -0
- package/dist/deparser/deparser.d.ts +301 -0
- package/dist/deparser/deparser.js +10005 -0
- package/dist/deparser/index.d.ts +9 -0
- package/dist/deparser/index.js +17 -0
- package/dist/deparser/utils/list-utils.d.ts +8 -0
- package/dist/deparser/utils/list-utils.js +30 -0
- package/dist/deparser/utils/quote-utils.d.ts +24 -0
- package/dist/deparser/utils/quote-utils.js +89 -0
- package/dist/deparser/utils/sql-formatter.d.ts +16 -0
- package/dist/deparser/utils/sql-formatter.js +40 -0
- package/dist/deparser/visitors/base.d.ts +21 -0
- package/dist/deparser/visitors/base.js +34 -0
- package/dist/esm/deparser/deparser.js +10001 -0
- package/dist/esm/deparser/index.js +13 -0
- package/dist/esm/deparser/utils/list-utils.js +26 -0
- package/dist/esm/deparser/utils/quote-utils.js +85 -0
- package/dist/esm/deparser/utils/sql-formatter.js +36 -0
- package/dist/esm/deparser/visitors/base.js +30 -0
- package/dist/esm/index.js +15 -0
- package/dist/esm/v14-to-v15.js +1220 -0
- package/dist/esm/v14-to-v17-direct.js +67 -0
- package/dist/esm/v15-to-v16.js +2881 -0
- package/dist/esm/v16-to-v17.js +1488 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +19 -0
- package/dist/package.json +42 -0
- package/dist/v14-to-v15.d.ts +616 -0
- package/dist/v14-to-v15.js +1224 -0
- package/dist/v14-to-v17-direct.d.ts +23 -0
- package/dist/v14-to-v17-direct.js +71 -0
- package/dist/v15-to-v16.d.ts +627 -0
- package/dist/v15-to-v16.js +2885 -0
- package/dist/v16-to-v17.d.ts +638 -0
- package/dist/v16-to-v17.js +1492 -0
- package/package.json +27 -75
- package/src/deparser/deparser.ts +10026 -0
- package/src/deparser/index.ts +14 -0
- package/src/deparser/utils/list-utils.ts +27 -0
- package/src/deparser/utils/quote-utils.ts +86 -0
- package/src/deparser/utils/sql-formatter.ts +37 -0
- package/src/deparser/visitors/base.ts +40 -0
- package/src/index.ts +27 -3
- package/src/v14-to-v15.ts +1621 -0
- package/src/v14-to-v17-direct.ts +68 -0
- package/src/v15-to-v16.ts +3290 -0
- package/src/v16-to-v17.ts +1897 -0
- package/tsconfig.esm.json +8 -0
- package/tsconfig.json +26 -0
- package/main/deparser.js +0 -3495
- package/main/index.js +0 -10
- package/main/utils/index.js +0 -97
- package/module/deparser.js +0 -3492
- package/module/index.js +0 -3
- package/module/utils/index.js +0 -90
- package/src/deparser.ts +0 -4234
- package/src/utils/index.ts +0 -92
- package/types/deparser.d.ts +0 -119
- package/types/index.d.ts +0 -3
- package/types/utils/index.d.ts +0 -4
- /package/{LICENSE → dist/LICENSE} +0 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Deparser for PostgreSQL version 14
|
|
3
|
+
* Auto-generated by generate-version-deparsers.ts
|
|
4
|
+
*/
|
|
5
|
+
import { Node, ParseResult } from '@pgsql/types';
|
|
6
|
+
import { DeparserOptions } from './deparser';
|
|
7
|
+
export declare function deparse(query: Node | Node[] | ParseResult, opts?: DeparserOptions): Promise<string>;
|
|
8
|
+
export declare function deparseSync(query: Node | Node[] | ParseResult, opts?: DeparserOptions): string;
|
|
9
|
+
export { DeparserOptions } from './deparser';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Deparser for PostgreSQL version 14
|
|
4
|
+
* Auto-generated by generate-version-deparsers.ts
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.deparse = deparse;
|
|
8
|
+
exports.deparseSync = deparseSync;
|
|
9
|
+
const deparser_1 = require("./deparser");
|
|
10
|
+
const v14_to_v17_direct_1 = require("./v14-to-v17-direct");
|
|
11
|
+
const tx = new v14_to_v17_direct_1.PG14ToPG17Transformer();
|
|
12
|
+
async function deparse(query, opts) {
|
|
13
|
+
const ast17 = tx.transform(query);
|
|
14
|
+
return await (0, deparser_1.deparse)(ast17, opts);
|
|
15
|
+
}
|
|
16
|
+
function deparseSync(query, opts) {
|
|
17
|
+
const ast17 = tx.transform(query);
|
|
18
|
+
return (0, deparser_1.deparseSync)(ast17, opts);
|
|
19
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
3
|
+
"homepage": "https://github.com/launchql/pgsql-parser",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"module": "esm/index.js",
|
|
7
|
+
"types": "index.d.ts",
|
|
8
|
+
"description": "PostgreSQL AST Deparser",
|
|
9
|
+
"scripts": {
|
|
10
|
+
"copy": "copyfiles -f ../../../../LICENSE README.md package.json dist",
|
|
11
|
+
"clean": "rimraf dist",
|
|
12
|
+
"prepare": "npm run build",
|
|
13
|
+
"build": "npm run clean && tsc && tsc -p tsconfig.esm.json && npm run copy",
|
|
14
|
+
"publish:pkg": "npm publish --tag pg14"
|
|
15
|
+
},
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public",
|
|
18
|
+
"directory": "dist"
|
|
19
|
+
},
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "https://github.com/launchql/pgsql-parser"
|
|
23
|
+
},
|
|
24
|
+
"bugs": {
|
|
25
|
+
"url": "https://github.com/launchql/pgsql-parser/issues"
|
|
26
|
+
},
|
|
27
|
+
"keywords": [
|
|
28
|
+
"sql",
|
|
29
|
+
"postgres",
|
|
30
|
+
"postgresql",
|
|
31
|
+
"pg",
|
|
32
|
+
"query",
|
|
33
|
+
"ast",
|
|
34
|
+
"deparser",
|
|
35
|
+
"database"
|
|
36
|
+
],
|
|
37
|
+
"name": "pgsql-deparser",
|
|
38
|
+
"version": "14.0.0",
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"@pgsql/types": "^14.1.1"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,616 @@
|
|
|
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
|
+
* V14 to V15 AST Transformer
|
|
7
|
+
* Transforms PostgreSQL v14 AST nodes to v15 format
|
|
8
|
+
*/
|
|
9
|
+
export declare class V14ToV15Transformer {
|
|
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
|
+
private transformGenericNode;
|
|
15
|
+
ParseResult(node: any, context: any): any;
|
|
16
|
+
RawStmt(node: any, context: any): {
|
|
17
|
+
RawStmt: any;
|
|
18
|
+
};
|
|
19
|
+
SelectStmt(node: any, context: any): {
|
|
20
|
+
SelectStmt: any;
|
|
21
|
+
};
|
|
22
|
+
A_Expr(node: any, context: any): {
|
|
23
|
+
A_Expr: any;
|
|
24
|
+
};
|
|
25
|
+
InsertStmt(node: any, context: any): {
|
|
26
|
+
InsertStmt: any;
|
|
27
|
+
};
|
|
28
|
+
UpdateStmt(node: any, context: any): {
|
|
29
|
+
UpdateStmt: any;
|
|
30
|
+
};
|
|
31
|
+
DeleteStmt(node: any, context: any): {
|
|
32
|
+
DeleteStmt: any;
|
|
33
|
+
};
|
|
34
|
+
WithClause(node: any, context: any): {
|
|
35
|
+
WithClause: any;
|
|
36
|
+
};
|
|
37
|
+
ResTarget(node: any, context: any): {
|
|
38
|
+
ResTarget: any;
|
|
39
|
+
};
|
|
40
|
+
BoolExpr(node: any, context: any): {
|
|
41
|
+
BoolExpr: any;
|
|
42
|
+
};
|
|
43
|
+
FuncCall(node: any, context: any): {
|
|
44
|
+
FuncCall: any;
|
|
45
|
+
};
|
|
46
|
+
FuncExpr(node: any, context: any): {
|
|
47
|
+
FuncExpr: any;
|
|
48
|
+
};
|
|
49
|
+
A_Const(node: any, context: any): {
|
|
50
|
+
A_Const: any;
|
|
51
|
+
};
|
|
52
|
+
ColumnRef(node: any, context: any): {
|
|
53
|
+
ColumnRef: any;
|
|
54
|
+
};
|
|
55
|
+
TypeName(node: any, context: any): {
|
|
56
|
+
TypeName: any;
|
|
57
|
+
};
|
|
58
|
+
Alias(node: any, context: any): {
|
|
59
|
+
Alias: any;
|
|
60
|
+
};
|
|
61
|
+
RangeVar(node: any, context: any): {
|
|
62
|
+
RangeVar: any;
|
|
63
|
+
};
|
|
64
|
+
A_ArrayExpr(node: any, context: any): {
|
|
65
|
+
A_ArrayExpr: any;
|
|
66
|
+
};
|
|
67
|
+
A_Indices(node: any, context: any): {
|
|
68
|
+
A_Indices: any;
|
|
69
|
+
};
|
|
70
|
+
A_Indirection(node: any, context: any): {
|
|
71
|
+
A_Indirection: any;
|
|
72
|
+
};
|
|
73
|
+
A_Star(node: any, context: any): {
|
|
74
|
+
A_Star: any;
|
|
75
|
+
};
|
|
76
|
+
CaseExpr(node: any, context: any): {
|
|
77
|
+
CaseExpr: any;
|
|
78
|
+
};
|
|
79
|
+
CoalesceExpr(node: any, context: any): {
|
|
80
|
+
CoalesceExpr: any;
|
|
81
|
+
};
|
|
82
|
+
TypeCast(node: any, context: any): {
|
|
83
|
+
TypeCast: any;
|
|
84
|
+
} | {
|
|
85
|
+
A_Const: any;
|
|
86
|
+
};
|
|
87
|
+
CollateClause(node: any, context: any): {
|
|
88
|
+
CollateClause: any;
|
|
89
|
+
};
|
|
90
|
+
BooleanTest(node: any, context: any): {
|
|
91
|
+
BooleanTest: any;
|
|
92
|
+
};
|
|
93
|
+
NullTest(node: any, context: any): {
|
|
94
|
+
NullTest: any;
|
|
95
|
+
};
|
|
96
|
+
String(node: any, context: any): {
|
|
97
|
+
String: any;
|
|
98
|
+
};
|
|
99
|
+
Integer(node: any, context: any): {
|
|
100
|
+
Integer: any;
|
|
101
|
+
} | {
|
|
102
|
+
Boolean: any;
|
|
103
|
+
};
|
|
104
|
+
Float(node: any, context: any): {
|
|
105
|
+
Float: any;
|
|
106
|
+
};
|
|
107
|
+
BitString(node: any, context: any): {
|
|
108
|
+
BitString: any;
|
|
109
|
+
};
|
|
110
|
+
Null(node: any, context: any): any;
|
|
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
|
+
CreateEnumStmt(node: any, context: any): {
|
|
256
|
+
CreateEnumStmt: any;
|
|
257
|
+
};
|
|
258
|
+
CreateDomainStmt(node: any, context: any): {
|
|
259
|
+
CreateDomainStmt: any;
|
|
260
|
+
};
|
|
261
|
+
CreateRoleStmt(node: any, context: any): {
|
|
262
|
+
CreateRoleStmt: any;
|
|
263
|
+
};
|
|
264
|
+
DefElem(node: any, context: any): {
|
|
265
|
+
DefElem: any;
|
|
266
|
+
};
|
|
267
|
+
CreateTableSpaceStmt(node: any, context: any): {
|
|
268
|
+
CreateTableSpaceStmt: any;
|
|
269
|
+
};
|
|
270
|
+
DropTableSpaceStmt(node: any, context: any): {
|
|
271
|
+
DropTableSpaceStmt: any;
|
|
272
|
+
};
|
|
273
|
+
AlterTableSpaceOptionsStmt(node: any, context: any): {
|
|
274
|
+
AlterTableSpaceOptionsStmt: any;
|
|
275
|
+
};
|
|
276
|
+
CreateExtensionStmt(node: any, context: any): {
|
|
277
|
+
CreateExtensionStmt: any;
|
|
278
|
+
};
|
|
279
|
+
AlterExtensionStmt(node: any, context: any): {
|
|
280
|
+
AlterExtensionStmt: any;
|
|
281
|
+
};
|
|
282
|
+
CreateFdwStmt(node: any, context: any): {
|
|
283
|
+
CreateFdwStmt: any;
|
|
284
|
+
};
|
|
285
|
+
SetOperationStmt(node: any, context: any): {
|
|
286
|
+
SetOperationStmt: any;
|
|
287
|
+
};
|
|
288
|
+
ReplicaIdentityStmt(node: any, context: any): {
|
|
289
|
+
ReplicaIdentityStmt: any;
|
|
290
|
+
};
|
|
291
|
+
AlterCollationStmt(node: any, context: any): {
|
|
292
|
+
AlterCollationStmt: any;
|
|
293
|
+
};
|
|
294
|
+
AlterDomainStmt(node: any, context: any): {
|
|
295
|
+
AlterDomainStmt: any;
|
|
296
|
+
};
|
|
297
|
+
PrepareStmt(node: any, context: any): {
|
|
298
|
+
PrepareStmt: any;
|
|
299
|
+
};
|
|
300
|
+
ExecuteStmt(node: any, context: any): {
|
|
301
|
+
ExecuteStmt: any;
|
|
302
|
+
};
|
|
303
|
+
DeallocateStmt(node: any, context: any): {
|
|
304
|
+
DeallocateStmt: any;
|
|
305
|
+
};
|
|
306
|
+
NotifyStmt(node: any, context: any): {
|
|
307
|
+
NotifyStmt: any;
|
|
308
|
+
};
|
|
309
|
+
ListenStmt(node: any, context: any): {
|
|
310
|
+
ListenStmt: any;
|
|
311
|
+
};
|
|
312
|
+
UnlistenStmt(node: any, context: any): {
|
|
313
|
+
UnlistenStmt: any;
|
|
314
|
+
};
|
|
315
|
+
CheckPointStmt(node: any, context: any): {
|
|
316
|
+
CheckPointStmt: any;
|
|
317
|
+
};
|
|
318
|
+
LoadStmt(node: any, context: any): {
|
|
319
|
+
LoadStmt: any;
|
|
320
|
+
};
|
|
321
|
+
DiscardStmt(node: any, context: any): {
|
|
322
|
+
DiscardStmt: any;
|
|
323
|
+
};
|
|
324
|
+
CommentStmt(node: any, context: any): {
|
|
325
|
+
CommentStmt: any;
|
|
326
|
+
};
|
|
327
|
+
LockStmt(node: any, context: any): {
|
|
328
|
+
LockStmt: any;
|
|
329
|
+
};
|
|
330
|
+
CreatePolicyStmt(node: any, context: any): {
|
|
331
|
+
CreatePolicyStmt: any;
|
|
332
|
+
};
|
|
333
|
+
AlterPolicyStmt(node: any, context: any): {
|
|
334
|
+
AlterPolicyStmt: any;
|
|
335
|
+
};
|
|
336
|
+
CreateUserMappingStmt(node: any, context: any): {
|
|
337
|
+
CreateUserMappingStmt: any;
|
|
338
|
+
};
|
|
339
|
+
CreateStatsStmt(node: any, context: any): {
|
|
340
|
+
CreateStatsStmt: any;
|
|
341
|
+
};
|
|
342
|
+
StatsElem(node: any, context: any): {
|
|
343
|
+
StatsElem: any;
|
|
344
|
+
};
|
|
345
|
+
CreatePublicationStmt(node: any, context: any): {
|
|
346
|
+
CreatePublicationStmt: any;
|
|
347
|
+
};
|
|
348
|
+
CreateSubscriptionStmt(node: any, context: any): {
|
|
349
|
+
CreateSubscriptionStmt: any;
|
|
350
|
+
};
|
|
351
|
+
AlterPublicationStmt(node: any, context: any): {
|
|
352
|
+
AlterPublicationStmt: any;
|
|
353
|
+
};
|
|
354
|
+
AlterSubscriptionStmt(node: any, context: any): {
|
|
355
|
+
AlterSubscriptionStmt: any;
|
|
356
|
+
};
|
|
357
|
+
DropSubscriptionStmt(node: any, context: any): {
|
|
358
|
+
DropSubscriptionStmt: any;
|
|
359
|
+
};
|
|
360
|
+
DoStmt(node: any, context: any): {
|
|
361
|
+
DoStmt: any;
|
|
362
|
+
};
|
|
363
|
+
InlineCodeBlock(node: any, context: any): {
|
|
364
|
+
InlineCodeBlock: any;
|
|
365
|
+
};
|
|
366
|
+
CallContext(node: any, context: any): {
|
|
367
|
+
CallContext: any;
|
|
368
|
+
};
|
|
369
|
+
ConstraintsSetStmt(node: any, context: any): {
|
|
370
|
+
ConstraintsSetStmt: any;
|
|
371
|
+
};
|
|
372
|
+
AlterSystemStmt(node: any, context: any): {
|
|
373
|
+
AlterSystemStmt: any;
|
|
374
|
+
};
|
|
375
|
+
VacuumRelation(node: any, context: any): {
|
|
376
|
+
VacuumRelation: any;
|
|
377
|
+
};
|
|
378
|
+
DropOwnedStmt(node: any, context: any): {
|
|
379
|
+
DropOwnedStmt: any;
|
|
380
|
+
};
|
|
381
|
+
ReassignOwnedStmt(node: any, context: any): {
|
|
382
|
+
ReassignOwnedStmt: any;
|
|
383
|
+
};
|
|
384
|
+
AlterTSDictionaryStmt(node: any, context: any): {
|
|
385
|
+
AlterTSDictionaryStmt: any;
|
|
386
|
+
};
|
|
387
|
+
AlterTSConfigurationStmt(node: any, context: any): {
|
|
388
|
+
AlterTSConfigurationStmt: any;
|
|
389
|
+
};
|
|
390
|
+
ClosePortalStmt(node: any, context: any): {
|
|
391
|
+
ClosePortalStmt: any;
|
|
392
|
+
};
|
|
393
|
+
FetchStmt(node: any, context: any): {
|
|
394
|
+
FetchStmt: any;
|
|
395
|
+
};
|
|
396
|
+
AlterStatsStmt(node: any, context: any): {
|
|
397
|
+
AlterStatsStmt: any;
|
|
398
|
+
};
|
|
399
|
+
ObjectWithArgs(node: any, context: any): {
|
|
400
|
+
ObjectWithArgs: any;
|
|
401
|
+
};
|
|
402
|
+
AlterOperatorStmt(node: any, context: any): {
|
|
403
|
+
AlterOperatorStmt: any;
|
|
404
|
+
};
|
|
405
|
+
AlterFdwStmt(node: any, context: any): {
|
|
406
|
+
AlterFdwStmt: any;
|
|
407
|
+
};
|
|
408
|
+
CreateForeignServerStmt(node: any, context: any): {
|
|
409
|
+
CreateForeignServerStmt: any;
|
|
410
|
+
};
|
|
411
|
+
AlterForeignServerStmt(node: any, context: any): {
|
|
412
|
+
AlterForeignServerStmt: any;
|
|
413
|
+
};
|
|
414
|
+
AlterUserMappingStmt(node: any, context: any): {
|
|
415
|
+
AlterUserMappingStmt: any;
|
|
416
|
+
};
|
|
417
|
+
DropUserMappingStmt(node: any, context: any): {
|
|
418
|
+
DropUserMappingStmt: any;
|
|
419
|
+
};
|
|
420
|
+
ImportForeignSchemaStmt(node: any, context: any): {
|
|
421
|
+
ImportForeignSchemaStmt: any;
|
|
422
|
+
};
|
|
423
|
+
ClusterStmt(node: any, context: any): {
|
|
424
|
+
ClusterStmt: any;
|
|
425
|
+
};
|
|
426
|
+
VacuumStmt(node: any, context: any): {
|
|
427
|
+
VacuumStmt: any;
|
|
428
|
+
};
|
|
429
|
+
ExplainStmt(node: any, context: any): {
|
|
430
|
+
ExplainStmt: any;
|
|
431
|
+
};
|
|
432
|
+
ReindexStmt(node: any, context: any): {
|
|
433
|
+
ReindexStmt: any;
|
|
434
|
+
};
|
|
435
|
+
CallStmt(node: any, context: any): {
|
|
436
|
+
CallStmt: any;
|
|
437
|
+
};
|
|
438
|
+
CreatedbStmt(node: any, context: any): {
|
|
439
|
+
CreatedbStmt: any;
|
|
440
|
+
};
|
|
441
|
+
DropdbStmt(node: any, context: any): {
|
|
442
|
+
DropdbStmt: any;
|
|
443
|
+
};
|
|
444
|
+
RenameStmt(node: any, context: any): {
|
|
445
|
+
RenameStmt: any;
|
|
446
|
+
};
|
|
447
|
+
AlterOwnerStmt(node: any, context: any): {
|
|
448
|
+
AlterOwnerStmt: any;
|
|
449
|
+
};
|
|
450
|
+
GrantStmt(node: any, context: any): {
|
|
451
|
+
GrantStmt: any;
|
|
452
|
+
};
|
|
453
|
+
GrantRoleStmt(node: any, context: any): {
|
|
454
|
+
GrantRoleStmt: any;
|
|
455
|
+
};
|
|
456
|
+
SecLabelStmt(node: any, context: any): {
|
|
457
|
+
SecLabelStmt: any;
|
|
458
|
+
};
|
|
459
|
+
AlterDefaultPrivilegesStmt(node: any, context: any): {
|
|
460
|
+
AlterDefaultPrivilegesStmt: any;
|
|
461
|
+
};
|
|
462
|
+
CreateConversionStmt(node: any, context: any): {
|
|
463
|
+
CreateConversionStmt: any;
|
|
464
|
+
};
|
|
465
|
+
CreateCastStmt(node: any, context: any): {
|
|
466
|
+
CreateCastStmt: any;
|
|
467
|
+
};
|
|
468
|
+
CreatePLangStmt(node: any, context: any): {
|
|
469
|
+
CreatePLangStmt: any;
|
|
470
|
+
};
|
|
471
|
+
CreateTransformStmt(node: any, context: any): {
|
|
472
|
+
CreateTransformStmt: any;
|
|
473
|
+
};
|
|
474
|
+
CreateTrigStmt(node: any, context: any): {
|
|
475
|
+
CreateTrigStmt: any;
|
|
476
|
+
};
|
|
477
|
+
TriggerTransition(node: any, context: any): {
|
|
478
|
+
TriggerTransition: any;
|
|
479
|
+
};
|
|
480
|
+
CreateEventTrigStmt(node: any, context: any): {
|
|
481
|
+
CreateEventTrigStmt: any;
|
|
482
|
+
};
|
|
483
|
+
AlterEventTrigStmt(node: any, context: any): {
|
|
484
|
+
AlterEventTrigStmt: any;
|
|
485
|
+
};
|
|
486
|
+
CreateOpClassStmt(node: any, context: any): {
|
|
487
|
+
CreateOpClassStmt: any;
|
|
488
|
+
};
|
|
489
|
+
CreateOpFamilyStmt(node: any, context: any): {
|
|
490
|
+
CreateOpFamilyStmt: any;
|
|
491
|
+
};
|
|
492
|
+
AlterOpFamilyStmt(node: any, context: any): {
|
|
493
|
+
AlterOpFamilyStmt: any;
|
|
494
|
+
};
|
|
495
|
+
AlterTableMoveAllStmt(node: any, context: any): {
|
|
496
|
+
AlterTableMoveAllStmt: any;
|
|
497
|
+
};
|
|
498
|
+
CreateSeqStmt(node: any, context: any): {
|
|
499
|
+
CreateSeqStmt: any;
|
|
500
|
+
};
|
|
501
|
+
AlterSeqStmt(node: any, context: any): {
|
|
502
|
+
AlterSeqStmt: any;
|
|
503
|
+
};
|
|
504
|
+
CreateRangeStmt(node: any, context: any): {
|
|
505
|
+
CreateRangeStmt: any;
|
|
506
|
+
};
|
|
507
|
+
AlterEnumStmt(node: any, context: any): {
|
|
508
|
+
AlterEnumStmt: any;
|
|
509
|
+
};
|
|
510
|
+
AlterTypeStmt(node: any, context: any): {
|
|
511
|
+
AlterTypeStmt: any;
|
|
512
|
+
};
|
|
513
|
+
AlterRoleStmt(node: any, context: any): {
|
|
514
|
+
AlterRoleStmt: any;
|
|
515
|
+
};
|
|
516
|
+
DropRoleStmt(node: any, context: any): {
|
|
517
|
+
DropRoleStmt: any;
|
|
518
|
+
};
|
|
519
|
+
CreateTableAsStmt(node: any, context: any): {
|
|
520
|
+
CreateTableAsStmt: any;
|
|
521
|
+
};
|
|
522
|
+
RefreshMatViewStmt(node: any, context: any): {
|
|
523
|
+
RefreshMatViewStmt: any;
|
|
524
|
+
};
|
|
525
|
+
AccessPriv(node: any, context: any): {
|
|
526
|
+
AccessPriv: any;
|
|
527
|
+
};
|
|
528
|
+
DefineStmt(node: any, context: any): {
|
|
529
|
+
DefineStmt: any;
|
|
530
|
+
};
|
|
531
|
+
AlterDatabaseStmt(node: any, context: any): {
|
|
532
|
+
AlterDatabaseStmt: any;
|
|
533
|
+
};
|
|
534
|
+
AlterDatabaseSetStmt(node: any, context: any): {
|
|
535
|
+
AlterDatabaseSetStmt: any;
|
|
536
|
+
};
|
|
537
|
+
DeclareCursorStmt(node: any, context: any): {
|
|
538
|
+
DeclareCursorStmt: any;
|
|
539
|
+
};
|
|
540
|
+
CreateAmStmt(node: any, context: any): {
|
|
541
|
+
CreateAmStmt: any;
|
|
542
|
+
};
|
|
543
|
+
IntoClause(node: any, context: any): {
|
|
544
|
+
IntoClause: any;
|
|
545
|
+
};
|
|
546
|
+
OnConflictExpr(node: any, context: any): {
|
|
547
|
+
OnConflictExpr: any;
|
|
548
|
+
};
|
|
549
|
+
ScanToken(node: any, context: any): {
|
|
550
|
+
ScanToken: any;
|
|
551
|
+
};
|
|
552
|
+
CreateOpClassItem(node: any, context: any): {
|
|
553
|
+
CreateOpClassItem: any;
|
|
554
|
+
};
|
|
555
|
+
Var(node: any, context: any): {
|
|
556
|
+
Var: any;
|
|
557
|
+
};
|
|
558
|
+
TableFunc(node: any, context: any): {
|
|
559
|
+
TableFunc: any;
|
|
560
|
+
};
|
|
561
|
+
RangeTableFunc(node: any, context: any): {
|
|
562
|
+
RangeTableFunc: any;
|
|
563
|
+
};
|
|
564
|
+
RangeTableFuncCol(node: any, context: any): {
|
|
565
|
+
RangeTableFuncCol: any;
|
|
566
|
+
};
|
|
567
|
+
RangeFunction(node: any, context: any): {
|
|
568
|
+
RangeFunction: any;
|
|
569
|
+
};
|
|
570
|
+
XmlExpr(node: any, context: any): {
|
|
571
|
+
XmlExpr: any;
|
|
572
|
+
};
|
|
573
|
+
RangeTableSample(node: any, context: any): {
|
|
574
|
+
RangeTableSample: any;
|
|
575
|
+
};
|
|
576
|
+
XmlSerialize(node: any, context: any): {
|
|
577
|
+
XmlSerialize: any;
|
|
578
|
+
};
|
|
579
|
+
RuleStmt(node: any, context: any): {
|
|
580
|
+
RuleStmt: any;
|
|
581
|
+
};
|
|
582
|
+
RangeSubselect(node: any, context: any): {
|
|
583
|
+
RangeSubselect: any;
|
|
584
|
+
};
|
|
585
|
+
SQLValueFunction(node: any, context: any): {
|
|
586
|
+
SQLValueFunction: any;
|
|
587
|
+
};
|
|
588
|
+
GroupingFunc(node: any, context: any): {
|
|
589
|
+
GroupingFunc: any;
|
|
590
|
+
};
|
|
591
|
+
MultiAssignRef(node: any, context: any): {
|
|
592
|
+
MultiAssignRef: any;
|
|
593
|
+
};
|
|
594
|
+
SetToDefault(node: any, context: any): {
|
|
595
|
+
SetToDefault: any;
|
|
596
|
+
};
|
|
597
|
+
CurrentOfExpr(node: any, context: any): {
|
|
598
|
+
CurrentOfExpr: any;
|
|
599
|
+
};
|
|
600
|
+
TableLikeClause(node: any, context: any): {
|
|
601
|
+
TableLikeClause: any;
|
|
602
|
+
};
|
|
603
|
+
AlterFunctionStmt(node: any, context: any): {
|
|
604
|
+
AlterFunctionStmt: any;
|
|
605
|
+
};
|
|
606
|
+
AlterObjectSchemaStmt(node: any, context: any): {
|
|
607
|
+
AlterObjectSchemaStmt: any;
|
|
608
|
+
};
|
|
609
|
+
AlterRoleSetStmt(node: any, context: any): {
|
|
610
|
+
AlterRoleSetStmt: any;
|
|
611
|
+
};
|
|
612
|
+
CreateForeignTableStmt(node: any, context: any): {
|
|
613
|
+
CreateForeignTableStmt: any;
|
|
614
|
+
};
|
|
615
|
+
CreateAccessMethodStmt(node: any, context: any): any;
|
|
616
|
+
}
|