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

babelfish-for-postgresql / babelfish_extensions / 15164143963
77%

Build:
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 21 May 2025 02:31PM 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

21 May 2025 01:56PM UTC coverage: 75.372% (+0.01%) from 75.362%
15164143963

push

github

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

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
Signed-off-by: Dipesh Dhameliya <dipeshdhameliya125@gmail.com>

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

48572 of 64443 relevant lines covered (75.37%)

306339.43 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.51
0.18% contrib/babelfishpg_tsql/src/pl_exec.c
Jobs
ID Job ID Ran Files Coverage
1 15164143963.1 21 May 2025 02:31PM UTC 119
75.37
GitHub Action Run
Source Files on build 15164143963
  • 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 #15164143963
  • b3f14848 on github
  • Prev Build on BABEL_5_X_DEV (#15105698194)
  • Next Build on BABEL_5_X_DEV (#15172420083)
  • 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