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

babelfish-for-postgresql / babelfish_extensions / 11164747429
76%
BABEL_5_X_DEV: 77%

Build:
Build:
LAST BUILD BRANCH: datetime2fromparts_bugfix
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 03 Oct 2024 03:53PM 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

03 Oct 2024 03:16PM UTC coverage: 74.474%. Remained the same
11164747429

push

github

web-flow
Dump physical database aclprivs for fixed database roles (#3003)

We were not dumping the acls on physical database granted to fixed database roles of user defined databases in babelfish dump and restore. As a result after bbf dump CREATE SCHEMA. would fail we permission denied error.

As a fix, dump a DO block which will run all the grant statements again for the fixed database roles for user defined logical databases. While running these grants we will switch to sysadmin because it has all the necessary permissions to grant and so that DROP DATABASE also works correctly. We internally switch to sysadmin when executing revoke commands during drop db commands, which would only work if grantor was also sysadmin.

Test Scenario: CREATE SCEHMA works for dbo user after babelfish dump restore.
Added future proofing, when new fixed db roles are supported there will be test failures if physical database aclprivs are not dumped.

Engine PR : https://github.com/babelfish-for-postgresql/postgresql_modified_for_babelfish/pull/456
Extension PR : https://github.com/babelfish-for-postgresql/babelfish_extensions/pull/3003 

Task: BABEL-5294
Signed-off-by: Tanzeel Khan <tzlkhan@amazon.com>

45121 of 60586 relevant lines covered (74.47%)

162083.77 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11164747429.1 03 Oct 2024 03:53PM UTC 115
74.47
GitHub Action Run
Source Files on build 11164747429
  • Tree
  • List 115
  • Changed 66
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #11164747429
  • dd1a5c02 on github
  • Prev Build on BABEL_4_X_DEV (#11160101100)
  • Next Build on BABEL_4_X_DEV (#11256391296)
  • 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

© 2025 Coveralls, Inc