-
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.
31730: sql: unreserve MINVALUE and MAXVALUE r=knz a=knz First two commits from #31725 and #31731. The keywords MINVALUE and MAXVALUE had been marked as reserved away from being a valid column name to accommodate the CockroachDB-specific "PARTITIONING" syntax. This is unfortunate because these two words are perfectly fine English names for things people may want to have as attributes in their relations. This patch removes the limitation by unreserving the two keywords and handling the special words in the planning code for the partitioning feature. In every other context the two words are not treated specially and handled like any possible column name / identifier. Release note (sql change): It is now again possible to use the keywords MINVALUE and MAXVALUE as column names, for compatibility with PostgreSQL. Co-authored-by: Raphael 'kena' Poss <[email protected]>
- Loading branch information
Showing
14 changed files
with
588 additions
and
560 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
Oops, something went wrong.