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

babelfish-for-postgresql / babelfish_extensions / 12634922941
77%

Build:
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 06 Jan 2025 03:41PM UTC
Jobs 1
Files 115
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

06 Jan 2025 03:07PM UTC coverage: 74.872% (+0.007%) from 74.865%
12634922941

push

github

web-flow
Performance Improvement of create login in BBF (#3291)

Engine PR : babelfish-for-postgresql/postgresql_modified_for_babelfish#507

In Major version 16 Babelfish introduced a new role bbf_admin_role which is a member of all the roles which created implicitly from TSQL. This increases the Load on any Grant/Revoke operations that happen since in BBF to "select the role through which it gets permission to current user to grant", is inefficient and loops over members of members to find the all members of the role even though the required role is find.
This commit optimizes the selection of role with is_admin_option true for babelfish by escaping the search for any TSQL roles conditionally.

Signed-off-by: ANJU BHARTI <abanju@dev-dsk-abanju-1c-ea0b53a0.eu-west-1.amazon.com>

Issues Resolved
BABEL-5349

13 of 16 new or added lines in 2 files covered. (81.25%)

46615 of 62260 relevant lines covered (74.87%)

165284.29 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
84.01
-0.02% contrib/babelfishpg_tsql/src/hooks.c
2
86.42
-0.01% contrib/babelfishpg_tsql/src/catalog.c
Jobs
ID Job ID Ran Files Coverage
1 12634922941.1 06 Jan 2025 03:41PM UTC 115
74.87
GitHub Action Run
Source Files on build 12634922941
  • Tree
  • List 115
  • Changed 51
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12634922941
  • 4602ff1d on github
  • Prev Build on BABEL_5_X_DEV (#12631744632)
  • Next Build on BABEL_5_X_DEV (#12645687225)
  • 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