Skip to content

Backport to 2.27.x: #9807: Fix int overflow in Arrow text body buffer computation - #9979

Merged
timescale-automation merged 2 commits into
2.27.xfrom
backport/2.27.x/9807
Jun 8, 2026
Merged

Backport to 2.27.x: #9807: Fix int overflow in Arrow text body buffer computation#9979
timescale-automation merged 2 commits into
2.27.xfrom
backport/2.27.x/9807

Conversation

@timescale-automation

Copy link
Copy Markdown
Member

This is an automated backport of #9807: Fix int overflow in Arrow text body buffer computation.
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

Fix int overflow in Arrow text body buffer computation

The PG text values can be up to 1GB in size, so the computation for extending the Arrow text body buffer could overflow. Switch it to use the Size type.

Disable-check: force-changelog-file

The PG text values can be up to 1GB in size, so the computation for
extending the Arrow text body buffer could overflow. Switch it to use
the Size type.

(cherry picked from commit cd4ca9d)
@codecov

codecov Bot commented Jun 5, 2026

Copy link
Copy Markdown

Codecov Report

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

Files with missing lines Patch % Lines
tsl/src/nodes/vector_agg/exec.c 66.66% 0 Missing and 2 partials ⚠️

📢 Thoughts on this report? Let us know!

@timescale-automation
timescale-automation merged commit 72f6339 into 2.27.x Jun 8, 2026
48 of 49 checks passed
@timescale-automation
timescale-automation deleted the backport/2.27.x/9807 branch June 8, 2026 15:56
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