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

babelfish-for-postgresql / babelfish_extensions / 24438351464
77%
BABEL_6_X_DEV: 77%

Build:
Build:
LAST BUILD BRANCH: query
DEFAULT BRANCH: BABEL_6_X_DEV
Ran 15 Apr 2026 06:04AM 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

15 Apr 2026 05:38AM UTC coverage: 77.136%. Remained the same
24438351464

push

github

web-flow
Fix allocation of savepoint_name in correct memory context in pltsql_eval_txn_data (#4731)

pltsql_eval_txn_data uses pstrdup to update savepoint_name, which allocates memory in Current Memory Context (SPI Proc). Since txnStmt lives in CachedPlanQuery context, the savepoint_name becomes a dangling pointer when SPI Proc is destroyed after statement execution. When the cached plan is reused, RollbackToSavepoint reads freed memory via strcmp, which can lead to crashes or incorrect behavior.

Hence we use MemoryContextStrdup with cachedPlanSource->query_context to ensure savepoint_name is allocated in the same context as the plan node.

Task: BABEL-6440

Authored-by: Rucha Kulkarni ruchask@amazon.com

1 of 1 new or added line in 1 file covered. (100.0%)

53287 of 69082 relevant lines covered (77.14%)

408473.49 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24438351464.1 15 Apr 2026 06:04AM UTC 121
77.14
GitHub Action Run
Source Files on build 24438351464
  • Tree
  • List 121
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24438351464
  • b65a08d6 on github
  • Prev Build on BABEL_5_X_DEV (#24435129835)
  • Next Build on BABEL_5_X_DEV (#24579073114)
  • 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