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

babelfish-for-postgresql / babelfish_extensions / 11476747325 / 1
73%
BABEL_5_X_DEV: 77%

Build:
Build:
LAST BUILD BRANCH: 5577-5x
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 23 Oct 2024 09:48AM UTC
Files 114
Run time 4s
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

23 Oct 2024 08:09AM UTC coverage: 73.719%. Remained the same
11476747325.1

push

github

web-flow
cleanup pltsql state properly in exec_stmt_exec_batch in case of errors (#3036) (#3041)

Some system states like pltsql guc nest level, pltsql scope identity should always be cleaned up at the end of execution even in case of errors since these were defined to be outside of postgres's transaction cleanup control.
So a pltsql_new_guc_nest_level() should always have a pltsql_revert_guc in all cases and vice versa.

This was not happening inside exec_stmt_exec_batch where we could error out even before starting a new pltsql guc nest level and then in catch block we would try to revert a non existent nest level.

As a fix we move out the call to pltsql_new_guc_nest_level() before try block ensuring we have a nest level to revert in catch.

Task: BABEL-5344

Signed-off-by: Tanzeel Khan <tzlkhan@amazon.com>

43049 of 58396 relevant lines covered (73.72%)

142590.8 hits per line

Source Files on job 11476747325.1
  • Tree
  • List 114
  • Changed 59
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 11476747325
  • 49aa7765 on github
  • Prev Job for on BABEL_3_8_STABLE (#11475738611.1)
  • Next Job for on BABEL_3_8_STABLE (#11480718690.1)
  • 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