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

babelfish-for-postgresql / babelfish_extensions / 21068407787
77%

Build:
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 16 Jan 2026 02:13PM UTC
Jobs 1
Files 121
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

16 Jan 2026 01:35PM UTC coverage: 76.959% (+0.01%) from 76.948%
21068407787

push

github

web-flow
Fix: Crash when dropping table variable related temp tables due to being in PG dialect (#4410)

In BABEL-6227, nested calls corrupted the dialect to 'postgres' causing
table variable temp table cleanup to fail. In BABEL-6239, nested calls left
the dialect as 'postgres' causing subsequent TSQL queries to be parsed
with the wrong parser.

This is because of using both direct assignment and set_config_option()
function together in a nested call stack. The set_config_option() function
is PGs GUC setting infrastructure which internally maintains a prev value
stack. This does not work well, if caller functions have used direct
assignment instead because it would mean that the value does not get
registered in the internal GUC stack, leading to restoration of incorrect
value for sql_dialect.

The fix for this is to use direct assignment in the culprit function which
is using set_config_option. Previously, we've made the decision to use
direct assignment instead of set_config because of perf related issues.

Task - BABEL-6227 & BABEL-6239

Signed-off-by: Ayush Shah <ayushdsh@amazon.com>

12 of 16 new or added lines in 3 files covered. (75.0%)

52704 of 68483 relevant lines covered (76.96%)

391965.11 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
82.98
0.3% contrib/babelfishpg_tsql/src/multidb.c
1
90.78
0.07% contrib/babelfishpg_tsql/src/pl_handler.c
2
91.75
4.84% contrib/babelfishpg_common/src/coerce.c
Jobs
ID Job ID Ran Files Coverage
1 21068407787.1 16 Jan 2026 02:13PM UTC 121
76.96
GitHub Action Run
Source Files on build 21068407787
  • Tree
  • List 121
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21068407787
  • 67248ef0 on github
  • Prev Build on BABEL_5_X_DEV (#21039838951)
  • Next Build on BABEL_5_X_DEV (#21071680503)
  • 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