Repository navigation
PostgreSQL: distinct list items, with 437 cases recorded on 18.6 - #42
Merged
Merged
Conversation
The case build now gives a second list item, and the second item of the WITH, WINDOW, RETURNING and ordered-set aggregate readings, distinct names. 346 cases change (302 accept, 44 reject); each was recorded on the pinned postgres:18.6 image with the raw parser, and a repeat run matched. No accept case is refused on a duplicate name.
Contributor
Author
|
Fixes-only check at e486ff1 for append-only: fixed.
The SQLBabel side is still in review: 32 accept cases still repeat a named list item. I've sent the details to the PR's author. |
…74 cases that change
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
PostgreSQL accept cases repeated a named list item (
TO v1 , v1,SET c1 = 1 , c1 = 1,ENUM ( 'm' , 'm' )). Some were credited only because PostgreSQL refused a missing object first, or refused the duplicate itself. The case build now writes distinct items, so these cases test the list syntax honestly.Changes
syntax/postgres/cases: the cases whose lists repeated a named item are replaced by cases that name distinct items, in three rounds: 346, then 74, then 17 (with ALTER TYPE lists now continued by<attribute_name>).syntax/postgres/receipts: 437 receipts appended, recorded on the pinnedpostgres:18.6image (sha256:bd5dfa49…) with the raw parser (pg_query 18.1.0 / libpg_query 18.6). Existing lines are unchanged.Verification
--checkagainst this tree: 0 stale.syntax-coverage summary: 0 problems; 23,711/23,711 obligations satisfied.Builder: 902f1c9979c538ca67b0155637ca08ef1e3eb952