Skip to content

PostgreSQL: distinct list values, with 260 cases recorded on 18.6 - #49

Open
kvlonge wants to merge 3 commits into
mainfrom
postgres-distinct-list-values
Open

kvlonge wants to merge 3 commits into
mainfrom
postgres-distinct-list-values

Conversation

@kvlonge

@kvlonge kvlonge commented Dec 6, 2026 •

Copy link
Copy Markdown
Contributor

Why

PostgreSQL cases with distinct list items still copied a later item's string and number values as written (ENUM ( 'm' , 'm' ), TO 1 , 1). The builder now gives those values the next value and gives seven repeated typed values a declared second value, so the cases test the list syntax without a repeat.

Changes

  • syntax/postgres/cases: 257 cases in, 255 out (ddl 76, functions 101, expressions 51, dml 15, query 6, security_admin 8).
  • syntax/postgres/receipts: 260 receipts appended, recorded on the pinned postgres:18.6 image (sha256:bd5dfa49…) with the raw parser. Existing lines are unchanged.

Verification

  • A repeat run on a fresh container matched on phase, SQLSTATE and message for all 260.
  • A second commit keeps ORDER BY 1 USING < , 1 as written in three query cases, as main has it; the first commit had stepped the position to 2. Two return to main's cases and receipts, and one VALUES case gets one new receipt. Three receipts of the first commit's versions are left unused (none refused as syntax).
  • Every new case matches its expectation: the accepts are 75 accepted, 99 semantic, 10 runtime and 5 unsupported; the 70 rejects are syntax errors. Every replaced case matched too, so no obligation's verdict changes. No accept case is refused for a repeat.
  • The builder's --check against this tree reports 0 stale.

Builder: bcb48435d3370833a68ea4caa46069a7ff716a14

@kvlonge kvlonge changed the title PostgreSQL: distinct list values, with 259 cases recorded on 18.6 PostgreSQL: distinct list values, with 260 cases recorded on 18.6 Dec 6, 2026
@kvlonge kvlonge closed this Dec 6, 2026
@kvlonge kvlonge reopened this Dec 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant