Skip to content

Backport to 2.27.x: #9736: Do logical sparse index comparison - #9775

Merged
timescale-automation merged 5 commits into
2.27.xfrom
backport/2.27.x/9736
May 11, 2026
Merged

Backport to 2.27.x: #9736: Do logical sparse index comparison#9775
timescale-automation merged 5 commits into
2.27.xfrom
backport/2.27.x/9736

Conversation

@timescale-automation

Copy link
Copy Markdown
Member

This is an automated backport of #9736: Do logical sparse index comparison.
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

Do logical sparse index comparison

Sparse index JSONB arrays can have objects in different order while
being logically identical, e.g. after ALTER TABLE changes the
compress_index declaration order. Replace ts_jsonb_equal with a new
ts_sparse_index_equal that parses both sides and matches objects as
an unordered set.

Sparse index JSONB arrays can have objects in different order while
being logically identical, e.g. after ALTER TABLE changes the
compress_index declaration order. Replace ts_jsonb_equal with a new
ts_sparse_index_equal that parses both sides and matches objects as
an unordered set.

(cherry picked from commit 607bbd5)
@timescale-automation timescale-automation added the is-auto-backport PR created by backport automation label May 11, 2026
@timescale-automation
timescale-automation enabled auto-merge (rebase) May 11, 2026 19:14
@codecov

codecov Bot commented May 11, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.29630% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/ts_catalog/compression_settings.c 96.29% 1 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@timescale-automation
timescale-automation merged commit 80d6cb8 into 2.27.x May 11, 2026
50 checks passed
@timescale-automation
timescale-automation deleted the backport/2.27.x/9736 branch May 11, 2026 21:42
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