|
Ran
|
Jobs
1
|
Files
119
|
Run time
1min
|
Badge
README BADGES
|
push
github
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
| 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 |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 2 |
72.43 |
-0.4% | contrib/babelfishpg_tds/src/backend/tds/tdsutils.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 15208246028.1 | 119 |
75.3 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|