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

amazon-aurora / babelfish_extensions / 16226894595
76%
main: 77%

Build:
Build:
LAST BUILD BRANCH: jira-babel-6404-part2
DEFAULT BRANCH: main
Ran 11 Jul 2025 06:39PM UTC
Jobs 1
Files 120
Run time 2min
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

11 Jul 2025 06:14PM UTC coverage: 76.022%. Remained the same
16226894595

push

github

Rahul Parande
Support for weak binding views to allow dropping of underlying objects.This commit introduces support for both strong and weak view binding in Babelfish, aligning more closely with SQL Server's default behavior while maintaining flexibility.

Key changes:
- Introduce GUC parameter 'babelfishpg_tsql.weak_view_binding' to control default binding behavior (default: false)
- Support explicit WITH SCHEMABINDING clause for strong binding
- Implement weak binding to allow dropping of referenced objects
- Handle ALTER VIEW operations in both binding modes
- Add logic to repair broken views when underlying objects are recreated

Limitations:
- Only addresses DROP operations on tables, views, functions, and procedures
- ALTER TABLE/ALTER FUNCTION operations still restricted when dependent views exist
- View repair follows PostgreSQL's CREATE OR REPLACE VIEW restrictions

Signed-off-by: Rahul Parande <rparande@amazon.com>

359 of 388 new or added lines in 7 files covered. (92.53%)

2228 existing lines in 7 files now uncovered.

49907 of 65648 relevant lines covered (76.02%)

317287.26 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
86.47
0.0% contrib/babelfishpg_tsql/src/catalog.c
23
85.44
0.0% contrib/babelfishpg_tsql/src/hooks.c

Uncovered Existing Lines

Lines Coverage ∆ File
5
97.07
0.0% contrib/babelfishpg_tsql/src/guc.c
17
83.98
0.0% contrib/babelfishpg_tsql/runtime/functions.c
231
90.32
0.0% contrib/babelfishpg_tsql/src/tsqlIface.cpp
235
86.47
0.0% contrib/babelfishpg_tsql/src/catalog.c
240
90.47
0.0% contrib/babelfishpg_tsql/src/pl_handler.c
316
85.44
0.0% contrib/babelfishpg_tsql/src/hooks.c
1184
44.49
0.0% contrib/babelfishpg_tsql/src/pl_exec.c
Jobs
ID Job ID Ran Files Coverage
1 16226894595.1 11 Jul 2025 06:39PM UTC 120
76.02
GitHub Action Run
Source Files on build 16226894595
  • Tree
  • List 120
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16226894595
  • 58a2148b on github
  • Prev Build on weak-view (#16225427528)
  • 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