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

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

Build:
Build:
LAST BUILD BRANCH: jira-babel-6260-4_9
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 18 Jan 2026 01:44PM UTC
Jobs 1
Files 120
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

18 Jan 2026 01:04PM UTC coverage: 75.948% (+0.01%) from 75.937%
21112201805

push

github

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

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%)

50450 of 66427 relevant lines covered (75.95%)

395510.67 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
82.98
0.3% contrib/babelfishpg_tsql/src/multidb.c
1
90.79
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 21112201805.1 18 Jan 2026 01:44PM UTC 120
75.95
GitHub Action Run
Source Files on build 21112201805
  • Tree
  • List 120
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21112201805
  • 69734ca6 on github
  • Prev Build on BABEL_4_9_STABLE (#21033023053)
  • 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