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

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

Build:
Build:
LAST BUILD BRANCH: BABEL_6401_MULTILINESTRING
DEFAULT BRANCH: BABEL_6_X_DEV
Ran 18 Apr 2026 05:23PM 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 04:56PM UTC coverage: 76.837% (+0.07%) from 76.763%
24609440557

push

github

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

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

94 existing lines in 3 files now uncovered.

53115 of 69127 relevant lines covered (76.84%)

617832.88 hits per line

Coverage Regressions

Lines Coverage ∆ File
72
94.78
0.02% contrib/babelfishpg_common/src/spatialtypes.c
18
93.94
-1.14% contrib/babelfishpg_common/src/geo.c
4
96.36
-1.0% contrib/babelfishpg_common/src/geo_parser.y
Jobs
ID Job ID Ran Files Coverage
1 24609440557.1 18 Apr 2026 05:23PM UTC 121
76.84
GitHub Action Run
Source Files on build 24609440557
  • Tree
  • List 121
  • Changed 5
  • Source Changed 5
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24609440557
  • 6eef2276 on github
  • Prev Build on BABEL_6_1_STABLE (#24562472892)
  • Next Build on BABEL_6_1_STABLE (#24727542045)
  • 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