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

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

Build:
Build:
LAST BUILD BRANCH: fix_script_injection
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 08 Jul 2025 07:53PM UTC
Jobs 1
Files 120
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

08 Jul 2025 07:17PM UTC coverage: 75.542% (+0.004%) from 75.538%
16152366920

push

github

web-flow
Fix insert execute output parameters and nested levels issues (#3937)

Description

This commit addresses issues with INSERT ... EXECUTE statements in stored procedures, specifically fixing output parameter handling and preventing unsupported nested execution scenarios.

Issues

Output Parameter Handling: INSERT ... EXECUTE statements with output parameters were not properly capturing and assigning return values from executed stored procedures
Nested INSERT ... EXECUTE statements: Need to block nested INSERT ... EXECUTE statements

Changes

Added a new function setup_procedure_output_target_for_insert_exec() to prepares output parameter targets for INSERT ... EXECUTE statements by analyzing the called procedure's signature and setting up appropriate data structures
Maintained a global variable execute_call_insert_exec_retval to pass return values between execution contexts when procedures are called via INSERT ... EXECUTE
Added stack traversal logic to detect nested INSERT ... EXECUTE calls and provide error message

Task: BABEL-5306, BABEL-2151
Signed-off-by: RUI LUO <rluo@amazon.com>

55 of 67 new or added lines in 1 file covered. (82.09%)

2 existing lines in 1 file now uncovered.

49297 of 65258 relevant lines covered (75.54%)

316281.5 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
12
44.43
0.74% contrib/babelfishpg_tsql/src/pl_exec.c

Uncovered Existing Lines

Lines Coverage ∆ File
2
76.16
-0.62% contrib/babelfishpg_tds/src/backend/tds/tdscomm.c
Jobs
ID Job ID Ran Files Coverage
1 16152366920.1 08 Jul 2025 07:53PM UTC 120
75.54
GitHub Action Run
Source Files on build 16152366920
  • Tree
  • List 120
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16152366920
  • 2eeb0618 on github
  • Prev Build on BABEL_5_3_STABLE (#16108808624)
  • Next Build on BABEL_5_3_STABLE (#16167528482)
  • 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