Dec 18, 2017
Get future release notes emailed to you:
Downloads
SQL Language Changes
- Added support for read-only transactions via PostgreSQL-compatible syntax. #20547
SET SESSION CHARACTERISTICS AS TRANSACTION READ ONLY/READ WRITE
SET TRANSACTION READ ONLY/READ WRITE
SET default_transaction_read_only
SET transaction_read_only
- For compatibility with PostgreSQL, the return type of the
date_trunc(STRING,TIME)
function was changed fromTIME
toINTERVAL
, and the return type of thedate_trunc(STRING,DATE)
function was changed fromDATE
toTIMESTAMPTZ
. #20467
Bug Fixes
- Fixed a bug preventing CockroachDB from starting when the filesystem generates a
lost+found
directory in the Cockroach data directory. #20565 - Fixed the over-counting of memory usage by aggregations. #20585
- Fix a panic when using the
date_trunc(STRING,TIMESTAMP)
ordate_trunc(STRING,DATE)
function during queries that run with the distributed execution engine. #20467 - Fixed a bug where the
date_trunc(STRING,TIMESTAMP)
function would return aTIMESTAMPTZ
value. #20467 - Fixed a race condition that would result in some queries hanging after cancellation. #20088
- Fixed a bug allowing privileges to be granted to non-existent users. #20438