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

babelfish-for-postgresql / babelfish_extensions / 24609441662
76%
BABEL_6_X_DEV: 77%

Build:
Build:
LAST BUILD BRANCH: SELECT-COUNT(-)-AS-matches
DEFAULT BRANCH: BABEL_6_X_DEV
Ran 18 Apr 2026 05:34PM 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 Apr 2026 04:56PM UTC coverage: 76.004%. Remained the same
24609441662

push

github

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

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

50569 of 66535 relevant lines covered (76.0%)

400950.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24609441662.1 18 Apr 2026 05:34PM UTC 120
76.0
GitHub Action Run
Source Files on build 24609441662
  • Tree
  • List 120
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24609441662
  • 4d3dee03 on github
  • Prev Build on BABEL_4_10_STABLE (#24525461392)
  • Next Build on BABEL_4_10_STABLE (#24791179409)
  • 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