mirror of https://github.com/citusdata/citus.git
11 lines
442 B
Plaintext
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
|