Skip to content

Add conditional duplicate update metadata - #483

Merged
fulghum merged 1 commit into
mainfrom
fulghum/doltgres-3235
Sep 1, 2026
Merged

Add conditional duplicate update metadata#483
fulghum merged 1 commit into
mainfrom
fulghum/doltgres-3235

Conversation

@fulghum

@fulghum fulghum commented Aug 31, 2026

Copy link
Copy Markdown

Add insert AST metadata for a duplicate-update predicate and single-row affected-count semantics. This lets PostgreSQL dialect translation carry ON CONFLICT DO UPDATE ... WHERE behavior through the shared parser boundary.

Adds formatting and AST-walk coverage for the predicate.

Supports dolthub/doltgresql#3235.

@zachmu zachmu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Comment thread go/vt/sqlparser/ast.go Outdated
@fulghum
fulghum force-pushed the fulghum/doltgres-3235 branch 2 times, most recently from 0e1cd59 to d52b2ce Compare September 1, 2026 19:58
@fulghum
fulghum force-pushed the fulghum/doltgres-3235 branch from d52b2ce to 4e8902e Compare September 1, 2026 20:30
@fulghum
fulghum merged commit 5364bf8 into main Sep 1, 2026
4 checks passed
@fulghum
fulghum deleted the fulghum/doltgres-3235 branch September 1, 2026 21:03
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.

2 participants