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

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

Build:
Build:
LAST BUILD BRANCH: babel-6223_5_5_stable
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 17 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

17 Jan 2026 01:48PM UTC coverage: 76.401% (+0.01%) from 76.39%
21095263080

push

github

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

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


(cherry picked from commit 67248ef01)

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

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

51588 of 67523 relevant lines covered (76.4%)

381657.8 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
82.98
0.3% contrib/babelfishpg_tsql/src/multidb.c
1
90.75
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 21095263080.1 17 Jan 2026 02:13PM UTC 121
76.4
GitHub Action Run
Source Files on build 21095263080
  • 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 #21095263080
  • 4dfb3b9d on github
  • Prev Build on BABEL_5_4_STABLE (#21089869944)
  • Next Build on BABEL_5_4_STABLE (#21282981218)
  • 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