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

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

Build:
Build:
LAST BUILD BRANCH: BABEL-5577
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 14 Jun 2024 04:13PM 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

14 Jun 2024 03:32PM UTC coverage: 73.071% (+0.02%) from 73.05%
9518647799

push

github

web-flow
Support EXECUTE/CREATE...WITH RECOMPILE for stored procedures (#2563)

T-SQL supports EXECUTE WITH RECOMPILE and CREATE PROCEDURE ... WITH RECOMPILE.
For EXECUTE WITH RECOMPILE, an ad-hoc plan is generated for that particular execution.
For CREATE PROCEDURE WITH RECOMPILE, an ad-hoc plan is generated for every execution of the procedure, also when the EXECUTE statement does not specify WITH RECOMPILE.
In both cases, the ad-hoc generated plan is discarded immediately afterwards.

In Babelfish, forcing ad-hoc plan generation is implemented by setting the GUC "plan_cache_mode" to "force_custom_plan" for the particular procedure execution.
For CREATE PROCEDURE WITH RECOMPILE, and additional status bit is used in the babelfish_function_ext.flag_values catalog field.
Currently, recompilation will not apply to non-parametrized queries since PG will not generate a custom plan for such queries.

Task: BABEL-346
Signed-off-by: Rob Verschoor rcv@amazon.com

43 of 45 new or added lines in 6 files covered. (95.56%)

42314 of 57908 relevant lines covered (73.07%)

108134.56 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
85.05
0.04% contrib/babelfishpg_tsql/src/catalog.c
Jobs
ID Job ID Ran Files Coverage
1 9518647799.1 14 Jun 2024 04:13PM UTC 114
73.07
GitHub Action Run
Source Files on build 9518647799
  • Tree
  • List 114
  • Changed 70
  • Source Changed 7
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #9518647799
  • db03f97c on github
  • Prev Build on BABEL_4_X_DEV (#9485967080)
  • Next Build on BABEL_4_X_DEV (#9542157175)
  • 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