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

babelfish-for-postgresql / babelfish_extensions / 17826501005
78%
BABEL_6_X_DEV: 78%

Build:
Build:
LAST BUILD BRANCH: jira-babel-6037
DEFAULT BRANCH: BABEL_6_X_DEV
Ran 18 Sep 2025 11:24AM UTC
Jobs 1
Files 121
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

18 Sep 2025 10:59AM UTC coverage: 76.441% (+0.02%) from 76.425%
17826501005

push

github

web-flow
fixing revoke permission from object behaviour (#3994)

Problem : When we grant some permissions on schema and object in that schema to a user, in that case regardless of permission that we are trying to revoke, in babelfish we never really execute the revoke and just update the catalog.
Fixed the issue by adding a permission check in the privilege check function so that we execute revoke when the schema permission and object permission are not common.
Secondly, we are revoking the permission which are already not granted to the schema, if any permission granted to schema and object both then we won't revoke it, for that we are updating the grant-privileges list in the query tree itself before execution stage.

Issues Resolved
[BABEL-5904]

Signed-off-by: pranav jain <pranav23iitd@gmail.com>

80 of 83 new or added lines in 4 files covered. (96.39%)

211 existing lines in 3 files now uncovered.

50982 of 66695 relevant lines covered (76.44%)

384358.01 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
90.68
0.05% contrib/babelfishpg_tsql/src/pl_handler.c
1
86.53
0.01% contrib/babelfishpg_tsql/src/catalog.c

Coverage Regressions

Lines Coverage ∆ File
105
90.68
0.05% contrib/babelfishpg_tsql/src/pl_handler.c
96
86.53
0.01% contrib/babelfishpg_tsql/src/catalog.c
10
92.2
0.05% contrib/babelfishpg_tsql/src/pltsql_utils.c
Jobs
ID Job ID Ran Files Coverage
1 17826501005.1 18 Sep 2025 11:24AM UTC 121
76.44
GitHub Action Run
Source Files on build 17826501005
  • Tree
  • List 121
  • Changed 4
  • Source Changed 4
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17826501005
  • 03224088 on github
  • Prev Build on BABEL_5_X_DEV (#17825112029)
  • Next Build on BABEL_5_X_DEV (#17826568003)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc