For more information about transactions in RisingWave, see Transactions.

You can start a read-only transaction by using the BEGIN READ ONLY or START TRANSACTION READ ONLY command.

Syntax

COMMIT;

Example

COMMIT;
-------RESULT
COMMIT