Skip to content

PostgreSQL: Add support for SET CONSTRAINTS - #2995

Open
LucaCappelletti94 wants to merge 1 commit into
mainfrom
upstream/set-constraints
Open

LucaCappelletti94 wants to merge 1 commit into
mainfrom
upstream/set-constraints

Conversation

@LucaCappelletti94

Copy link
Copy Markdown
Contributor

The PR adds the CONSTRAINTS keyword and a branch in the generic SET parser, producing a new Set variant with the target (ALL or the constraint names, possibly schema-qualified) and the DEFERRED or IMMEDIATE mode.

@github-actions

Copy link
Copy Markdown

No dialect label was applied because the title does not name a SQL dialect.

If this change targets one or more dialects, edit the title to <Dialect>[, <Dialect>]: <description>, add a Dialects: <Dialect>[, <Dialect>] line to the description, or reply with one. Reply Dialects: none if the change is dialect-agnostic.

@LucaCappelletti94 LucaCappelletti94 changed the title Add support for SET CONSTRAINTS PostgreSQL: Add support for SET CONSTRAINTS Nov 18, 2026
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.23810% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 83.30%. Comparing base (9429cd3) to head (9134324).

Files with missing lines Patch % Lines
src/parser/mod.rs 90.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2995   +/-   ##
=======================================
  Coverage   83.29%   83.30%           
=======================================
  Files          42       42           
  Lines       35378    35399   +21     
  Branches    35378    35399   +21     
=======================================
+ Hits        29469    29489   +20     
  Misses       2456     2456           
- Partials     3453     3454    +1     

☔ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants