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

babelfish-for-postgresql / babelfish_extensions / 11475749247
74%
BABEL_5_X_DEV: 77%

Build:
Build:
LAST BUILD BRANCH: BABEL-5577
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 23 Oct 2024 08:45AM UTC
Jobs 1
Files 114
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

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

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>

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

43049 of 58396 relevant lines covered (73.72%)

142644.35 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11475749247.1 23 Oct 2024 08:45AM UTC 114
73.72
GitHub Action Run
Source Files on build 11475749247
  • Tree
  • List 114
  • Changed 58
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #11475749247
  • 49aa7765 on github
  • Prev Build on BABEL_3_X_DEV (#11475738611)
  • Next Build on BABEL_3_X_DEV (#11478967557)
  • 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

© 2025 Coveralls, Inc