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

babelfish-for-postgresql / babelfish_extensions / 15208246028
76%
BABEL_5_X_DEV: 77%

Build:
Build:
LAST BUILD BRANCH: BABEL_4_X_DEV
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 23 May 2025 11:06AM UTC
Jobs 1
Files 119
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 May 2025 10:33AM UTC coverage: 75.297% (+0.004%) from 75.293%
15208246028

push

github

web-flow
Allow parallelism for pltsql return expression after community commit 556f7b7 (#3725) (#3772)

With the commit 556f7b7, we unintentionally blocked parallelism to
evaluate plpgsql return expression because maxtuples = 2 is being passed
to exec_run_select(...) from exec_eval_expr(...) to evaluate the return
expression of the plpgsql function.

Idea to fix this issue to pass maxtuples = 0. It is safe to do it
because number of processed rows is anyway being checked later in
exec_eval_expr(...). But with this, there is not real caller remained
which calls exec_run_select(...) with maxtuple != 0 so updated definition
of exec_run_select(...) to remove maxtuples argument.

This commit also fixes parallel context leak in case of statement terminating
error originating from PLTSQL function body. This is important because
subsequent resetting search_path or table variable cleanup operations may
end up error.

Task: BABEL-5599

(cherry picked from commit b3f148486)

Signed-off-by: Dipesh Dhameliya <dipeshdhameliya125@gmail.com>

6 of 11 new or added lines in 3 files covered. (54.55%)

2 existing lines in 1 file now uncovered.

48416 of 64300 relevant lines covered (75.3%)

314419.28 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
82.36
0.0% contrib/babelfishpg_tsql/src/pl_exec-2.c
2
84.07
-0.15% contrib/babelfishpg_tsql/src/iterative_exec.c
2
43.47
0.18% contrib/babelfishpg_tsql/src/pl_exec.c

Uncovered Existing Lines

Lines Coverage ∆ File
2
72.43
-0.4% contrib/babelfishpg_tds/src/backend/tds/tdsutils.c
Jobs
ID Job ID Ran Files Coverage
1 15208246028.1 23 May 2025 11:06AM UTC 119
75.3
GitHub Action Run
Source Files on build 15208246028
  • Tree
  • List 119
  • Changed 4
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15208246028
  • 82f417d4 on github
  • Prev Build on BABEL_4_X_DEV (#15178427729)
  • Next Build on BABEL_4_X_DEV (#15216276265)
  • 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