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

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

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

05 Mar 2024 05:14AM UTC coverage: 72.235% (-0.005%) from 72.24%
8151381536

push

github

web-flow
Populate the dbid column of babelfish_extended_properties during restore (#2382)

Previously, there were two issues with the dump of `babelfish_extended_properties`
catalog table:  
1. Current restore logic requires that `babelfish_sysdatabases` table's data gets restored first before any other table containing `dbid` column so that we generate the `dbid` once in the beginning and use it for all the remaining tables. But it was not the case yet.
2. `sql_variant` column handling was not there for catalog table's data but  `babelfish_extended_properties` contains it.

The engine side commit fixes both the above two issues so that we correctly dump the data of `babelfish_extended_properties` catalog.
Engine PR: https://github.com/babelfish-for-postgresql/postgresql_modified_for_babelfish/pull/314

This commit adds handling to populate  the dbid column of babelfish_extended_properties during restore.

Task: BABEL-4720 
Signed-off-by: Rishabh Tanwar <ritanwar@amazon.com>

### Issues Resolved
https://github.com/babelfish-for-postgresql/babelfish_extensions/issues/2256

2 of 6 new or added lines in 3 files covered. (33.33%)

2 existing lines in 1 file now uncovered.

40404 of 55934 relevant lines covered (72.24%)

58625.9 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
79.82
-0.04% contrib/babelfishpg_tsql/src/hooks.c
2
91.32
-0.03% contrib/babelfishpg_tsql/src/pl_handler.c

Uncovered Existing Lines

Lines Coverage ∆ File
2
81.78
-0.15% contrib/babelfishpg_tsql/src/catalog.c
Jobs
ID Job ID Ran Files Coverage
1 8151381536.1 05 Mar 2024 05:52AM UTC 114
72.24
GitHub Action Run
Source Files on build 8151381536
  • Tree
  • List 114
  • Changed 68
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #8151381536
  • dbb9293e on github
  • Prev Build on BABEL_4_X_DEV (#8100560438)
  • Next Build on BABEL_4_X_DEV (#8151409033)
  • 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