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

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

Build:
Build:
LAST BUILD BRANCH: fix_script_injection
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 29 Apr 2024 12:02PM 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

29 Apr 2024 11:22AM UTC coverage: 72.552% (+0.02%) from 72.529%
8877720379

push

github

web-flow
Support Renaming Databases In Babelfish (#2502)

With this commit we add support to rename a TSQL database. All the three options available in TSQL are now supported:

    ALTER DATABASE <CURRENT_DB_NAME> MODIFY NAME = <NEW_DB_NAME>
    EXEC SP_RENAME '<CURRENT_DB_NAME>', '<NEW_DB_NAME>', 'DATABASE'
    EXEC SP_RENAMEDB '<CURRENT_DB_NAME>', '<NEW_DB_NAME>'

Authored-by: Kushaal Shroff kushaal@amazon.com
Signed-off-by: Kushaal Shroff kushaal@amazon.com

238 of 305 new or added lines in 15 files covered. (78.03%)

399 existing lines in 3 files now uncovered.

41380 of 57035 relevant lines covered (72.55%)

60248.83 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
71.19
0.0% contrib/babelfishpg_tsql/src/dbcmds.c
1
83.12
-0.02% contrib/babelfishpg_tsql/src/iterative_exec.c
1
79.32
0.04% contrib/babelfishpg_tsql/src/rolecmds.c
1
85.47
-0.06% contrib/babelfishpg_tsql/src/tsqlUnsupportedFeatureHandler.cpp
4
93.28
-0.84% contrib/babelfishpg_tds/src/backend/tds/tds.c
6
38.57
-0.58% contrib/babelfishpg_tsql/src/pl_funcs-2.c
7
89.12
-0.04% contrib/babelfishpg_tsql/src/procedures.c
46
84.07
-1.26% contrib/babelfishpg_tsql/src/catalog.c

Uncovered Existing Lines

Lines Coverage ∆ File
1
38.57
-0.58% contrib/babelfishpg_tsql/src/pl_funcs-2.c
136
79.32
0.04% contrib/babelfishpg_tsql/src/rolecmds.c
262
79.8
-0.03% contrib/babelfishpg_tsql/src/hooks.c
Jobs
ID Job ID Ran Files Coverage
1 8877720379.1 29 Apr 2024 12:02PM UTC 114
72.55
GitHub Action Run
Source Files on build 8877720379
  • Tree
  • List 114
  • Changed 71
  • Source Changed 17
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #8877720379
  • 76664c7e on github
  • Prev Build on BABEL_4_X_DEV (#8855864333)
  • Next Build on BABEL_4_X_DEV (#8899847439)
  • 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