Skip to content

Backport to 2.28.x: #10265: Truncate constraint name before trying to rename - #10267

Merged
timescale-automation merged 1 commit into
2.28.xfrom
backport/2.28.x/10265
Jul 16, 2026
Merged

Backport to 2.28.x: #10265: Truncate constraint name before trying to rename#10267
timescale-automation merged 1 commit into
2.28.xfrom
backport/2.28.x/10265

Conversation

@timescale-automation

Copy link
Copy Markdown
Member

This is an automated backport of #10265: Truncate constraint name before trying to rename.
This PR will be merged automatically after all the relevant CI checks pass. If this fix should not be backported, or will be backported manually, just close this PR. You can use the backport branch to add your changes, it won't be modified automatically anymore.

For more details, please see the documentation

Original description

Truncate constraint name before trying to rename

The check whether to rename a constraint would operate on the
untruncated names which resulting in an error when the constraint
name would be the same after truncation.

The check whether to rename a constraint would operate on the
untruncated names which resulting in an error when the constraint
name would be the same after truncation.

(cherry picked from commit 18b6932)
@codecov

codecov Bot commented Jul 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@timescale-automation
timescale-automation merged commit 83391fe into 2.28.x Jul 16, 2026
65 checks passed
@timescale-automation
timescale-automation deleted the backport/2.28.x/10265 branch July 16, 2026 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

is-auto-backport PR created by backport automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants