What's New in v2.1.0-beta.20181008

This version of CockroachDB is no longer supported. For more details, see the Release Support Policy.

October 8, 2018

Get future release notes emailed to you:


SQL language changes

  • EXECUTE is no longer an explainable statement. As an alternative, it is possible to PREPARE ... AS EXPLAIN ... and then execute the prepared statement to see the plan for a prepared query. #30725

Admin UI changes

Bug fixes

  • EXPLAIN ALTER DATABASE ... RENAME no longer renames the target database. #30661
  • EXPLAIN ALTER TABLE ... RENAME no longer renames the target table. #30661
  • EXPLAIN ALTER TABLE ... RENAME COLUMN no longer renames the target column. #30661
  • EXPLAIN ALTER INDEX ... RENAME no longer renames the target index. #30661
  • It is once again possible to use EXPLAIN for all preparable statements, and prepare all explainable statements. #30661
  • TRUNCATE is now properly restricted in SQL transactions like other DDL statements. #30661
  • TRUNCATE can now be used with EXPLAIN and as a prepared statement. #30661
  • The default unit for converting a string value when setting the statement_timeout session variable is now milliseconds for compatibility with PostgreSQL. #30654

Doc updates


This release includes 31 merged PRs by 15 authors.

YesYes NoNo