-
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
55607: sql: fix reg* cast escaping r=rafiss a=otan Resolves #53686 ---- tree: add more casting fixes for text to reg* Release note (sql change): Added ability to cast a string containing all integers to be cast into a given regtype, e.g. '1234'::regproc is now valid. Release note (bug fix): Fixed a bug where casts from string to regproc, regtype or regprocedure would not work if they contained " characters at the beginning or at the end. sql: fix unescaped casts to regclass types Release note (bug fix): Fix a bug where casts to regclass were not escaped (i.e. when the type or table name had " characters). 55618: server: improve error message on drain timeout r=andreimatei a=andreimatei When draining times out, we print out a warning. Commonly that warning tells you that the leases could not be drained in time. In this case, the patch improves the message: - don't print a useless stack trace any more - refer to the cluster setting controlling the timeout - refer to leases, not "Raft leadership". Draining deals with both, but leases are the concept that's somewhat exposed to users. Release note: None 55638: tpcc: remove unused and unpartitionable stock_item_fk_idx r=nvanbenschoten a=nvanbenschoten This was discussed in #50911. We ended up not making the change because it didn't appear to improve performance. Given the fact that the index is only used in a single place and can easily be replaced by the primary key of the stock table, it doesn't seem possible that this would actually hurt performance. However, it does seem possible for the index to hurt performance in multi-region clusters, where the fk validation was not guaranteed to be local because it was not using the partitioned primary key of the stock table. This allows us to remove a scary comment around partitioning code, because the index was not partitionable by warehouse id. 55651: *: include bazel in .gitignore r=irfansharif a=otan Release note: None 55696: clusterversion: remove unused timestamp-related cluster versions r=lucy-zhang a=lucy-zhang Remove `VersionTimeTZType` and `VersionTimePrecision`, which are unused. Part of #47447. Release note: None Co-authored-by: Oliver Tan <[email protected]> Co-authored-by: Andrei Matei <[email protected]> Co-authored-by: Nathan VanBenschoten <[email protected]> Co-authored-by: Lucy Zhang <[email protected]>
- Loading branch information
Showing
18 changed files
with
321 additions
and
87 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.