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

babelfish-for-postgresql / babelfish_extensions / 11060145043
74%
BABEL_5_X_DEV: 77%

Build:
Build:
LAST BUILD BRANCH: BABEL-5577
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 26 Sep 2024 09:43PM 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

26 Sep 2024 08:58PM UTC coverage: 73.704% (+0.006%) from 73.698%
11060145043

push

github

web-flow
Fix crash when trying to alter temp table column type. (#2973)

In cases where a temp table column is being altered so that only the size changes (e.g. char(20) -> char(5)), the code path needs to drop the pg_depend entry from the normal catalog table (to be later recreated using the new target type). However, for ENR temp tables all catalog tuples are stored in currentQueryEnv and not actually in the catalogs themselves. Thus, the code would not be able to find the tuple for deletion, leading to an assertion error. Fix the issue by using ENRDropTuple() instead of CatalogTupleDelete() so that the code drops the tuple in the correct place.

Backport of babelfish-for-postgresql/postgresql_modified_for_babelfish#442

Note that there are additional changes compared to the original commit from babelfish-for-postgresql/postgresql_modified_for_babelfish#442 to allow this change to work with pg15, as there are commits which are present in pg16 which have not been backported to pg15 which are required for this change to work properly.

Task: BABEL-5273
Signed-off-by: Jason Teng <jasonten@amazon.com>

42819 of 58096 relevant lines covered (73.7%)

146941.99 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
6
90.0
0.08% contrib/babelfishpg_tds/src/backend/tds/tds_srv.c
39
84.0
0.44% contrib/babelfishpg_tds/src/backend/tds/tdsprotocol.c
133
88.46
0.04% contrib/babelfishpg_tsql/src/procedures.c
Jobs
ID Job ID Ran Files Coverage
1 11060145043.1 26 Sep 2024 09:43PM UTC 114
73.7
GitHub Action Run
Source Files on build 11060145043
  • Tree
  • List 114
  • Changed 73
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #11060145043
  • 62d76e7c on github
  • Prev Build on BABEL_3_X_DEV (#11047445511)
  • Next Build on BABEL_3_X_DEV (#11070088791)
  • 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