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

babelfish-for-postgresql / babelfish_extensions / 13816463706
77%

Build:
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 12 Mar 2025 04:45PM UTC
Jobs 1
Files 115
Run time 7min
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

12 Mar 2025 04:24PM UTC coverage: 75.023% (-0.002%) from 75.025%
13816463706

push

github

web-flow
alter procedure/function will unexpectly delete pg_depend records (#3554)


Backgroud:
Previously when we implement alter procedure/function feature, we did
follow steps in update metadata:
1. Create a new procedure/function
2. use the old oid to replace the new oid in the pg_proc metadata
3. clean the pg_depend records refer to the new oid

Analysis:
But for the first step in creating a new proc/function, if the parameter
list is not change, it'll just update the old tuple, so in such case
old oid will be the same with new oid, in such case we should not drop
pg_depend records.

Fix:
Skip drop pg_depend records if old oid = new oid

Issue-resolved: BABEL-5601
Signed-off-by: Zhibai Song <szh@amazon.com>

11 of 11 new or added lines in 2 files covered. (100.0%)

47356 of 63122 relevant lines covered (75.02%)

188599.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13816463706.1 12 Mar 2025 04:45PM UTC 115
75.02
GitHub Action Run
Source Files on build 13816463706
  • Tree
  • List 115
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13816463706
  • 3145ba5c on github
  • Prev Build on BABEL_5_X_DEV (#13793050061)
  • Next Build on BABEL_5_X_DEV (#13828310282)
  • 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