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

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

Build:
Build:
LAST BUILD BRANCH: datetime2fromparts_bugfix
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 24 Mar 2025 05:27AM 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

24 Mar 2025 04:55AM UTC coverage: 75.05% (+0.005%) from 75.045%
14027564039

push

github

web-flow
Prevent dropping of critical system views, functions, and procedures (#3480) (#3608)

This commit introduces restrictions to prevent the dropping of essential system views, functions, and procedures within the dbo schema for both TSQL and PSQL dialects:

    sp_addlinkedserver
    syspolicy_configuration
    syspolicy_system_health_state
    fn_syspolicy_is_automation_enabled

Generalized the restriction mechanism for handling all kinds of objects.

Note: Only superusers can drop these restricted objects and since this couldn't be added in jdbc test, adding the output here for more info:

-- psql
babelfish_db=# DROP VIEW msdb_dbo.syspolicy_system_health_state;
DROP VIEW

Task: JIRA-5145, JIRA-5146

Signed-off-by: Roshan Kanwar <rskanwar@amazon.com>

35 of 39 new or added lines in 2 files covered. (89.74%)

47636 of 63472 relevant lines covered (75.05%)

193193.96 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
90.43
-0.02% contrib/babelfishpg_tsql/src/pl_handler.c
3
47.73
1.9% contrib/babelfishpg_tsql/src/pl_funcs-2.c
Jobs
ID Job ID Ran Files Coverage
1 14027564039.1 24 Mar 2025 05:27AM UTC 115
75.05
GitHub Action Run
Source Files on build 14027564039
  • Tree
  • List 115
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14027564039
  • 59cb2041 on github
  • Prev Build on BABEL_4_X_DEV (#14027557120)
  • Next Build on BABEL_4_X_DEV (#14030250995)
  • 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