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

babelfish-for-postgresql / babelfish_extensions / 24609502649
77%

Build:
DEFAULT BRANCH: BABEL_6_X_DEV
Ran 18 Apr 2026 05:26PM 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

18 Apr 2026 05:00PM UTC coverage: 77.15%. Remained the same
24609502649

push

github

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

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

53343 of 69142 relevant lines covered (77.15%)

626131.51 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24609502649.1 18 Apr 2026 05:26PM UTC 121
77.15
GitHub Action Run
Source Files on build 24609502649
  • 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 #24609502649
  • 7a07c14b on github
  • Prev Build on BABEL_6_X_DEV (#24568264121)
  • Next Build on BABEL_6_X_DEV (#24609517525)
  • 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