SET TRANSACTION

Sets the characteristics of transactions.

Table of contents

Synopsis

  1. SET SESSION CHARACTERISTICS AS TRANSACTION transaction_mode [, ...]
  2. SET TRANSACTION transaction_mode [, ...]
  3. where transaction_mode is one of:
  4. ISOLATION LEVEL { SERIALIZABLE | REPEATABLE READ | READ COMMITTED | READ UNCOMMITTED }
  5. READ WRITE | READ ONLY
  6. [ NOT ] DEFERRABLE

Description

SET SESSION CHARACTERISTICS sets the default transaction characteristics for subsequent transactions of a session.

As CrateDB does not support transactions, this command has no effect and will be ignored. The support was added for compatibility reasons.