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

babelfish-for-postgresql / babelfish_extensions / 17639085743
77%

Build:
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 11 Sep 2025 09:18AM 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

11 Sep 2025 08:42AM UTC coverage: 76.322% (+0.02%) from 76.307%
17639085743

push

github

web-flow
fix for DB user drop query when granted some permission (#3789)

Problem : If a user having some permissions over an object then we are not able to drop the user, which is not same as TSQL behaviour.Note: in PostgreSQL we can't drop a role before dropping it's dependencies.
Fix: we have to remove the grants(permission) given to the user via shared_dependency_acl before dropping the user.

    Added a check if user is grantor of some permissions then it can't be dropped.
    After dropping the user remove the entries corresponding to that user from schema permission catalog.
    To implement we have created a new function bbf_shdep_drop_owned_dependent_acl (forked from pg function shdepDropOwned).


Task: BABEL-3026

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

51 of 60 new or added lines in 3 files covered. (85.0%)

445 existing lines in 3 files now uncovered.

50551 of 66234 relevant lines covered (76.32%)

383634.1 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
86.52
0.04% contrib/babelfishpg_tsql/src/catalog.c
8
85.17
-0.11% contrib/babelfishpg_tsql/src/rolecmds.c

Uncovered Existing Lines

Lines Coverage ∆ File
2
76.23
-0.62% contrib/babelfishpg_tds/src/backend/tds/tdscomm.c
155
90.54
-0.08% contrib/babelfishpg_tsql/src/pl_handler.c
288
85.55
-0.05% contrib/babelfishpg_tsql/src/hooks.c
Jobs
ID Job ID Ran Files Coverage
1 17639085743.1 11 Sep 2025 09:18AM UTC 121
76.32
GitHub Action Run
Source Files on build 17639085743
  • Tree
  • List 121
  • Changed 5
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17639085743
  • 30ee745f on github
  • Prev Build on BABEL_5_X_DEV (#17619831235)
  • Next Build on BABEL_5_X_DEV (#17667796661)
  • 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