UPDATE
statements may now set columns which are part of the primary key. #6043CHECK
constraints can now be defined when creating tables and will be enforced for INSERT
statements (but not yet for UPDATE
statements). #6044pow()
and exp()
functions on DECIMAL
values no longer lose precision. #6170cockroach sql
shell, the special command \!
can now be used to execute a system command and display its output. \|
executes a system command and runs its output as a SQL statement. #5961SHOW CREATE TABLE
. #6158RETURNING
clause of INSERT
statements can now refer to tables by aliases defined with AS
. #5903CASCADE
and RESTRICT
keywords in the DROP INDEX
, TRUNCATE TABLE
,ALTER TABLE DROP COLUMN
, and ALTER TABLE DROP CONSTRAINT
statements. These keywords relate to features we have not yet implemented, so they do nothing, but this change improves compatibility with frameworks that like to send these keywords. #5957DROP DATABASE
, DROP TABLE
, GRANT
, RENAME DATABASE
, RENAME TABLE
, REVOKE
, and SHOW INDEX
.This release includes 74 merged PRs by 21 authors. We would like to thank the following contributors from the CockroachDB community, especially first-time contributor Andrew NS Yeow.