citus/src/test/regress/expected/multi_follower_sanity_check...

11 lines
442 B
Plaintext

-- check that the nodes are all in read-only mode and rejecting write queries
\c - - - :follower_master_port
CREATE TABLE tab (a int);
ERROR: cannot execute CREATE TABLE in a read-only transaction
\c - - - :follower_worker_1_port
CREATE TABLE tab (a int);
ERROR: cannot execute CREATE TABLE in a read-only transaction
\c - - - :follower_worker_2_port
CREATE TABLE tab (a int);
ERROR: cannot execute CREATE TABLE in a read-only transaction