@crvouga/postgres-mem 0.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.
Files changed (109) hide show
  1. package/AGENTS.md +159 -0
  2. package/COMPATIBILITY-AUDIT.md +155 -0
  3. package/COMPATIBILITY.md +87 -0
  4. package/LICENSE +21 -0
  5. package/README.md +325 -0
  6. package/compat/coverage.json +1081 -0
  7. package/compat/divergences.json +191 -0
  8. package/compat/gate-report.json +80 -0
  9. package/compat/requirements.json +1105 -0
  10. package/compat/requirements.raw.html +484 -0
  11. package/compat/scenario-types.ts +98 -0
  12. package/compat/scenarios.ts +98 -0
  13. package/compat/sections/agg.ts +45 -0
  14. package/compat/sections/api.ts +28 -0
  15. package/compat/sections/arr.ts +45 -0
  16. package/compat/sections/cat.ts +47 -0
  17. package/compat/sections/con.ts +32 -0
  18. package/compat/sections/cpy.ts +24 -0
  19. package/compat/sections/cte.ts +29 -0
  20. package/compat/sections/dat.ts +60 -0
  21. package/compat/sections/ddl.ts +55 -0
  22. package/compat/sections/det.ts +20 -0
  23. package/compat/sections/dml.ts +37 -0
  24. package/compat/sections/eco.ts +16 -0
  25. package/compat/sections/err.ts +16 -0
  26. package/compat/sections/exp.ts +53 -0
  27. package/compat/sections/fun.ts +58 -0
  28. package/compat/sections/fzz.ts +36 -0
  29. package/compat/sections/guc.ts +27 -0
  30. package/compat/sections/joi.ts +33 -0
  31. package/compat/sections/jsn.ts +46 -0
  32. package/compat/sections/lim.ts +13 -0
  33. package/compat/sections/par.ts +61 -0
  34. package/compat/sections/pre.ts +26 -0
  35. package/compat/sections/sch.ts +31 -0
  36. package/compat/sections/sel.ts +43 -0
  37. package/compat/sections/seq.ts +31 -0
  38. package/compat/sections/snp.ts +21 -0
  39. package/compat/sections/tok.ts +53 -0
  40. package/compat/sections/trg.ts +57 -0
  41. package/compat/sections/tsr.ts +37 -0
  42. package/compat/sections/txn.ts +39 -0
  43. package/compat/sections/typ.ts +55 -0
  44. package/compat/sections/uni.ts +13 -0
  45. package/compat/sections/win.ts +43 -0
  46. package/compat/smoke-baseline.json +3 -0
  47. package/compat/unsupported-register.json +2526 -0
  48. package/dist/api/bind.d.ts +10 -0
  49. package/dist/api/database.d.ts +69 -0
  50. package/dist/api/statement.d.ts +51 -0
  51. package/dist/ast/nodes.d.ts +810 -0
  52. package/dist/constraints/enforce.d.ts +39 -0
  53. package/dist/errors/error.d.ts +24 -0
  54. package/dist/executor/ddl.d.ts +23 -0
  55. package/dist/executor/dml.d.ts +10 -0
  56. package/dist/executor/execute.d.ts +11 -0
  57. package/dist/executor/relation.d.ts +60 -0
  58. package/dist/executor/select.d.ts +41 -0
  59. package/dist/executor/session.d.ts +21 -0
  60. package/dist/executor/triggers-exec.d.ts +1 -0
  61. package/dist/executor/triggers.d.ts +16 -0
  62. package/dist/executor/window.d.ts +13 -0
  63. package/dist/expressions/context.d.ts +23 -0
  64. package/dist/expressions/eval.d.ts +38 -0
  65. package/dist/expressions/operators.d.ts +8 -0
  66. package/dist/expressions/pattern.d.ts +20 -0
  67. package/dist/functions/aggregates.d.ts +17 -0
  68. package/dist/functions/array-fns.d.ts +2 -0
  69. package/dist/functions/datetime-fns.d.ts +26 -0
  70. package/dist/functions/datetime-registry.d.ts +2 -0
  71. package/dist/functions/json-fns.d.ts +7 -0
  72. package/dist/functions/math-fns.d.ts +2 -0
  73. package/dist/functions/misc-fns.d.ts +8 -0
  74. package/dist/functions/scalar.d.ts +10 -0
  75. package/dist/functions/srf.d.ts +12 -0
  76. package/dist/functions/string-fns.d.ts +4 -0
  77. package/dist/functions/tsearch-fns.d.ts +2 -0
  78. package/dist/functions/util.d.ts +14 -0
  79. package/dist/functions/window.d.ts +7 -0
  80. package/dist/index.d.ts +28 -0
  81. package/dist/index.js +19591 -0
  82. package/dist/index.js.map +7 -0
  83. package/dist/lexer/tokenize.d.ts +8 -0
  84. package/dist/parser/index.d.ts +1 -0
  85. package/dist/parser/parser.d.ts +96 -0
  86. package/dist/runtime/clock.d.ts +14 -0
  87. package/dist/runtime/index.d.ts +3 -0
  88. package/dist/runtime/options.d.ts +25 -0
  89. package/dist/runtime/prng.d.ts +48 -0
  90. package/dist/schema/catalog-tables.d.ts +1 -0
  91. package/dist/schema/catalog.d.ts +12 -0
  92. package/dist/serialization/codec.d.ts +29 -0
  93. package/dist/serialization/index.d.ts +1 -0
  94. package/dist/storage/database-state.d.ts +216 -0
  95. package/dist/transactions/manager.d.ts +25 -0
  96. package/dist/tsearch/stem.d.ts +5 -0
  97. package/dist/tsearch/tsearch.d.ts +59 -0
  98. package/dist/types/cast.d.ts +26 -0
  99. package/dist/types/compare.d.ts +18 -0
  100. package/dist/types/datetime.d.ts +68 -0
  101. package/dist/types/jsonb.d.ts +45 -0
  102. package/dist/types/numeric.d.ts +69 -0
  103. package/dist/types/resolve.d.ts +15 -0
  104. package/dist/types/timezone.d.ts +9 -0
  105. package/dist/types/value.d.ts +99 -0
  106. package/dist/unstable.d.ts +15 -0
  107. package/dist/unstable.js +19153 -0
  108. package/dist/unstable.js.map +7 -0
  109. package/package.json +120 -0
@@ -0,0 +1,1081 @@
1
+ {
2
+ "generatedAt": "2026-08-21T18:49:46.346Z",
3
+ "referenceServerVersion": "18.3",
4
+ "counts": {
5
+ "total": 183,
6
+ "notApplicable": 56,
7
+ "sqlBehavior": 127,
8
+ "verified": 43,
9
+ "partiallyVerified": 26,
10
+ "unsupported": 58,
11
+ "unknown": 0
12
+ },
13
+ "coverage": {
14
+ "sql-abort": {
15
+ "status": "VERIFIED",
16
+ "evidence": [
17
+ "tests/contract/transactions/"
18
+ ],
19
+ "notes": ""
20
+ },
21
+ "sql-alteraggregate": {
22
+ "status": "UNSUPPORTED",
23
+ "evidence": [],
24
+ "notes": "not implemented; statements fail loud via unsupported()"
25
+ },
26
+ "sql-altercollation": {
27
+ "status": "UNSUPPORTED",
28
+ "evidence": [],
29
+ "notes": "not implemented; statements fail loud via unsupported()"
30
+ },
31
+ "sql-alterconversion": {
32
+ "status": "UNSUPPORTED",
33
+ "evidence": [],
34
+ "notes": "not implemented; statements fail loud via unsupported()"
35
+ },
36
+ "sql-alterdatabase": {
37
+ "status": "NOT_APPLICABLE",
38
+ "evidence": [],
39
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
40
+ },
41
+ "sql-alterdefaultprivileges": {
42
+ "status": "NOT_APPLICABLE",
43
+ "evidence": [],
44
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
45
+ },
46
+ "sql-alterdomain": {
47
+ "status": "PARTIALLY_VERIFIED",
48
+ "evidence": [
49
+ "tests/contract/types/"
50
+ ],
51
+ "notes": "constraint add/drop supported"
52
+ },
53
+ "sql-altereventtrigger": {
54
+ "status": "NOT_APPLICABLE",
55
+ "evidence": [],
56
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
57
+ },
58
+ "sql-alterextension": {
59
+ "status": "NOT_APPLICABLE",
60
+ "evidence": [],
61
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
62
+ },
63
+ "sql-alterforeigndatawrapper": {
64
+ "status": "NOT_APPLICABLE",
65
+ "evidence": [],
66
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
67
+ },
68
+ "sql-alterforeigntable": {
69
+ "status": "NOT_APPLICABLE",
70
+ "evidence": [],
71
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
72
+ },
73
+ "sql-alterfunction": {
74
+ "status": "PARTIALLY_VERIFIED",
75
+ "evidence": [
76
+ "tests/contract/functions/"
77
+ ],
78
+ "notes": "parsed no-op"
79
+ },
80
+ "sql-altergroup": {
81
+ "status": "NOT_APPLICABLE",
82
+ "evidence": [],
83
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
84
+ },
85
+ "sql-alterindex": {
86
+ "status": "VERIFIED",
87
+ "evidence": [
88
+ "tests/contract/indexes/"
89
+ ],
90
+ "notes": ""
91
+ },
92
+ "sql-alterlanguage": {
93
+ "status": "NOT_APPLICABLE",
94
+ "evidence": [],
95
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
96
+ },
97
+ "sql-alterlargeobject": {
98
+ "status": "UNSUPPORTED",
99
+ "evidence": [],
100
+ "notes": "not implemented; statements fail loud via unsupported()"
101
+ },
102
+ "sql-altermaterializedview": {
103
+ "status": "PARTIALLY_VERIFIED",
104
+ "evidence": [
105
+ "tests/contract/views/"
106
+ ],
107
+ "notes": "rename supported"
108
+ },
109
+ "sql-alteroperator": {
110
+ "status": "UNSUPPORTED",
111
+ "evidence": [],
112
+ "notes": "not implemented; statements fail loud via unsupported()"
113
+ },
114
+ "sql-alteropclass": {
115
+ "status": "UNSUPPORTED",
116
+ "evidence": [],
117
+ "notes": "not implemented; statements fail loud via unsupported()"
118
+ },
119
+ "sql-alteropfamily": {
120
+ "status": "UNSUPPORTED",
121
+ "evidence": [],
122
+ "notes": "not implemented; statements fail loud via unsupported()"
123
+ },
124
+ "sql-alterpolicy": {
125
+ "status": "NOT_APPLICABLE",
126
+ "evidence": [],
127
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
128
+ },
129
+ "sql-alterprocedure": {
130
+ "status": "UNSUPPORTED",
131
+ "evidence": [],
132
+ "notes": "procedures fail loud"
133
+ },
134
+ "sql-alterpublication": {
135
+ "status": "NOT_APPLICABLE",
136
+ "evidence": [],
137
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
138
+ },
139
+ "sql-alterrole": {
140
+ "status": "NOT_APPLICABLE",
141
+ "evidence": [],
142
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
143
+ },
144
+ "sql-alterroutine": {
145
+ "status": "UNSUPPORTED",
146
+ "evidence": [],
147
+ "notes": "not implemented; statements fail loud via unsupported()"
148
+ },
149
+ "sql-alterrule": {
150
+ "status": "UNSUPPORTED",
151
+ "evidence": [],
152
+ "notes": "not implemented; statements fail loud via unsupported()"
153
+ },
154
+ "sql-alterschema": {
155
+ "status": "VERIFIED",
156
+ "evidence": [
157
+ "tests/contract/schemas/"
158
+ ],
159
+ "notes": ""
160
+ },
161
+ "sql-altersequence": {
162
+ "status": "VERIFIED",
163
+ "evidence": [
164
+ "tests/contract/sequences/"
165
+ ],
166
+ "notes": ""
167
+ },
168
+ "sql-alterserver": {
169
+ "status": "NOT_APPLICABLE",
170
+ "evidence": [],
171
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
172
+ },
173
+ "sql-alterstatistics": {
174
+ "status": "UNSUPPORTED",
175
+ "evidence": [],
176
+ "notes": "not implemented; statements fail loud via unsupported()"
177
+ },
178
+ "sql-altersubscription": {
179
+ "status": "NOT_APPLICABLE",
180
+ "evidence": [],
181
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
182
+ },
183
+ "sql-altersystem": {
184
+ "status": "NOT_APPLICABLE",
185
+ "evidence": [],
186
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
187
+ },
188
+ "sql-altertable": {
189
+ "status": "VERIFIED",
190
+ "evidence": [
191
+ "tests/contract/alter-table/"
192
+ ],
193
+ "notes": ""
194
+ },
195
+ "sql-altertablespace": {
196
+ "status": "NOT_APPLICABLE",
197
+ "evidence": [],
198
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
199
+ },
200
+ "sql-altertsconfig": {
201
+ "status": "UNSUPPORTED",
202
+ "evidence": [],
203
+ "notes": "not implemented; statements fail loud via unsupported()"
204
+ },
205
+ "sql-altertsdictionary": {
206
+ "status": "UNSUPPORTED",
207
+ "evidence": [],
208
+ "notes": "not implemented; statements fail loud via unsupported()"
209
+ },
210
+ "sql-altertsparser": {
211
+ "status": "UNSUPPORTED",
212
+ "evidence": [],
213
+ "notes": "not implemented; statements fail loud via unsupported()"
214
+ },
215
+ "sql-altertstemplate": {
216
+ "status": "UNSUPPORTED",
217
+ "evidence": [],
218
+ "notes": "not implemented; statements fail loud via unsupported()"
219
+ },
220
+ "sql-altertrigger": {
221
+ "status": "PARTIALLY_VERIFIED",
222
+ "evidence": [
223
+ "tests/contract/triggers/"
224
+ ],
225
+ "notes": "rename supported"
226
+ },
227
+ "sql-altertype": {
228
+ "status": "PARTIALLY_VERIFIED",
229
+ "evidence": [
230
+ "tests/contract/types/"
231
+ ],
232
+ "notes": "ADD VALUE / RENAME supported for enums"
233
+ },
234
+ "sql-alteruser": {
235
+ "status": "NOT_APPLICABLE",
236
+ "evidence": [],
237
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
238
+ },
239
+ "sql-alterusermapping": {
240
+ "status": "NOT_APPLICABLE",
241
+ "evidence": [],
242
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
243
+ },
244
+ "sql-alterview": {
245
+ "status": "VERIFIED",
246
+ "evidence": [
247
+ "tests/contract/views/"
248
+ ],
249
+ "notes": ""
250
+ },
251
+ "sql-analyze": {
252
+ "status": "PARTIALLY_VERIFIED",
253
+ "evidence": [
254
+ "tests/contract/misc/"
255
+ ],
256
+ "notes": "parsed no-op; no planner statistics"
257
+ },
258
+ "sql-begin": {
259
+ "status": "VERIFIED",
260
+ "evidence": [
261
+ "tests/contract/transactions/"
262
+ ],
263
+ "notes": ""
264
+ },
265
+ "sql-call": {
266
+ "status": "UNSUPPORTED",
267
+ "evidence": [],
268
+ "notes": "procedures are unsupported; CALL fails loud"
269
+ },
270
+ "sql-checkpoint": {
271
+ "status": "PARTIALLY_VERIFIED",
272
+ "evidence": [
273
+ "tests/contract/misc/"
274
+ ],
275
+ "notes": "parsed no-op"
276
+ },
277
+ "sql-close": {
278
+ "status": "UNSUPPORTED",
279
+ "evidence": [],
280
+ "notes": "protocol cursors fail loud"
281
+ },
282
+ "sql-cluster": {
283
+ "status": "PARTIALLY_VERIFIED",
284
+ "evidence": [
285
+ "tests/contract/misc/"
286
+ ],
287
+ "notes": "parsed no-op"
288
+ },
289
+ "sql-comment": {
290
+ "status": "PARTIALLY_VERIFIED",
291
+ "evidence": [
292
+ "tests/contract/catalog/"
293
+ ],
294
+ "notes": "parsed and accepted; comments are not stored (divergence comment-on-not-stored)"
295
+ },
296
+ "sql-commit": {
297
+ "status": "VERIFIED",
298
+ "evidence": [
299
+ "tests/contract/transactions/"
300
+ ],
301
+ "notes": ""
302
+ },
303
+ "sql-commit-prepared": {
304
+ "status": "NOT_APPLICABLE",
305
+ "evidence": [],
306
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
307
+ },
308
+ "sql-copy": {
309
+ "status": "PARTIALLY_VERIFIED",
310
+ "evidence": [
311
+ "tests/contract/copy/"
312
+ ],
313
+ "notes": "text and csv formats via API hook; binary format unsupported"
314
+ },
315
+ "sql-create-access-method": {
316
+ "status": "UNSUPPORTED",
317
+ "evidence": [],
318
+ "notes": "not implemented; statements fail loud via unsupported()"
319
+ },
320
+ "sql-createaggregate": {
321
+ "status": "UNSUPPORTED",
322
+ "evidence": [],
323
+ "notes": "not implemented; statements fail loud via unsupported()"
324
+ },
325
+ "sql-createcast": {
326
+ "status": "UNSUPPORTED",
327
+ "evidence": [],
328
+ "notes": "not implemented; statements fail loud via unsupported()"
329
+ },
330
+ "sql-createcollation": {
331
+ "status": "UNSUPPORTED",
332
+ "evidence": [],
333
+ "notes": "not implemented; statements fail loud via unsupported()"
334
+ },
335
+ "sql-createconversion": {
336
+ "status": "UNSUPPORTED",
337
+ "evidence": [],
338
+ "notes": "not implemented; statements fail loud via unsupported()"
339
+ },
340
+ "sql-createdatabase": {
341
+ "status": "NOT_APPLICABLE",
342
+ "evidence": [],
343
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
344
+ },
345
+ "sql-createdomain": {
346
+ "status": "VERIFIED",
347
+ "evidence": [
348
+ "tests/contract/types/",
349
+ "tests/contract/catalog/"
350
+ ],
351
+ "notes": ""
352
+ },
353
+ "sql-createeventtrigger": {
354
+ "status": "NOT_APPLICABLE",
355
+ "evidence": [],
356
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
357
+ },
358
+ "sql-createextension": {
359
+ "status": "NOT_APPLICABLE",
360
+ "evidence": [],
361
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
362
+ },
363
+ "sql-createforeigndatawrapper": {
364
+ "status": "NOT_APPLICABLE",
365
+ "evidence": [],
366
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
367
+ },
368
+ "sql-createforeigntable": {
369
+ "status": "NOT_APPLICABLE",
370
+ "evidence": [],
371
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
372
+ },
373
+ "sql-createfunction": {
374
+ "status": "PARTIALLY_VERIFIED",
375
+ "evidence": [
376
+ "tests/contract/functions/"
377
+ ],
378
+ "notes": "LANGUAGE sql bodies only; PL/pgSQL fails loud"
379
+ },
380
+ "sql-creategroup": {
381
+ "status": "NOT_APPLICABLE",
382
+ "evidence": [],
383
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
384
+ },
385
+ "sql-createindex": {
386
+ "status": "VERIFIED",
387
+ "evidence": [
388
+ "tests/contract/indexes/"
389
+ ],
390
+ "notes": ""
391
+ },
392
+ "sql-createlanguage": {
393
+ "status": "NOT_APPLICABLE",
394
+ "evidence": [],
395
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
396
+ },
397
+ "sql-creatematerializedview": {
398
+ "status": "PARTIALLY_VERIFIED",
399
+ "evidence": [
400
+ "tests/contract/views/"
401
+ ],
402
+ "notes": "materialized views are eager snapshots refreshed by REFRESH MATERIALIZED VIEW"
403
+ },
404
+ "sql-createoperator": {
405
+ "status": "UNSUPPORTED",
406
+ "evidence": [],
407
+ "notes": "not implemented; statements fail loud via unsupported()"
408
+ },
409
+ "sql-createopclass": {
410
+ "status": "UNSUPPORTED",
411
+ "evidence": [],
412
+ "notes": "not implemented; statements fail loud via unsupported()"
413
+ },
414
+ "sql-createopfamily": {
415
+ "status": "UNSUPPORTED",
416
+ "evidence": [],
417
+ "notes": "not implemented; statements fail loud via unsupported()"
418
+ },
419
+ "sql-createpolicy": {
420
+ "status": "NOT_APPLICABLE",
421
+ "evidence": [],
422
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
423
+ },
424
+ "sql-createprocedure": {
425
+ "status": "UNSUPPORTED",
426
+ "evidence": [],
427
+ "notes": "procedures fail loud"
428
+ },
429
+ "sql-createpublication": {
430
+ "status": "NOT_APPLICABLE",
431
+ "evidence": [],
432
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
433
+ },
434
+ "sql-createrole": {
435
+ "status": "NOT_APPLICABLE",
436
+ "evidence": [],
437
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
438
+ },
439
+ "sql-createrule": {
440
+ "status": "UNSUPPORTED",
441
+ "evidence": [],
442
+ "notes": "not implemented; statements fail loud via unsupported()"
443
+ },
444
+ "sql-createschema": {
445
+ "status": "VERIFIED",
446
+ "evidence": [
447
+ "tests/contract/schemas/",
448
+ "tests/contract/search-path/"
449
+ ],
450
+ "notes": ""
451
+ },
452
+ "sql-createsequence": {
453
+ "status": "VERIFIED",
454
+ "evidence": [
455
+ "tests/contract/sequences/"
456
+ ],
457
+ "notes": ""
458
+ },
459
+ "sql-createserver": {
460
+ "status": "NOT_APPLICABLE",
461
+ "evidence": [],
462
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
463
+ },
464
+ "sql-createstatistics": {
465
+ "status": "UNSUPPORTED",
466
+ "evidence": [],
467
+ "notes": "not implemented; statements fail loud via unsupported()"
468
+ },
469
+ "sql-createsubscription": {
470
+ "status": "NOT_APPLICABLE",
471
+ "evidence": [],
472
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
473
+ },
474
+ "sql-createtable": {
475
+ "status": "VERIFIED",
476
+ "evidence": [
477
+ "tests/contract/constraints/",
478
+ "tests/contract/defaults/",
479
+ "tests/contract/generated/"
480
+ ],
481
+ "notes": ""
482
+ },
483
+ "sql-createtableas": {
484
+ "status": "VERIFIED",
485
+ "evidence": [
486
+ "tests/contract/create-table-as/"
487
+ ],
488
+ "notes": ""
489
+ },
490
+ "sql-createtablespace": {
491
+ "status": "NOT_APPLICABLE",
492
+ "evidence": [],
493
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
494
+ },
495
+ "sql-createtsconfig": {
496
+ "status": "UNSUPPORTED",
497
+ "evidence": [],
498
+ "notes": "not implemented; statements fail loud via unsupported()"
499
+ },
500
+ "sql-createtsdictionary": {
501
+ "status": "UNSUPPORTED",
502
+ "evidence": [],
503
+ "notes": "not implemented; statements fail loud via unsupported()"
504
+ },
505
+ "sql-createtsparser": {
506
+ "status": "UNSUPPORTED",
507
+ "evidence": [],
508
+ "notes": "not implemented; statements fail loud via unsupported()"
509
+ },
510
+ "sql-createtstemplate": {
511
+ "status": "UNSUPPORTED",
512
+ "evidence": [],
513
+ "notes": "not implemented; statements fail loud via unsupported()"
514
+ },
515
+ "sql-createtransform": {
516
+ "status": "UNSUPPORTED",
517
+ "evidence": [],
518
+ "notes": "not implemented; statements fail loud via unsupported()"
519
+ },
520
+ "sql-createtrigger": {
521
+ "status": "PARTIALLY_VERIFIED",
522
+ "evidence": [
523
+ "tests/contract/triggers/"
524
+ ],
525
+ "notes": "row-level BEFORE/AFTER with LANGUAGE sql-expressible bodies; INSTEAD OF fails loud"
526
+ },
527
+ "sql-createtype": {
528
+ "status": "PARTIALLY_VERIFIED",
529
+ "evidence": [
530
+ "tests/contract/types/",
531
+ "tests/contract/catalog/"
532
+ ],
533
+ "notes": "enum types supported; composite/range/base types fail loud"
534
+ },
535
+ "sql-createuser": {
536
+ "status": "NOT_APPLICABLE",
537
+ "evidence": [],
538
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
539
+ },
540
+ "sql-createusermapping": {
541
+ "status": "NOT_APPLICABLE",
542
+ "evidence": [],
543
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
544
+ },
545
+ "sql-createview": {
546
+ "status": "VERIFIED",
547
+ "evidence": [
548
+ "tests/contract/views/"
549
+ ],
550
+ "notes": ""
551
+ },
552
+ "sql-deallocate": {
553
+ "status": "VERIFIED",
554
+ "evidence": [
555
+ "tests/contract/prepare-execute/"
556
+ ],
557
+ "notes": ""
558
+ },
559
+ "sql-declare": {
560
+ "status": "UNSUPPORTED",
561
+ "evidence": [],
562
+ "notes": "protocol cursors fail loud"
563
+ },
564
+ "sql-delete": {
565
+ "status": "VERIFIED",
566
+ "evidence": [
567
+ "tests/contract/delete/"
568
+ ],
569
+ "notes": ""
570
+ },
571
+ "sql-discard": {
572
+ "status": "PARTIALLY_VERIFIED",
573
+ "evidence": [
574
+ "tests/contract/set-show/"
575
+ ],
576
+ "notes": "parsed no-op"
577
+ },
578
+ "sql-do": {
579
+ "status": "PARTIALLY_VERIFIED",
580
+ "evidence": [
581
+ "tests/contract/functions/"
582
+ ],
583
+ "notes": "LANGUAGE sql bodies only"
584
+ },
585
+ "sql-drop-access-method": {
586
+ "status": "UNSUPPORTED",
587
+ "evidence": [],
588
+ "notes": "not implemented; statements fail loud via unsupported()"
589
+ },
590
+ "sql-dropaggregate": {
591
+ "status": "UNSUPPORTED",
592
+ "evidence": [],
593
+ "notes": "not implemented; statements fail loud via unsupported()"
594
+ },
595
+ "sql-dropcast": {
596
+ "status": "UNSUPPORTED",
597
+ "evidence": [],
598
+ "notes": "not implemented; statements fail loud via unsupported()"
599
+ },
600
+ "sql-dropcollation": {
601
+ "status": "UNSUPPORTED",
602
+ "evidence": [],
603
+ "notes": "not implemented; statements fail loud via unsupported()"
604
+ },
605
+ "sql-dropconversion": {
606
+ "status": "UNSUPPORTED",
607
+ "evidence": [],
608
+ "notes": "not implemented; statements fail loud via unsupported()"
609
+ },
610
+ "sql-dropdatabase": {
611
+ "status": "NOT_APPLICABLE",
612
+ "evidence": [],
613
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
614
+ },
615
+ "sql-dropdomain": {
616
+ "status": "VERIFIED",
617
+ "evidence": [
618
+ "tests/contract/types/"
619
+ ],
620
+ "notes": ""
621
+ },
622
+ "sql-dropeventtrigger": {
623
+ "status": "NOT_APPLICABLE",
624
+ "evidence": [],
625
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
626
+ },
627
+ "sql-dropextension": {
628
+ "status": "NOT_APPLICABLE",
629
+ "evidence": [],
630
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
631
+ },
632
+ "sql-dropforeigndatawrapper": {
633
+ "status": "NOT_APPLICABLE",
634
+ "evidence": [],
635
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
636
+ },
637
+ "sql-dropforeigntable": {
638
+ "status": "NOT_APPLICABLE",
639
+ "evidence": [],
640
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
641
+ },
642
+ "sql-dropfunction": {
643
+ "status": "VERIFIED",
644
+ "evidence": [
645
+ "tests/contract/functions/"
646
+ ],
647
+ "notes": ""
648
+ },
649
+ "sql-dropgroup": {
650
+ "status": "NOT_APPLICABLE",
651
+ "evidence": [],
652
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
653
+ },
654
+ "sql-dropindex": {
655
+ "status": "VERIFIED",
656
+ "evidence": [
657
+ "tests/contract/indexes/"
658
+ ],
659
+ "notes": ""
660
+ },
661
+ "sql-droplanguage": {
662
+ "status": "NOT_APPLICABLE",
663
+ "evidence": [],
664
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
665
+ },
666
+ "sql-dropmaterializedview": {
667
+ "status": "VERIFIED",
668
+ "evidence": [
669
+ "tests/contract/views/"
670
+ ],
671
+ "notes": ""
672
+ },
673
+ "sql-dropoperator": {
674
+ "status": "UNSUPPORTED",
675
+ "evidence": [],
676
+ "notes": "not implemented; statements fail loud via unsupported()"
677
+ },
678
+ "sql-dropopclass": {
679
+ "status": "UNSUPPORTED",
680
+ "evidence": [],
681
+ "notes": "not implemented; statements fail loud via unsupported()"
682
+ },
683
+ "sql-dropopfamily": {
684
+ "status": "UNSUPPORTED",
685
+ "evidence": [],
686
+ "notes": "not implemented; statements fail loud via unsupported()"
687
+ },
688
+ "sql-drop-owned": {
689
+ "status": "NOT_APPLICABLE",
690
+ "evidence": [],
691
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
692
+ },
693
+ "sql-droppolicy": {
694
+ "status": "NOT_APPLICABLE",
695
+ "evidence": [],
696
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
697
+ },
698
+ "sql-dropprocedure": {
699
+ "status": "UNSUPPORTED",
700
+ "evidence": [],
701
+ "notes": "procedures fail loud"
702
+ },
703
+ "sql-droppublication": {
704
+ "status": "NOT_APPLICABLE",
705
+ "evidence": [],
706
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
707
+ },
708
+ "sql-droprole": {
709
+ "status": "NOT_APPLICABLE",
710
+ "evidence": [],
711
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
712
+ },
713
+ "sql-droproutine": {
714
+ "status": "UNSUPPORTED",
715
+ "evidence": [],
716
+ "notes": "not implemented; statements fail loud via unsupported()"
717
+ },
718
+ "sql-droprule": {
719
+ "status": "UNSUPPORTED",
720
+ "evidence": [],
721
+ "notes": "not implemented; statements fail loud via unsupported()"
722
+ },
723
+ "sql-dropschema": {
724
+ "status": "VERIFIED",
725
+ "evidence": [
726
+ "tests/contract/schemas/"
727
+ ],
728
+ "notes": ""
729
+ },
730
+ "sql-dropsequence": {
731
+ "status": "VERIFIED",
732
+ "evidence": [
733
+ "tests/contract/sequences/"
734
+ ],
735
+ "notes": ""
736
+ },
737
+ "sql-dropserver": {
738
+ "status": "NOT_APPLICABLE",
739
+ "evidence": [],
740
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
741
+ },
742
+ "sql-dropstatistics": {
743
+ "status": "UNSUPPORTED",
744
+ "evidence": [],
745
+ "notes": "not implemented; statements fail loud via unsupported()"
746
+ },
747
+ "sql-dropsubscription": {
748
+ "status": "NOT_APPLICABLE",
749
+ "evidence": [],
750
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
751
+ },
752
+ "sql-droptable": {
753
+ "status": "VERIFIED",
754
+ "evidence": [
755
+ "tests/contract/alter-table/",
756
+ "tests/contract/catalog/"
757
+ ],
758
+ "notes": ""
759
+ },
760
+ "sql-droptablespace": {
761
+ "status": "NOT_APPLICABLE",
762
+ "evidence": [],
763
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
764
+ },
765
+ "sql-droptsconfig": {
766
+ "status": "UNSUPPORTED",
767
+ "evidence": [],
768
+ "notes": "not implemented; statements fail loud via unsupported()"
769
+ },
770
+ "sql-droptsdictionary": {
771
+ "status": "UNSUPPORTED",
772
+ "evidence": [],
773
+ "notes": "not implemented; statements fail loud via unsupported()"
774
+ },
775
+ "sql-droptsparser": {
776
+ "status": "UNSUPPORTED",
777
+ "evidence": [],
778
+ "notes": "not implemented; statements fail loud via unsupported()"
779
+ },
780
+ "sql-droptstemplate": {
781
+ "status": "UNSUPPORTED",
782
+ "evidence": [],
783
+ "notes": "not implemented; statements fail loud via unsupported()"
784
+ },
785
+ "sql-droptransform": {
786
+ "status": "UNSUPPORTED",
787
+ "evidence": [],
788
+ "notes": "not implemented; statements fail loud via unsupported()"
789
+ },
790
+ "sql-droptrigger": {
791
+ "status": "VERIFIED",
792
+ "evidence": [
793
+ "tests/contract/triggers/"
794
+ ],
795
+ "notes": ""
796
+ },
797
+ "sql-droptype": {
798
+ "status": "VERIFIED",
799
+ "evidence": [
800
+ "tests/contract/types/"
801
+ ],
802
+ "notes": ""
803
+ },
804
+ "sql-dropuser": {
805
+ "status": "NOT_APPLICABLE",
806
+ "evidence": [],
807
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
808
+ },
809
+ "sql-dropusermapping": {
810
+ "status": "NOT_APPLICABLE",
811
+ "evidence": [],
812
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
813
+ },
814
+ "sql-dropview": {
815
+ "status": "VERIFIED",
816
+ "evidence": [
817
+ "tests/contract/views/"
818
+ ],
819
+ "notes": ""
820
+ },
821
+ "sql-end": {
822
+ "status": "VERIFIED",
823
+ "evidence": [
824
+ "tests/contract/transactions/"
825
+ ],
826
+ "notes": ""
827
+ },
828
+ "sql-execute": {
829
+ "status": "VERIFIED",
830
+ "evidence": [
831
+ "tests/contract/prepare-execute/"
832
+ ],
833
+ "notes": ""
834
+ },
835
+ "sql-explain": {
836
+ "status": "PARTIALLY_VERIFIED",
837
+ "evidence": [
838
+ "tests/contract/errors/"
839
+ ],
840
+ "notes": "stub plan shapes; not plan-identical"
841
+ },
842
+ "sql-fetch": {
843
+ "status": "UNSUPPORTED",
844
+ "evidence": [],
845
+ "notes": "protocol cursors fail loud"
846
+ },
847
+ "sql-grant": {
848
+ "status": "PARTIALLY_VERIFIED",
849
+ "evidence": [
850
+ "tests/contract/misc/"
851
+ ],
852
+ "notes": "parsed no-op (no roles)"
853
+ },
854
+ "sql-importforeignschema": {
855
+ "status": "NOT_APPLICABLE",
856
+ "evidence": [],
857
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
858
+ },
859
+ "sql-insert": {
860
+ "status": "VERIFIED",
861
+ "evidence": [
862
+ "tests/contract/insert/",
863
+ "tests/contract/on-conflict/",
864
+ "tests/contract/returning/"
865
+ ],
866
+ "notes": ""
867
+ },
868
+ "sql-listen": {
869
+ "status": "UNSUPPORTED",
870
+ "evidence": [],
871
+ "notes": "LISTEN/NOTIFY fails loud (single session)"
872
+ },
873
+ "sql-load": {
874
+ "status": "NOT_APPLICABLE",
875
+ "evidence": [],
876
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
877
+ },
878
+ "sql-lock": {
879
+ "status": "PARTIALLY_VERIFIED",
880
+ "evidence": [
881
+ "tests/contract/transactions/"
882
+ ],
883
+ "notes": "parsed no-op; no concurrent lockers exist"
884
+ },
885
+ "sql-merge": {
886
+ "status": "UNSUPPORTED",
887
+ "evidence": [],
888
+ "notes": "MERGE fails loud; use INSERT ... ON CONFLICT"
889
+ },
890
+ "sql-move": {
891
+ "status": "UNSUPPORTED",
892
+ "evidence": [],
893
+ "notes": "protocol cursors fail loud"
894
+ },
895
+ "sql-notify": {
896
+ "status": "UNSUPPORTED",
897
+ "evidence": [],
898
+ "notes": "LISTEN/NOTIFY fails loud (single session)"
899
+ },
900
+ "sql-prepare": {
901
+ "status": "VERIFIED",
902
+ "evidence": [
903
+ "tests/contract/prepare-execute/"
904
+ ],
905
+ "notes": ""
906
+ },
907
+ "sql-prepare-transaction": {
908
+ "status": "NOT_APPLICABLE",
909
+ "evidence": [],
910
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
911
+ },
912
+ "sql-reassign-owned": {
913
+ "status": "NOT_APPLICABLE",
914
+ "evidence": [],
915
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
916
+ },
917
+ "sql-refreshmaterializedview": {
918
+ "status": "VERIFIED",
919
+ "evidence": [
920
+ "tests/contract/views/"
921
+ ],
922
+ "notes": ""
923
+ },
924
+ "sql-reindex": {
925
+ "status": "PARTIALLY_VERIFIED",
926
+ "evidence": [
927
+ "tests/contract/misc/"
928
+ ],
929
+ "notes": "parsed no-op"
930
+ },
931
+ "sql-release-savepoint": {
932
+ "status": "VERIFIED",
933
+ "evidence": [
934
+ "tests/contract/savepoints/"
935
+ ],
936
+ "notes": ""
937
+ },
938
+ "sql-reset": {
939
+ "status": "VERIFIED",
940
+ "evidence": [
941
+ "tests/contract/set-show/"
942
+ ],
943
+ "notes": ""
944
+ },
945
+ "sql-revoke": {
946
+ "status": "PARTIALLY_VERIFIED",
947
+ "evidence": [
948
+ "tests/contract/misc/"
949
+ ],
950
+ "notes": "parsed no-op (no roles)"
951
+ },
952
+ "sql-rollback": {
953
+ "status": "VERIFIED",
954
+ "evidence": [
955
+ "tests/contract/transactions/"
956
+ ],
957
+ "notes": ""
958
+ },
959
+ "sql-rollback-prepared": {
960
+ "status": "NOT_APPLICABLE",
961
+ "evidence": [],
962
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
963
+ },
964
+ "sql-rollback-to": {
965
+ "status": "VERIFIED",
966
+ "evidence": [
967
+ "tests/contract/savepoints/"
968
+ ],
969
+ "notes": ""
970
+ },
971
+ "sql-savepoint": {
972
+ "status": "VERIFIED",
973
+ "evidence": [
974
+ "tests/contract/savepoints/"
975
+ ],
976
+ "notes": ""
977
+ },
978
+ "sql-security-label": {
979
+ "status": "PARTIALLY_VERIFIED",
980
+ "evidence": [
981
+ "tests/contract/misc/"
982
+ ],
983
+ "notes": "parsed no-op"
984
+ },
985
+ "sql-select": {
986
+ "status": "VERIFIED",
987
+ "evidence": [
988
+ "tests/contract/select/",
989
+ "tests/contract/joins/",
990
+ "tests/contract/grouping/",
991
+ "tests/fuzz/"
992
+ ],
993
+ "notes": ""
994
+ },
995
+ "sql-selectinto": {
996
+ "status": "UNSUPPORTED",
997
+ "evidence": [],
998
+ "notes": "use CREATE TABLE AS; SELECT INTO fails loud"
999
+ },
1000
+ "sql-set": {
1001
+ "status": "VERIFIED",
1002
+ "evidence": [
1003
+ "tests/contract/set-show/"
1004
+ ],
1005
+ "notes": ""
1006
+ },
1007
+ "sql-set-constraints": {
1008
+ "status": "PARTIALLY_VERIFIED",
1009
+ "evidence": [
1010
+ "tests/contract/foreign-keys/"
1011
+ ],
1012
+ "notes": "DEFERRABLE parsed; constraints check at statement end"
1013
+ },
1014
+ "sql-set-role": {
1015
+ "status": "NOT_APPLICABLE",
1016
+ "evidence": [],
1017
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
1018
+ },
1019
+ "sql-set-session-authorization": {
1020
+ "status": "NOT_APPLICABLE",
1021
+ "evidence": [],
1022
+ "notes": "roles/replication/storage/server-admin surface; out of scope for an in-memory single-session engine"
1023
+ },
1024
+ "sql-set-transaction": {
1025
+ "status": "PARTIALLY_VERIFIED",
1026
+ "evidence": [
1027
+ "tests/contract/transactions/"
1028
+ ],
1029
+ "notes": "parsed; isolation levels are meaningless in a single-session engine"
1030
+ },
1031
+ "sql-show": {
1032
+ "status": "VERIFIED",
1033
+ "evidence": [
1034
+ "tests/contract/set-show/"
1035
+ ],
1036
+ "notes": ""
1037
+ },
1038
+ "sql-start-transaction": {
1039
+ "status": "PARTIALLY_VERIFIED",
1040
+ "evidence": [
1041
+ "tests/contract/transactions/"
1042
+ ],
1043
+ "notes": "isolation-level clauses parsed; single-session engine has no concurrent isolation"
1044
+ },
1045
+ "sql-truncate": {
1046
+ "status": "VERIFIED",
1047
+ "evidence": [
1048
+ "tests/contract/delete/"
1049
+ ],
1050
+ "notes": ""
1051
+ },
1052
+ "sql-unlisten": {
1053
+ "status": "UNSUPPORTED",
1054
+ "evidence": [],
1055
+ "notes": "LISTEN/NOTIFY fails loud (single session)"
1056
+ },
1057
+ "sql-update": {
1058
+ "status": "VERIFIED",
1059
+ "evidence": [
1060
+ "tests/contract/update/",
1061
+ "tests/contract/update-from/"
1062
+ ],
1063
+ "notes": ""
1064
+ },
1065
+ "sql-vacuum": {
1066
+ "status": "PARTIALLY_VERIFIED",
1067
+ "evidence": [
1068
+ "tests/contract/misc/"
1069
+ ],
1070
+ "notes": "parsed no-op; there is no physical storage to vacuum"
1071
+ },
1072
+ "sql-values": {
1073
+ "status": "VERIFIED",
1074
+ "evidence": [
1075
+ "tests/contract/select/",
1076
+ "tests/contract/unions/"
1077
+ ],
1078
+ "notes": ""
1079
+ }
1080
+ }
1081
+ }