• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

babelfish-for-postgresql / babelfish_extensions / 17619831235
77%

Build:
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 10 Sep 2025 04:34PM UTC
Jobs 1
Files 120
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Sep 2025 04:09PM UTC coverage: 76.307% (+0.004%) from 76.303%
17619831235

push

github

web-flow
Fixed error when parallel worker tries to access rel with oid > INT32_MAX (#4065)

As part of the commit 6da7ff0, we introduced logic to skip permission checking of Babelfish temp table on Parallel
workers. But logic will run into an error if Oid is greated than INT32_MAX because Bitmapset was used to communicate
Oids from leader node to parallel worker. This Bitmapset can only work with signed integer meaning if Oid value is
greater than INT32_MAX then it will be rounded off to negative value in signed integer and Bitmapset will throw an error
that it can't handle negative values.

In order to fix this overflow issue, we create one more bitmapset especially for Oid > INT32_MAX and communicate it
with parallel worker. Construction of bitmapset now would look like this,

if relid <= INT32_MAX
    add relid to temp_relids
else
    add (relid - INT32_MAX - 1) to temp_relids_beyond_int32

Task: BABEL-6079
Signed-off-by: Dipesh Dhameliya <dddhamel@amazon.com>

15 of 19 new or added lines in 1 file covered. (78.95%)

50446 of 66109 relevant lines covered (76.31%)

383870.0 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
67.8
4.16% contrib/babelfishpg_tsql/src/bbf_parallel_query.c
Jobs
ID Job ID Ran Files Coverage
1 17619831235.1 10 Sep 2025 04:34PM UTC 120
76.31
GitHub Action Run
Source Files on build 17619831235
  • Tree
  • List 120
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17619831235
  • aa4ff650 on github
  • Prev Build on BABEL_5_X_DEV (#17617106203)
  • Next Build on BABEL_5_X_DEV (#17639085743)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc