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

babelfish-for-postgresql / babelfish_extensions / 10916898294
74%
BABEL_5_X_DEV: 77%

Build:
Build:
LAST BUILD BRANCH: babel_6032
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 18 Sep 2024 07:26AM UTC
Jobs 1
Files 114
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 2024 06:39AM UTC coverage: 73.653% (+0.02%) from 73.632%
10916898294

push

github

web-flow
[Fix] Database owner login is unable to view db objects in SSMS (#2925)

Currently in babelfish when we create a login (e.g. postjend_svc) and a database (e.g. test) and make postjend_svc owner of test and then connect to SSMS object explorer as login "postjend_svc" to database "test" and try to expand the "Database" field to view the objects. It does not show anything. With this change the login with be able to expand the "Database" field.

The issue arised because when the databases are expanded in SSMS, a query is being executed which contains a cross-db query. Currently, we handle cross-db queries by switching the database and current user. This cross-db query is resulting into permission denied error due to lack of permission of the current user (which is switched internally to master_guest) to insert into a table created in "test" db.

Task: BABEL-5119, BABEL-5218

Signed-off-by: P Aswini Kumar <aswinii@amazon.com>

50 of 52 new or added lines in 5 files covered. (96.15%)

2 existing lines in 2 files now uncovered.

42768 of 58067 relevant lines covered (73.65%)

139364.37 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
74.01
0.63% contrib/babelfishpg_tsql/src/dbcmds.c
1
83.17
0.42% contrib/babelfishpg_tsql/src/rolecmds.c

Uncovered Existing Lines

Lines Coverage ∆ File
1
85.17
-0.07% contrib/babelfishpg_tsql/src/catalog.c
1
70.48
-0.22% contrib/babelfishpg_tds/src/backend/tds/tdsutils.c
Jobs
ID Job ID Ran Files Coverage
1 10916898294.1 18 Sep 2024 07:26AM UTC 114
73.65
GitHub Action Run
Source Files on build 10916898294
  • Tree
  • List 114
  • Changed 71
  • Source Changed 5
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #10916898294
  • a70e01be on github
  • Prev Build on BABEL_3_X_DEV (#10900503761)
  • Next Build on BABEL_3_X_DEV (#10934830818)
  • 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