forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
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
88896: sql: `has_function_privilege` and `regprocedure` casting to consider arg types r=chengxiong-ruan a=chengxiong-ruan backport addresses cockroachdb#83237 Release note (sql change): Previously, `has_function_privlege` builtin function and `::regprocedure` casting only consider function names and argument types are ignored. An umbiguous error was returned if a function name matched more than one overloads. This commit utilizes argument types to narrow down an overload to avoid ambiguity. Also `::regproc` casting is modified to consider whole string as function name. This is to match postgres behavior. Release justification: GA blocker. 89007: sql: clean up some udf TODOs r=chengxiong-ruan a=chengxiong-ruan Clean up some udf TODOs which are actually done or a not-to-do. Also resolve two TODOs in tests. Release note: None Release justification: low risk comment and test only change. Co-authored-by: Chengxiong Ruan <[email protected]>
- Loading branch information
Showing
14 changed files
with
268 additions
and
93 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
Oops, something went wrong.