Repository navigation
Commit 24cd1f3
committed
test: record PostgreSQL expression coverage gains and API contracts
Refresh the pinned PostgreSQL 18.4 accepted-statement inventory, selected CI
fixtures and compatibility report after the native expression grammar changes.
The 51,415-statement corpus now contains 26,243 complete-input AST results,
up 7,104 from 19,139 before this expression phase. All transitions are gains:
7,074 trailing-input and 30 partial cases become complete; no previously
complete case is lost. Newly complete statements comprise 6,454 SELECT,
310 INSERT, 268 EXPLAIN, 55 UPDATE, 14 DELETE, two SET and one CALL.
Document canonical cast emission, typed-literal length preservation, lexical
type leaves, PostgreSQL symbolic operator precedence, collation and named
arguments. Explain bind preservation, appended token/node kinds, planner
rejection and remaining grammar limits. Update the AST parameterization guide
because supported PostgreSQL CAST and typed string constants now rewrite
correctly instead of being rejected as generic functions or string aliases.
Retain the authorized phase plan, review rulings and completion evidence.
The source commit recorded in the report identifies the same parser sources
as the working tree measured immediately before committing. Complete-input
coverage checks status, classification, AST presence and consumption; it is
not semantic equivalence or a representative production-workload percentage.
Type/operator/catalog resolution and complete PostgreSQL grammar remain
outside the scope of this increment.
Validation: 1,370 C++ tests pass with 37 backend-dependent skips; all 42 focused
AST/expression tests pass under ASan/UBSan; all 87 compatibility harness tests
and 26,835 refreshed CI fixtures pass. Forty-six focused SQL reconstructions
match PostgreSQL ASTs after source positions are removed, and independent
review checks all 494 keyword classifications plus ten argument cases.
Benchmarks, reports of timings and benchmark build artifacts remain local.1 parent b06aa50 commit 24cd1f3
6 files changed
Lines changed: 16458 additions & 23200 deletions
File tree
- docs
- compatibility
- superpowers/plans
- tests/pg_compat
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
116 | 120 | | |
117 | 121 | | |
118 | 122 | | |
119 | 123 | | |
120 | 124 | | |
121 | | - | |
122 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
123 | 128 | | |
124 | 129 | | |
125 | 130 | | |
0 commit comments