Closed Jakeowen1 closed 1 day ago
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
contrib/babelfishpg_tsql/src/pl_handler.c | 48 | 50 | 96.0% | ||
<!-- | Total: | 48 | 50 | 96.0% | --> |
Totals | |
---|---|
Change from base Build 9741952034: | 0.0% |
Covered Lines: | 42837 |
Relevant Lines: | 58523 |
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
contrib/babelfishpg_tsql/src/pl_handler.c | 48 | 50 | 96.0% | ||
<!-- | Total: | 48 | 50 | 96.0% | --> |
Totals | |
---|---|
Change from base Build 9741952034: | 0.0% |
Covered Lines: | 42837 |
Relevant Lines: | 58523 |
Description
This change prevents certain alter procedure calls in PSQL dialect from attempting to use the TSQL alter procedure implementation by adding a dialect check. Procedures created in PSQL and altered with
security definer
would throw the following errorERROR: StartTransactionCommand: unexpected state STARTED
Issues Resolved
Task: BABEL-5074
Test Scenarios Covered
Check List
By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.