@pgsql/utils 17.8.18 → 18.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/asts.d.ts +6 -3
- package/asts.js +66 -16
- package/esm/asts.js +66 -16
- package/esm/runtime-schema.js +275 -28
- package/esm/wrapped.js +76 -20
- package/index.d.ts +20 -8
- package/package.json +4 -4
- package/runtime-schema.js +275 -28
- package/wrapped.d.ts +16 -7
- package/wrapped.js +76 -20
package/runtime-schema.js
CHANGED
|
@@ -12,6 +12,18 @@ exports.runtimeSchema = [
|
|
|
12
12
|
isArray: true,
|
|
13
13
|
optional: true
|
|
14
14
|
},
|
|
15
|
+
{
|
|
16
|
+
name: 'list_end',
|
|
17
|
+
type: 'int32',
|
|
18
|
+
isArray: false,
|
|
19
|
+
optional: true
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
name: 'list_start',
|
|
23
|
+
type: 'int32',
|
|
24
|
+
isArray: false,
|
|
25
|
+
optional: true
|
|
26
|
+
},
|
|
15
27
|
{
|
|
16
28
|
name: 'location',
|
|
17
29
|
type: 'int32',
|
|
@@ -101,6 +113,18 @@ exports.runtimeSchema = [
|
|
|
101
113
|
type: 'Node',
|
|
102
114
|
isArray: false,
|
|
103
115
|
optional: true
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
name: 'rexpr_list_end',
|
|
119
|
+
type: 'int32',
|
|
120
|
+
isArray: false,
|
|
121
|
+
optional: true
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
name: 'rexpr_list_start',
|
|
125
|
+
type: 'int32',
|
|
126
|
+
isArray: false,
|
|
127
|
+
optional: true
|
|
104
128
|
}
|
|
105
129
|
]
|
|
106
130
|
},
|
|
@@ -1337,6 +1361,18 @@ exports.runtimeSchema = [
|
|
|
1337
1361
|
isArray: true,
|
|
1338
1362
|
optional: true
|
|
1339
1363
|
},
|
|
1364
|
+
{
|
|
1365
|
+
name: 'list_end',
|
|
1366
|
+
type: 'int32',
|
|
1367
|
+
isArray: false,
|
|
1368
|
+
optional: true
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
name: 'list_start',
|
|
1372
|
+
type: 'int32',
|
|
1373
|
+
isArray: false,
|
|
1374
|
+
optional: true
|
|
1375
|
+
},
|
|
1340
1376
|
{
|
|
1341
1377
|
name: 'location',
|
|
1342
1378
|
type: 'int32',
|
|
@@ -1357,6 +1393,60 @@ exports.runtimeSchema = [
|
|
|
1357
1393
|
}
|
|
1358
1394
|
]
|
|
1359
1395
|
},
|
|
1396
|
+
{
|
|
1397
|
+
name: 'ATAlterConstraint',
|
|
1398
|
+
isNode: true,
|
|
1399
|
+
fields: [
|
|
1400
|
+
{
|
|
1401
|
+
name: 'alterDeferrability',
|
|
1402
|
+
type: 'bool',
|
|
1403
|
+
isArray: false,
|
|
1404
|
+
optional: true
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
name: 'alterEnforceability',
|
|
1408
|
+
type: 'bool',
|
|
1409
|
+
isArray: false,
|
|
1410
|
+
optional: true
|
|
1411
|
+
},
|
|
1412
|
+
{
|
|
1413
|
+
name: 'alterInheritability',
|
|
1414
|
+
type: 'bool',
|
|
1415
|
+
isArray: false,
|
|
1416
|
+
optional: true
|
|
1417
|
+
},
|
|
1418
|
+
{
|
|
1419
|
+
name: 'conname',
|
|
1420
|
+
type: 'string',
|
|
1421
|
+
isArray: false,
|
|
1422
|
+
optional: true
|
|
1423
|
+
},
|
|
1424
|
+
{
|
|
1425
|
+
name: 'deferrable',
|
|
1426
|
+
type: 'bool',
|
|
1427
|
+
isArray: false,
|
|
1428
|
+
optional: true
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
name: 'initdeferred',
|
|
1432
|
+
type: 'bool',
|
|
1433
|
+
isArray: false,
|
|
1434
|
+
optional: true
|
|
1435
|
+
},
|
|
1436
|
+
{
|
|
1437
|
+
name: 'is_enforced',
|
|
1438
|
+
type: 'bool',
|
|
1439
|
+
isArray: false,
|
|
1440
|
+
optional: true
|
|
1441
|
+
},
|
|
1442
|
+
{
|
|
1443
|
+
name: 'noinherit',
|
|
1444
|
+
type: 'bool',
|
|
1445
|
+
isArray: false,
|
|
1446
|
+
optional: true
|
|
1447
|
+
}
|
|
1448
|
+
]
|
|
1449
|
+
},
|
|
1360
1450
|
{
|
|
1361
1451
|
name: 'BitString',
|
|
1362
1452
|
isNode: true,
|
|
@@ -2176,6 +2266,18 @@ exports.runtimeSchema = [
|
|
|
2176
2266
|
isArray: false,
|
|
2177
2267
|
optional: true
|
|
2178
2268
|
},
|
|
2269
|
+
{
|
|
2270
|
+
name: 'fk_with_period',
|
|
2271
|
+
type: 'bool',
|
|
2272
|
+
isArray: false,
|
|
2273
|
+
optional: true
|
|
2274
|
+
},
|
|
2275
|
+
{
|
|
2276
|
+
name: 'generated_kind',
|
|
2277
|
+
type: 'string',
|
|
2278
|
+
isArray: false,
|
|
2279
|
+
optional: true
|
|
2280
|
+
},
|
|
2179
2281
|
{
|
|
2180
2282
|
name: 'generated_when',
|
|
2181
2283
|
type: 'string',
|
|
@@ -2201,19 +2303,19 @@ exports.runtimeSchema = [
|
|
|
2201
2303
|
optional: true
|
|
2202
2304
|
},
|
|
2203
2305
|
{
|
|
2204
|
-
name: '
|
|
2205
|
-
type: '
|
|
2306
|
+
name: 'initdeferred',
|
|
2307
|
+
type: 'bool',
|
|
2206
2308
|
isArray: false,
|
|
2207
2309
|
optional: true
|
|
2208
2310
|
},
|
|
2209
2311
|
{
|
|
2210
|
-
name: '
|
|
2312
|
+
name: 'initially_valid',
|
|
2211
2313
|
type: 'bool',
|
|
2212
2314
|
isArray: false,
|
|
2213
2315
|
optional: true
|
|
2214
2316
|
},
|
|
2215
2317
|
{
|
|
2216
|
-
name: '
|
|
2318
|
+
name: 'is_enforced',
|
|
2217
2319
|
type: 'bool',
|
|
2218
2320
|
isArray: false,
|
|
2219
2321
|
optional: true
|
|
@@ -2266,6 +2368,12 @@ exports.runtimeSchema = [
|
|
|
2266
2368
|
isArray: true,
|
|
2267
2369
|
optional: true
|
|
2268
2370
|
},
|
|
2371
|
+
{
|
|
2372
|
+
name: 'pk_with_period',
|
|
2373
|
+
type: 'bool',
|
|
2374
|
+
isArray: false,
|
|
2375
|
+
optional: true
|
|
2376
|
+
},
|
|
2269
2377
|
{
|
|
2270
2378
|
name: 'pktable',
|
|
2271
2379
|
type: 'RangeVar',
|
|
@@ -2295,6 +2403,12 @@ exports.runtimeSchema = [
|
|
|
2295
2403
|
type: 'Node',
|
|
2296
2404
|
isArray: false,
|
|
2297
2405
|
optional: true
|
|
2406
|
+
},
|
|
2407
|
+
{
|
|
2408
|
+
name: 'without_overlaps',
|
|
2409
|
+
type: 'bool',
|
|
2410
|
+
isArray: false,
|
|
2411
|
+
optional: true
|
|
2298
2412
|
}
|
|
2299
2413
|
]
|
|
2300
2414
|
},
|
|
@@ -3166,6 +3280,12 @@ exports.runtimeSchema = [
|
|
|
3166
3280
|
isArray: true,
|
|
3167
3281
|
optional: true
|
|
3168
3282
|
},
|
|
3283
|
+
{
|
|
3284
|
+
name: 'nnconstraints',
|
|
3285
|
+
type: 'Node',
|
|
3286
|
+
isArray: true,
|
|
3287
|
+
optional: true
|
|
3288
|
+
},
|
|
3169
3289
|
{
|
|
3170
3290
|
name: 'ofTypename',
|
|
3171
3291
|
type: 'TypeName',
|
|
@@ -3743,9 +3863,9 @@ exports.runtimeSchema = [
|
|
|
3743
3863
|
optional: true
|
|
3744
3864
|
},
|
|
3745
3865
|
{
|
|
3746
|
-
name: '
|
|
3747
|
-
type: '
|
|
3748
|
-
isArray:
|
|
3866
|
+
name: 'returningClause',
|
|
3867
|
+
type: 'ReturningClause',
|
|
3868
|
+
isArray: false,
|
|
3749
3869
|
optional: true
|
|
3750
3870
|
},
|
|
3751
3871
|
{
|
|
@@ -4336,6 +4456,12 @@ exports.runtimeSchema = [
|
|
|
4336
4456
|
isArray: false,
|
|
4337
4457
|
optional: true
|
|
4338
4458
|
},
|
|
4459
|
+
{
|
|
4460
|
+
name: 'location',
|
|
4461
|
+
type: 'int32',
|
|
4462
|
+
isArray: false,
|
|
4463
|
+
optional: true
|
|
4464
|
+
},
|
|
4339
4465
|
{
|
|
4340
4466
|
name: 'mode',
|
|
4341
4467
|
type: 'FunctionParameterMode',
|
|
@@ -4684,6 +4810,12 @@ exports.runtimeSchema = [
|
|
|
4684
4810
|
isArray: false,
|
|
4685
4811
|
optional: true
|
|
4686
4812
|
},
|
|
4813
|
+
{
|
|
4814
|
+
name: 'iswithoutoverlaps',
|
|
4815
|
+
type: 'bool',
|
|
4816
|
+
isArray: false,
|
|
4817
|
+
optional: true
|
|
4818
|
+
},
|
|
4687
4819
|
{
|
|
4688
4820
|
name: 'nulls_not_distinct',
|
|
4689
4821
|
type: 'bool',
|
|
@@ -4877,9 +5009,9 @@ exports.runtimeSchema = [
|
|
|
4877
5009
|
optional: true
|
|
4878
5010
|
},
|
|
4879
5011
|
{
|
|
4880
|
-
name: '
|
|
4881
|
-
type: '
|
|
4882
|
-
isArray:
|
|
5012
|
+
name: 'returningClause',
|
|
5013
|
+
type: 'ReturningClause',
|
|
5014
|
+
isArray: false,
|
|
4883
5015
|
optional: true
|
|
4884
5016
|
},
|
|
4885
5017
|
{
|
|
@@ -4968,7 +5100,7 @@ exports.runtimeSchema = [
|
|
|
4968
5100
|
},
|
|
4969
5101
|
{
|
|
4970
5102
|
name: 'viewQuery',
|
|
4971
|
-
type: '
|
|
5103
|
+
type: 'Query',
|
|
4972
5104
|
isArray: false,
|
|
4973
5105
|
optional: true
|
|
4974
5106
|
}
|
|
@@ -6119,9 +6251,9 @@ exports.runtimeSchema = [
|
|
|
6119
6251
|
optional: true
|
|
6120
6252
|
},
|
|
6121
6253
|
{
|
|
6122
|
-
name: '
|
|
6123
|
-
type: '
|
|
6124
|
-
isArray:
|
|
6254
|
+
name: 'returningClause',
|
|
6255
|
+
type: 'ReturningClause',
|
|
6256
|
+
isArray: false,
|
|
6125
6257
|
optional: true
|
|
6126
6258
|
},
|
|
6127
6259
|
{
|
|
@@ -7066,6 +7198,12 @@ exports.runtimeSchema = [
|
|
|
7066
7198
|
isArray: false,
|
|
7067
7199
|
optional: true
|
|
7068
7200
|
},
|
|
7201
|
+
{
|
|
7202
|
+
name: 'hasGroupRTE',
|
|
7203
|
+
type: 'bool',
|
|
7204
|
+
isArray: false,
|
|
7205
|
+
optional: true
|
|
7206
|
+
},
|
|
7069
7207
|
{
|
|
7070
7208
|
name: 'hasModifyingCTE',
|
|
7071
7209
|
type: 'bool',
|
|
@@ -7186,6 +7324,18 @@ exports.runtimeSchema = [
|
|
|
7186
7324
|
isArray: true,
|
|
7187
7325
|
optional: true
|
|
7188
7326
|
},
|
|
7327
|
+
{
|
|
7328
|
+
name: 'returningNewAlias',
|
|
7329
|
+
type: 'string',
|
|
7330
|
+
isArray: false,
|
|
7331
|
+
optional: true
|
|
7332
|
+
},
|
|
7333
|
+
{
|
|
7334
|
+
name: 'returningOldAlias',
|
|
7335
|
+
type: 'string',
|
|
7336
|
+
isArray: false,
|
|
7337
|
+
optional: true
|
|
7338
|
+
},
|
|
7189
7339
|
{
|
|
7190
7340
|
name: 'rowMarks',
|
|
7191
7341
|
type: 'Node',
|
|
@@ -7522,6 +7672,12 @@ exports.runtimeSchema = [
|
|
|
7522
7672
|
isArray: true,
|
|
7523
7673
|
optional: true
|
|
7524
7674
|
},
|
|
7675
|
+
{
|
|
7676
|
+
name: 'groupexprs',
|
|
7677
|
+
type: 'Node',
|
|
7678
|
+
isArray: true,
|
|
7679
|
+
optional: true
|
|
7680
|
+
},
|
|
7525
7681
|
{
|
|
7526
7682
|
name: 'inFromCl',
|
|
7527
7683
|
type: 'bool',
|
|
@@ -8004,6 +8160,78 @@ exports.runtimeSchema = [
|
|
|
8004
8160
|
}
|
|
8005
8161
|
]
|
|
8006
8162
|
},
|
|
8163
|
+
{
|
|
8164
|
+
name: 'ReturningClause',
|
|
8165
|
+
isNode: true,
|
|
8166
|
+
fields: [
|
|
8167
|
+
{
|
|
8168
|
+
name: 'exprs',
|
|
8169
|
+
type: 'Node',
|
|
8170
|
+
isArray: true,
|
|
8171
|
+
optional: true
|
|
8172
|
+
},
|
|
8173
|
+
{
|
|
8174
|
+
name: 'options',
|
|
8175
|
+
type: 'Node',
|
|
8176
|
+
isArray: true,
|
|
8177
|
+
optional: true
|
|
8178
|
+
}
|
|
8179
|
+
]
|
|
8180
|
+
},
|
|
8181
|
+
{
|
|
8182
|
+
name: 'ReturningExpr',
|
|
8183
|
+
isNode: true,
|
|
8184
|
+
fields: [
|
|
8185
|
+
{
|
|
8186
|
+
name: 'retexpr',
|
|
8187
|
+
type: 'Node',
|
|
8188
|
+
isArray: false,
|
|
8189
|
+
optional: true
|
|
8190
|
+
},
|
|
8191
|
+
{
|
|
8192
|
+
name: 'retlevelsup',
|
|
8193
|
+
type: 'int32',
|
|
8194
|
+
isArray: false,
|
|
8195
|
+
optional: true
|
|
8196
|
+
},
|
|
8197
|
+
{
|
|
8198
|
+
name: 'retold',
|
|
8199
|
+
type: 'bool',
|
|
8200
|
+
isArray: false,
|
|
8201
|
+
optional: true
|
|
8202
|
+
},
|
|
8203
|
+
{
|
|
8204
|
+
name: 'xpr',
|
|
8205
|
+
type: 'Node',
|
|
8206
|
+
isArray: false,
|
|
8207
|
+
optional: true
|
|
8208
|
+
}
|
|
8209
|
+
]
|
|
8210
|
+
},
|
|
8211
|
+
{
|
|
8212
|
+
name: 'ReturningOption',
|
|
8213
|
+
isNode: true,
|
|
8214
|
+
fields: [
|
|
8215
|
+
{
|
|
8216
|
+
name: 'location',
|
|
8217
|
+
type: 'int32',
|
|
8218
|
+
isArray: false,
|
|
8219
|
+
optional: true
|
|
8220
|
+
},
|
|
8221
|
+
{
|
|
8222
|
+
name: 'option',
|
|
8223
|
+
type: 'ReturningOptionKind',
|
|
8224
|
+
isArray: false,
|
|
8225
|
+
optional: true
|
|
8226
|
+
},
|
|
8227
|
+
{
|
|
8228
|
+
name: 'value',
|
|
8229
|
+
type: 'string',
|
|
8230
|
+
isArray: false,
|
|
8231
|
+
optional: true
|
|
8232
|
+
}
|
|
8233
|
+
]
|
|
8234
|
+
},
|
|
8007
8235
|
{
|
|
8008
8236
|
name: 'ReturnStmt',
|
|
8009
8237
|
isNode: true,
|
|
@@ -8044,6 +8272,12 @@ exports.runtimeSchema = [
|
|
|
8044
8272
|
name: 'RowCompareExpr',
|
|
8045
8273
|
isNode: true,
|
|
8046
8274
|
fields: [
|
|
8275
|
+
{
|
|
8276
|
+
name: 'cmptype',
|
|
8277
|
+
type: 'CompareType',
|
|
8278
|
+
isArray: false,
|
|
8279
|
+
optional: true
|
|
8280
|
+
},
|
|
8047
8281
|
{
|
|
8048
8282
|
name: 'inputcollids',
|
|
8049
8283
|
type: 'Node',
|
|
@@ -8074,12 +8308,6 @@ exports.runtimeSchema = [
|
|
|
8074
8308
|
isArray: true,
|
|
8075
8309
|
optional: true
|
|
8076
8310
|
},
|
|
8077
|
-
{
|
|
8078
|
-
name: 'rctype',
|
|
8079
|
-
type: 'RowCompareType',
|
|
8080
|
-
isArray: false,
|
|
8081
|
-
optional: true
|
|
8082
|
-
},
|
|
8083
8311
|
{
|
|
8084
8312
|
name: 'xpr',
|
|
8085
8313
|
type: 'Node',
|
|
@@ -8592,11 +8820,6 @@ exports.runtimeSchema = [
|
|
|
8592
8820
|
}
|
|
8593
8821
|
]
|
|
8594
8822
|
},
|
|
8595
|
-
{
|
|
8596
|
-
name: 'SinglePartitionSpec',
|
|
8597
|
-
isNode: true,
|
|
8598
|
-
fields: []
|
|
8599
|
-
},
|
|
8600
8823
|
{
|
|
8601
8824
|
name: 'SortBy',
|
|
8602
8825
|
isNode: true,
|
|
@@ -8655,6 +8878,12 @@ exports.runtimeSchema = [
|
|
|
8655
8878
|
isArray: false,
|
|
8656
8879
|
optional: true
|
|
8657
8880
|
},
|
|
8881
|
+
{
|
|
8882
|
+
name: 'reverse_sort',
|
|
8883
|
+
type: 'bool',
|
|
8884
|
+
isArray: false,
|
|
8885
|
+
optional: true
|
|
8886
|
+
},
|
|
8658
8887
|
{
|
|
8659
8888
|
name: 'sortop',
|
|
8660
8889
|
type: 'uint32',
|
|
@@ -9364,9 +9593,9 @@ exports.runtimeSchema = [
|
|
|
9364
9593
|
optional: true
|
|
9365
9594
|
},
|
|
9366
9595
|
{
|
|
9367
|
-
name: '
|
|
9368
|
-
type: '
|
|
9369
|
-
isArray:
|
|
9596
|
+
name: 'returningClause',
|
|
9597
|
+
type: 'ReturningClause',
|
|
9598
|
+
isArray: false,
|
|
9370
9599
|
optional: true
|
|
9371
9600
|
},
|
|
9372
9601
|
{
|
|
@@ -9477,6 +9706,12 @@ exports.runtimeSchema = [
|
|
|
9477
9706
|
isArray: true,
|
|
9478
9707
|
optional: true
|
|
9479
9708
|
},
|
|
9709
|
+
{
|
|
9710
|
+
name: 'varreturningtype',
|
|
9711
|
+
type: 'VarReturningType',
|
|
9712
|
+
isArray: false,
|
|
9713
|
+
optional: true
|
|
9714
|
+
},
|
|
9480
9715
|
{
|
|
9481
9716
|
name: 'vartype',
|
|
9482
9717
|
type: 'uint32',
|
|
@@ -9513,12 +9748,24 @@ exports.runtimeSchema = [
|
|
|
9513
9748
|
isArray: false,
|
|
9514
9749
|
optional: true
|
|
9515
9750
|
},
|
|
9751
|
+
{
|
|
9752
|
+
name: 'jumble_args',
|
|
9753
|
+
type: 'bool',
|
|
9754
|
+
isArray: false,
|
|
9755
|
+
optional: true
|
|
9756
|
+
},
|
|
9516
9757
|
{
|
|
9517
9758
|
name: 'kind',
|
|
9518
9759
|
type: 'VariableSetKind',
|
|
9519
9760
|
isArray: false,
|
|
9520
9761
|
optional: true
|
|
9521
9762
|
},
|
|
9763
|
+
{
|
|
9764
|
+
name: 'location',
|
|
9765
|
+
type: 'int32',
|
|
9766
|
+
isArray: false,
|
|
9767
|
+
optional: true
|
|
9768
|
+
},
|
|
9522
9769
|
{
|
|
9523
9770
|
name: 'name',
|
|
9524
9771
|
type: 'string',
|
package/wrapped.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ParseResult, ScanResult, Integer, Float, Boolean, String, BitString, List, OidList, IntList, A_Const, Alias, RangeVar, TableFunc, IntoClause, Var, Param, Aggref, GroupingFunc, WindowFunc, WindowFuncRunCondition, MergeSupportFunc, 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, JsonFormat, JsonReturning, JsonValueExpr, JsonConstructorExpr, JsonIsPredicate, JsonBehavior, JsonExpr, JsonTablePath, JsonTablePathScan, JsonTableSiblingJoin, NullTest, BooleanTest, MergeAction, CoerceToDomain, CoerceToDomainValue, SetToDefault, CurrentOfExpr, NextValueExpr, InferenceElem, TargetEntry, RangeTblRef, JoinExpr, FromExpr, OnConflictExpr, Query, TypeName, ColumnRef, ParamRef, A_Expr, TypeCast, CollateClause, RoleSpec, FuncCall, A_Star, A_Indices, A_Indirection, A_ArrayExpr, ResTarget, MultiAssignRef, SortBy, WindowDef, RangeSubselect, RangeFunction, RangeTableFunc, RangeTableFuncCol, RangeTableSample, ColumnDef, TableLikeClause, IndexElem, DefElem, LockingClause, XmlSerialize, PartitionElem, PartitionSpec, PartitionBoundSpec, PartitionRangeDatum,
|
|
1
|
+
import { ParseResult, ScanResult, Integer, Float, Boolean, String, BitString, List, OidList, IntList, A_Const, Alias, RangeVar, TableFunc, IntoClause, Var, Param, Aggref, GroupingFunc, WindowFunc, WindowFuncRunCondition, MergeSupportFunc, 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, JsonFormat, JsonReturning, JsonValueExpr, JsonConstructorExpr, JsonIsPredicate, JsonBehavior, JsonExpr, JsonTablePath, JsonTablePathScan, JsonTableSiblingJoin, NullTest, BooleanTest, MergeAction, CoerceToDomain, CoerceToDomainValue, SetToDefault, CurrentOfExpr, NextValueExpr, InferenceElem, ReturningExpr, TargetEntry, RangeTblRef, JoinExpr, FromExpr, OnConflictExpr, Query, TypeName, ColumnRef, ParamRef, A_Expr, TypeCast, CollateClause, RoleSpec, FuncCall, A_Star, A_Indices, A_Indirection, A_ArrayExpr, ResTarget, MultiAssignRef, SortBy, WindowDef, RangeSubselect, RangeFunction, RangeTableFunc, RangeTableFuncCol, RangeTableSample, ColumnDef, TableLikeClause, IndexElem, DefElem, LockingClause, XmlSerialize, PartitionElem, PartitionSpec, PartitionBoundSpec, PartitionRangeDatum, PartitionCmd, RangeTblEntry, RTEPermissionInfo, RangeTblFunction, TableSampleClause, WithCheckOption, SortGroupClause, GroupingSet, WindowClause, RowMarkClause, WithClause, InferClause, OnConflictClause, CTESearchClause, CTECycleClause, CommonTableExpr, MergeWhenClause, ReturningOption, ReturningClause, TriggerTransition, JsonOutput, JsonArgument, JsonFuncExpr, JsonTablePathSpec, JsonTable, JsonTableColumn, JsonKeyValue, JsonParseExpr, JsonScalarExpr, JsonSerializeExpr, JsonObjectConstructor, JsonArrayConstructor, JsonArrayQueryConstructor, JsonAggConstructor, JsonObjectAgg, JsonArrayAgg, RawStmt, InsertStmt, DeleteStmt, UpdateStmt, MergeStmt, SelectStmt, SetOperationStmt, ReturnStmt, PLAssignStmt, CreateSchemaStmt, AlterTableStmt, AlterTableCmd, ATAlterConstraint, ReplicaIdentityStmt, AlterCollationStmt, AlterDomainStmt, GrantStmt, ObjectWithArgs, AccessPriv, GrantRoleStmt, AlterDefaultPrivilegesStmt, CopyStmt, VariableSetStmt, VariableShowStmt, CreateStmt, Constraint, CreateTableSpaceStmt, DropTableSpaceStmt, AlterTableSpaceOptionsStmt, AlterTableMoveAllStmt, CreateExtensionStmt, AlterExtensionStmt, AlterExtensionContentsStmt, CreateFdwStmt, AlterFdwStmt, CreateForeignServerStmt, AlterForeignServerStmt, CreateForeignTableStmt, CreateUserMappingStmt, AlterUserMappingStmt, DropUserMappingStmt, ImportForeignSchemaStmt, CreatePolicyStmt, AlterPolicyStmt, CreateAmStmt, CreateTrigStmt, CreateEventTrigStmt, AlterEventTrigStmt, CreatePLangStmt, CreateRoleStmt, AlterRoleStmt, AlterRoleSetStmt, DropRoleStmt, CreateSeqStmt, AlterSeqStmt, DefineStmt, CreateDomainStmt, CreateOpClassStmt, CreateOpClassItem, CreateOpFamilyStmt, AlterOpFamilyStmt, DropStmt, TruncateStmt, CommentStmt, SecLabelStmt, DeclareCursorStmt, ClosePortalStmt, FetchStmt, IndexStmt, CreateStatsStmt, StatsElem, AlterStatsStmt, CreateFunctionStmt, FunctionParameter, AlterFunctionStmt, DoStmt, InlineCodeBlock, CallStmt, CallContext, RenameStmt, AlterObjectDependsStmt, AlterObjectSchemaStmt, AlterOwnerStmt, AlterOperatorStmt, AlterTypeStmt, RuleStmt, NotifyStmt, ListenStmt, UnlistenStmt, TransactionStmt, CompositeTypeStmt, CreateEnumStmt, CreateRangeStmt, AlterEnumStmt, ViewStmt, LoadStmt, CreatedbStmt, AlterDatabaseStmt, AlterDatabaseRefreshCollStmt, AlterDatabaseSetStmt, DropdbStmt, AlterSystemStmt, ClusterStmt, VacuumStmt, VacuumRelation, ExplainStmt, CreateTableAsStmt, RefreshMatViewStmt, CheckPointStmt, DiscardStmt, LockStmt, ConstraintsSetStmt, ReindexStmt, CreateConversionStmt, CreateCastStmt, CreateTransformStmt, PrepareStmt, ExecuteStmt, DeallocateStmt, DropOwnedStmt, ReassignOwnedStmt, AlterTSDictionaryStmt, AlterTSConfigurationStmt, PublicationTable, PublicationObjSpec, CreatePublicationStmt, AlterPublicationStmt, CreateSubscriptionStmt, AlterSubscriptionStmt, DropSubscriptionStmt, ScanToken } from "@pgsql/types";
|
|
2
2
|
declare const _default: {
|
|
3
3
|
parseResult(_p?: ParseResult): {
|
|
4
4
|
ParseResult: ParseResult;
|
|
@@ -207,6 +207,9 @@ declare const _default: {
|
|
|
207
207
|
inferenceElem(_p?: InferenceElem): {
|
|
208
208
|
InferenceElem: InferenceElem;
|
|
209
209
|
};
|
|
210
|
+
returningExpr(_p?: ReturningExpr): {
|
|
211
|
+
ReturningExpr: ReturningExpr;
|
|
212
|
+
};
|
|
210
213
|
targetEntry(_p?: TargetEntry): {
|
|
211
214
|
TargetEntry: TargetEntry;
|
|
212
215
|
};
|
|
@@ -318,9 +321,6 @@ declare const _default: {
|
|
|
318
321
|
partitionRangeDatum(_p?: PartitionRangeDatum): {
|
|
319
322
|
PartitionRangeDatum: PartitionRangeDatum;
|
|
320
323
|
};
|
|
321
|
-
singlePartitionSpec(_p?: SinglePartitionSpec): {
|
|
322
|
-
SinglePartitionSpec: SinglePartitionSpec;
|
|
323
|
-
};
|
|
324
324
|
partitionCmd(_p?: PartitionCmd): {
|
|
325
325
|
PartitionCmd: PartitionCmd;
|
|
326
326
|
};
|
|
@@ -372,6 +372,12 @@ declare const _default: {
|
|
|
372
372
|
mergeWhenClause(_p?: MergeWhenClause): {
|
|
373
373
|
MergeWhenClause: MergeWhenClause;
|
|
374
374
|
};
|
|
375
|
+
returningOption(_p?: ReturningOption): {
|
|
376
|
+
ReturningOption: ReturningOption;
|
|
377
|
+
};
|
|
378
|
+
returningClause(_p?: ReturningClause): {
|
|
379
|
+
ReturningClause: ReturningClause;
|
|
380
|
+
};
|
|
375
381
|
triggerTransition(_p?: TriggerTransition): {
|
|
376
382
|
TriggerTransition: TriggerTransition;
|
|
377
383
|
};
|
|
@@ -456,12 +462,15 @@ declare const _default: {
|
|
|
456
462
|
alterTableStmt(_p?: AlterTableStmt): {
|
|
457
463
|
AlterTableStmt: AlterTableStmt;
|
|
458
464
|
};
|
|
459
|
-
replicaIdentityStmt(_p?: ReplicaIdentityStmt): {
|
|
460
|
-
ReplicaIdentityStmt: ReplicaIdentityStmt;
|
|
461
|
-
};
|
|
462
465
|
alterTableCmd(_p?: AlterTableCmd): {
|
|
463
466
|
AlterTableCmd: AlterTableCmd;
|
|
464
467
|
};
|
|
468
|
+
atAlterConstraint(_p?: ATAlterConstraint): {
|
|
469
|
+
ATAlterConstraint: ATAlterConstraint;
|
|
470
|
+
};
|
|
471
|
+
replicaIdentityStmt(_p?: ReplicaIdentityStmt): {
|
|
472
|
+
ReplicaIdentityStmt: ReplicaIdentityStmt;
|
|
473
|
+
};
|
|
465
474
|
alterCollationStmt(_p?: AlterCollationStmt): {
|
|
466
475
|
AlterCollationStmt: AlterCollationStmt;
|
|
467
476
|
};
|