Skip to content

PostgreSQL: Parse custom typed string literals - #2689

Merged
LucaCappelletti94 merged 2 commits into
mainfrom
upstream/postgres-generic-typed-literal
Oct 21, 2026
Merged

LucaCappelletti94 merged 2 commits into
mainfrom
upstream/postgres-generic-typed-literal

Conversation

@LucaCappelletti94

Copy link
Copy Markdown
Contributor

For an existing user-defined type mood, PostgreSQL permits SELECT mood 'happy', meaning the value 'happy' with type mood. The parser rejects it in projections, predicates, and function arguments.

This PR adds support for this typed-constant syntax for user-defined types.

@LucaCappelletti94 LucaCappelletti94 added enhancement New feature or request PostgreSQL labels Oct 19, 2026
@codecov-commenter

codecov-commenter commented Oct 19, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.35%. Comparing base (d32825d) to head (029855b).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2689      +/-   ##
==========================================
+ Coverage   81.29%   81.35%   +0.05%     
==========================================
  Files          42       42              
  Lines       33950    34008      +58     
  Branches    33950    34008      +58     
==========================================
+ Hits        27601    27667      +66     
  Misses       2785     2785              
+ Partials     3564     3556       -8     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@LucaCappelletti94
LucaCappelletti94 added this pull request to the merge queue Oct 21, 2026
Merged via the queue into main with commit d4e2b28 Oct 21, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request PostgreSQL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants