-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
120456: plpgsql: add support for SET TRANSACTION statements r=DrewKimball a=DrewKimball #### plpgsql: add support for SET TRANSACTION statements This commit adds support for `SET TRANSACTION` in PL/pgSQL stored procedures. `SET TRANSACTION` can only follow `COMMIT` or `ROLLBACK`; any other usage will result in an error. This can be used to set the transaction timestamp, isolation level, priority, or set the transaction to read-only. Fixes #120455 Release note (sql change): PL/pgSQL stored procedures now allow usage of the `SET TRANSACTION` statement immediately after `COMMIT` or `ROLLBACK`. This allows setting the transaction isolation level, timestamp, or priority, as well as setting the transaction to read-only. 120860: kvserver: deflake TestStrictGCEnforcement r=arulajmani a=arulajmani We don't do strict GC enforcement right around lease transfers if the protected timestamp state isn't caught up to the lease's start time. This test was susceptible to flake around lease transfers, so we disable them. Closes #120678 Release note: None Co-authored-by: Drew Kimball <[email protected]> Co-authored-by: Arul Ajmani <[email protected]>
- Loading branch information
Showing
12 changed files
with
553 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.