-
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.
42687: sql: complete eval functionality for TimeTZ r=otan a=otan Refs: #26097 We want to support all operations that are supported by TimeTZ in postgres: * equality, less than * timetz + date, interval + timetz * timetz + interval, interval + timetz * timetz - interval ``` otan=# select oprname, oprcode from pg_operator where oprleft = 'timetz'::regtype or oprright = 'timetz'::regtype or oprresult = 'timetz'::regtype; oprname | oprcode ---------+-------------------- = | timetz_eq <> | timetz_ne < | timetz_lt <= | timetz_le > | timetz_gt >= | timetz_ge + | datetimetz_pl + | timetzdate_pl + | timetz_pl_interval - | timetz_mi_interval + | interval_pl_timetz (11 rows) ``` Release note: None Co-authored-by: Oliver Tan <otan@cockroachlabs.com>
- Loading branch information
Showing
14 changed files
with
666 additions
and
26 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.