-
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.
Browse files
Browse the repository at this point in the history
111330: plpgsql: implement CLOSE statements r=DrewKimball a=DrewKimball #### plpgsql: add builtin function for closing cursors This patch adds the `crdb_internal.plpgsql_close` builtin, which closes the cursor with the given name. It returns a `34000` error if there is no cursor with the given name. A following commit will use this to implement the PLpgSQL CLOSE statement. Informs #109709 Release note: None #### plpgsql: implement CLOSE statements This patch implements the PLpgSQL CLOSE statement, which allows a PLpgSQL routine to close a cursor with the name specified by a cursor variable. Closing the cursor is handled by the internal builtin function `crdb_internal.plpgsql_close`. Informs #109709 Release note (sql change): Added support for the PLpgSQL CLOSE statement. 111597: sql: add support for SHOW CREATE PROCEDURE r=mgartner a=mgartner #### sql/tree: rename ShowCreateFunction to ShowCreateRoutine Release note: None #### sql/logictest: move create_function_statements tests to crdb_internal Release note: None #### sql: add crdb_internal.show_procedure_statements This commit adds the `crdb_internal.show_procedure_statements` table. It is very similar to the `show_function_statements` table, but it shows procedures instead of user-defined functions. Release note: None #### sql: add SHOW CREATE PROCEDURE This commit adds support for the `SHOW CREATE PROCEDURE` statement. Epic: CRDB-25388 Release note: None 111617: storage: reduce MVCCValueMerger allocations r=jbowens a=jbowens These commits address the first four items of #106567. ``` │ old.txt │ new.txt │ │ sec/op │ sec/op vs base │ ServerQuery-10 1.484m ± ∞ ¹ 1.180m ± ∞ ¹ -20.49% (p=0.008 n=5) ¹ need >= 6 samples for confidence interval at level 0.95 │ old.txt │ new.txt │ │ B/op │ B/op vs base │ ServerQuery-10 1.581Mi ± ∞ ¹ 1.434Mi ± ∞ ¹ -9.27% (p=0.008 n=5) ¹ need >= 6 samples for confidence interval at level 0.95 │ old.txt │ new.txt │ │ allocs/op │ allocs/op vs base │ ServerQuery-10 18.55k ± ∞ ¹ 15.98k ± ∞ ¹ -13.89% (p=0.008 n=5) ``` 111759: backupccl,delegate: change SHOW SCHEDULES columns for schedule options r=msbutler a=adityamaru For 23.2 we added two columns to `SHOW SCHEDULES` that surfaces the values for the schedule options corresponding to `on_previous_running` and `on_execution_failure`. These column names were previously named `on_wait` and `on_error` since those were the internal proto names. It makes more sense to align these with the publically documented option names. Epic: none Release note (sql change): `SHOW SCHEDULES` has two columns that surface the schedule options. These columns have been renamed to align with the documented option names namely `on_previous_running` and `on_execution_failure`. 111771: .gitignore: ignore `embedded.go` files that are no longer generated r=rail a=rickystewart Epic: none Release note: None Co-authored-by: Drew Kimball <[email protected]> Co-authored-by: Marcus Gartner <[email protected]> Co-authored-by: Jackson Owens <[email protected]> Co-authored-by: adityamaru <[email protected]> Co-authored-by: Ricky Stewart <[email protected]>
- Loading branch information
Showing
56 changed files
with
1,633 additions
and
1,012 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.