@pgsql/utils 17.8.19 → 18.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.
@@ -9,6 +9,18 @@ export const runtimeSchema = [
9
9
  isArray: true,
10
10
  optional: true
11
11
  },
12
+ {
13
+ name: 'list_end',
14
+ type: 'int32',
15
+ isArray: false,
16
+ optional: true
17
+ },
18
+ {
19
+ name: 'list_start',
20
+ type: 'int32',
21
+ isArray: false,
22
+ optional: true
23
+ },
12
24
  {
13
25
  name: 'location',
14
26
  type: 'int32',
@@ -98,6 +110,18 @@ export const runtimeSchema = [
98
110
  type: 'Node',
99
111
  isArray: false,
100
112
  optional: true
113
+ },
114
+ {
115
+ name: 'rexpr_list_end',
116
+ type: 'int32',
117
+ isArray: false,
118
+ optional: true
119
+ },
120
+ {
121
+ name: 'rexpr_list_start',
122
+ type: 'int32',
123
+ isArray: false,
124
+ optional: true
101
125
  }
102
126
  ]
103
127
  },
@@ -1334,6 +1358,18 @@ export const runtimeSchema = [
1334
1358
  isArray: true,
1335
1359
  optional: true
1336
1360
  },
1361
+ {
1362
+ name: 'list_end',
1363
+ type: 'int32',
1364
+ isArray: false,
1365
+ optional: true
1366
+ },
1367
+ {
1368
+ name: 'list_start',
1369
+ type: 'int32',
1370
+ isArray: false,
1371
+ optional: true
1372
+ },
1337
1373
  {
1338
1374
  name: 'location',
1339
1375
  type: 'int32',
@@ -1354,6 +1390,60 @@ export const runtimeSchema = [
1354
1390
  }
1355
1391
  ]
1356
1392
  },
1393
+ {
1394
+ name: 'ATAlterConstraint',
1395
+ isNode: true,
1396
+ fields: [
1397
+ {
1398
+ name: 'alterDeferrability',
1399
+ type: 'bool',
1400
+ isArray: false,
1401
+ optional: true
1402
+ },
1403
+ {
1404
+ name: 'alterEnforceability',
1405
+ type: 'bool',
1406
+ isArray: false,
1407
+ optional: true
1408
+ },
1409
+ {
1410
+ name: 'alterInheritability',
1411
+ type: 'bool',
1412
+ isArray: false,
1413
+ optional: true
1414
+ },
1415
+ {
1416
+ name: 'conname',
1417
+ type: 'string',
1418
+ isArray: false,
1419
+ optional: true
1420
+ },
1421
+ {
1422
+ name: 'deferrable',
1423
+ type: 'bool',
1424
+ isArray: false,
1425
+ optional: true
1426
+ },
1427
+ {
1428
+ name: 'initdeferred',
1429
+ type: 'bool',
1430
+ isArray: false,
1431
+ optional: true
1432
+ },
1433
+ {
1434
+ name: 'is_enforced',
1435
+ type: 'bool',
1436
+ isArray: false,
1437
+ optional: true
1438
+ },
1439
+ {
1440
+ name: 'noinherit',
1441
+ type: 'bool',
1442
+ isArray: false,
1443
+ optional: true
1444
+ }
1445
+ ]
1446
+ },
1357
1447
  {
1358
1448
  name: 'BitString',
1359
1449
  isNode: true,
@@ -2173,6 +2263,18 @@ export const runtimeSchema = [
2173
2263
  isArray: false,
2174
2264
  optional: true
2175
2265
  },
2266
+ {
2267
+ name: 'fk_with_period',
2268
+ type: 'bool',
2269
+ isArray: false,
2270
+ optional: true
2271
+ },
2272
+ {
2273
+ name: 'generated_kind',
2274
+ type: 'string',
2275
+ isArray: false,
2276
+ optional: true
2277
+ },
2176
2278
  {
2177
2279
  name: 'generated_when',
2178
2280
  type: 'string',
@@ -2198,19 +2300,19 @@ export const runtimeSchema = [
2198
2300
  optional: true
2199
2301
  },
2200
2302
  {
2201
- name: 'inhcount',
2202
- type: 'int32',
2303
+ name: 'initdeferred',
2304
+ type: 'bool',
2203
2305
  isArray: false,
2204
2306
  optional: true
2205
2307
  },
2206
2308
  {
2207
- name: 'initdeferred',
2309
+ name: 'initially_valid',
2208
2310
  type: 'bool',
2209
2311
  isArray: false,
2210
2312
  optional: true
2211
2313
  },
2212
2314
  {
2213
- name: 'initially_valid',
2315
+ name: 'is_enforced',
2214
2316
  type: 'bool',
2215
2317
  isArray: false,
2216
2318
  optional: true
@@ -2263,6 +2365,12 @@ export const runtimeSchema = [
2263
2365
  isArray: true,
2264
2366
  optional: true
2265
2367
  },
2368
+ {
2369
+ name: 'pk_with_period',
2370
+ type: 'bool',
2371
+ isArray: false,
2372
+ optional: true
2373
+ },
2266
2374
  {
2267
2375
  name: 'pktable',
2268
2376
  type: 'RangeVar',
@@ -2292,6 +2400,12 @@ export const runtimeSchema = [
2292
2400
  type: 'Node',
2293
2401
  isArray: false,
2294
2402
  optional: true
2403
+ },
2404
+ {
2405
+ name: 'without_overlaps',
2406
+ type: 'bool',
2407
+ isArray: false,
2408
+ optional: true
2295
2409
  }
2296
2410
  ]
2297
2411
  },
@@ -3163,6 +3277,12 @@ export const runtimeSchema = [
3163
3277
  isArray: true,
3164
3278
  optional: true
3165
3279
  },
3280
+ {
3281
+ name: 'nnconstraints',
3282
+ type: 'Node',
3283
+ isArray: true,
3284
+ optional: true
3285
+ },
3166
3286
  {
3167
3287
  name: 'ofTypename',
3168
3288
  type: 'TypeName',
@@ -3740,9 +3860,9 @@ export const runtimeSchema = [
3740
3860
  optional: true
3741
3861
  },
3742
3862
  {
3743
- name: 'returningList',
3744
- type: 'Node',
3745
- isArray: true,
3863
+ name: 'returningClause',
3864
+ type: 'ReturningClause',
3865
+ isArray: false,
3746
3866
  optional: true
3747
3867
  },
3748
3868
  {
@@ -4333,6 +4453,12 @@ export const runtimeSchema = [
4333
4453
  isArray: false,
4334
4454
  optional: true
4335
4455
  },
4456
+ {
4457
+ name: 'location',
4458
+ type: 'int32',
4459
+ isArray: false,
4460
+ optional: true
4461
+ },
4336
4462
  {
4337
4463
  name: 'mode',
4338
4464
  type: 'FunctionParameterMode',
@@ -4681,6 +4807,12 @@ export const runtimeSchema = [
4681
4807
  isArray: false,
4682
4808
  optional: true
4683
4809
  },
4810
+ {
4811
+ name: 'iswithoutoverlaps',
4812
+ type: 'bool',
4813
+ isArray: false,
4814
+ optional: true
4815
+ },
4684
4816
  {
4685
4817
  name: 'nulls_not_distinct',
4686
4818
  type: 'bool',
@@ -4874,9 +5006,9 @@ export const runtimeSchema = [
4874
5006
  optional: true
4875
5007
  },
4876
5008
  {
4877
- name: 'returningList',
4878
- type: 'Node',
4879
- isArray: true,
5009
+ name: 'returningClause',
5010
+ type: 'ReturningClause',
5011
+ isArray: false,
4880
5012
  optional: true
4881
5013
  },
4882
5014
  {
@@ -4965,7 +5097,7 @@ export const runtimeSchema = [
4965
5097
  },
4966
5098
  {
4967
5099
  name: 'viewQuery',
4968
- type: 'Node',
5100
+ type: 'Query',
4969
5101
  isArray: false,
4970
5102
  optional: true
4971
5103
  }
@@ -6116,9 +6248,9 @@ export const runtimeSchema = [
6116
6248
  optional: true
6117
6249
  },
6118
6250
  {
6119
- name: 'returningList',
6120
- type: 'Node',
6121
- isArray: true,
6251
+ name: 'returningClause',
6252
+ type: 'ReturningClause',
6253
+ isArray: false,
6122
6254
  optional: true
6123
6255
  },
6124
6256
  {
@@ -7063,6 +7195,12 @@ export const runtimeSchema = [
7063
7195
  isArray: false,
7064
7196
  optional: true
7065
7197
  },
7198
+ {
7199
+ name: 'hasGroupRTE',
7200
+ type: 'bool',
7201
+ isArray: false,
7202
+ optional: true
7203
+ },
7066
7204
  {
7067
7205
  name: 'hasModifyingCTE',
7068
7206
  type: 'bool',
@@ -7183,6 +7321,18 @@ export const runtimeSchema = [
7183
7321
  isArray: true,
7184
7322
  optional: true
7185
7323
  },
7324
+ {
7325
+ name: 'returningNewAlias',
7326
+ type: 'string',
7327
+ isArray: false,
7328
+ optional: true
7329
+ },
7330
+ {
7331
+ name: 'returningOldAlias',
7332
+ type: 'string',
7333
+ isArray: false,
7334
+ optional: true
7335
+ },
7186
7336
  {
7187
7337
  name: 'rowMarks',
7188
7338
  type: 'Node',
@@ -7519,6 +7669,12 @@ export const runtimeSchema = [
7519
7669
  isArray: true,
7520
7670
  optional: true
7521
7671
  },
7672
+ {
7673
+ name: 'groupexprs',
7674
+ type: 'Node',
7675
+ isArray: true,
7676
+ optional: true
7677
+ },
7522
7678
  {
7523
7679
  name: 'inFromCl',
7524
7680
  type: 'bool',
@@ -8001,6 +8157,78 @@ export const runtimeSchema = [
8001
8157
  }
8002
8158
  ]
8003
8159
  },
8160
+ {
8161
+ name: 'ReturningClause',
8162
+ isNode: true,
8163
+ fields: [
8164
+ {
8165
+ name: 'exprs',
8166
+ type: 'Node',
8167
+ isArray: true,
8168
+ optional: true
8169
+ },
8170
+ {
8171
+ name: 'options',
8172
+ type: 'Node',
8173
+ isArray: true,
8174
+ optional: true
8175
+ }
8176
+ ]
8177
+ },
8178
+ {
8179
+ name: 'ReturningExpr',
8180
+ isNode: true,
8181
+ fields: [
8182
+ {
8183
+ name: 'retexpr',
8184
+ type: 'Node',
8185
+ isArray: false,
8186
+ optional: true
8187
+ },
8188
+ {
8189
+ name: 'retlevelsup',
8190
+ type: 'int32',
8191
+ isArray: false,
8192
+ optional: true
8193
+ },
8194
+ {
8195
+ name: 'retold',
8196
+ type: 'bool',
8197
+ isArray: false,
8198
+ optional: true
8199
+ },
8200
+ {
8201
+ name: 'xpr',
8202
+ type: 'Node',
8203
+ isArray: false,
8204
+ optional: true
8205
+ }
8206
+ ]
8207
+ },
8208
+ {
8209
+ name: 'ReturningOption',
8210
+ isNode: true,
8211
+ fields: [
8212
+ {
8213
+ name: 'location',
8214
+ type: 'int32',
8215
+ isArray: false,
8216
+ optional: true
8217
+ },
8218
+ {
8219
+ name: 'option',
8220
+ type: 'ReturningOptionKind',
8221
+ isArray: false,
8222
+ optional: true
8223
+ },
8224
+ {
8225
+ name: 'value',
8226
+ type: 'string',
8227
+ isArray: false,
8228
+ optional: true
8229
+ }
8230
+ ]
8231
+ },
8004
8232
  {
8005
8233
  name: 'ReturnStmt',
8006
8234
  isNode: true,
@@ -8041,6 +8269,12 @@ export const runtimeSchema = [
8041
8269
  name: 'RowCompareExpr',
8042
8270
  isNode: true,
8043
8271
  fields: [
8272
+ {
8273
+ name: 'cmptype',
8274
+ type: 'CompareType',
8275
+ isArray: false,
8276
+ optional: true
8277
+ },
8044
8278
  {
8045
8279
  name: 'inputcollids',
8046
8280
  type: 'Node',
@@ -8071,12 +8305,6 @@ export const runtimeSchema = [
8071
8305
  isArray: true,
8072
8306
  optional: true
8073
8307
  },
8074
- {
8075
- name: 'rctype',
8076
- type: 'RowCompareType',
8077
- isArray: false,
8078
- optional: true
8079
- },
8080
8308
  {
8081
8309
  name: 'xpr',
8082
8310
  type: 'Node',
@@ -8589,11 +8817,6 @@ export const runtimeSchema = [
8589
8817
  }
8590
8818
  ]
8591
8819
  },
8592
- {
8593
- name: 'SinglePartitionSpec',
8594
- isNode: true,
8595
- fields: []
8596
- },
8597
8820
  {
8598
8821
  name: 'SortBy',
8599
8822
  isNode: true,
@@ -8652,6 +8875,12 @@ export const runtimeSchema = [
8652
8875
  isArray: false,
8653
8876
  optional: true
8654
8877
  },
8878
+ {
8879
+ name: 'reverse_sort',
8880
+ type: 'bool',
8881
+ isArray: false,
8882
+ optional: true
8883
+ },
8655
8884
  {
8656
8885
  name: 'sortop',
8657
8886
  type: 'uint32',
@@ -9361,9 +9590,9 @@ export const runtimeSchema = [
9361
9590
  optional: true
9362
9591
  },
9363
9592
  {
9364
- name: 'returningList',
9365
- type: 'Node',
9366
- isArray: true,
9593
+ name: 'returningClause',
9594
+ type: 'ReturningClause',
9595
+ isArray: false,
9367
9596
  optional: true
9368
9597
  },
9369
9598
  {
@@ -9474,6 +9703,12 @@ export const runtimeSchema = [
9474
9703
  isArray: true,
9475
9704
  optional: true
9476
9705
  },
9706
+ {
9707
+ name: 'varreturningtype',
9708
+ type: 'VarReturningType',
9709
+ isArray: false,
9710
+ optional: true
9711
+ },
9477
9712
  {
9478
9713
  name: 'vartype',
9479
9714
  type: 'uint32',
@@ -9510,12 +9745,24 @@ export const runtimeSchema = [
9510
9745
  isArray: false,
9511
9746
  optional: true
9512
9747
  },
9748
+ {
9749
+ name: 'jumble_args',
9750
+ type: 'bool',
9751
+ isArray: false,
9752
+ optional: true
9753
+ },
9513
9754
  {
9514
9755
  name: 'kind',
9515
9756
  type: 'VariableSetKind',
9516
9757
  isArray: false,
9517
9758
  optional: true
9518
9759
  },
9760
+ {
9761
+ name: 'location',
9762
+ type: 'int32',
9763
+ isArray: false,
9764
+ optional: true
9765
+ },
9519
9766
  {
9520
9767
  name: 'name',
9521
9768
  type: 'string',