
DROP USER IF EXISTS rls_regress_user1;
DROP USER IF EXISTS rls_regress_user2;

CREATE USER rls_regress_user1;
CREATE USER rls_regress_user2;


SET ROLE rls_regress_user1;

SET ROLE rls_regress_user2;

SET SESSION AUTHORIZATION rls_regress_user1;
CREATE TABLE t2 (a integer, b text);
INSERT INTO t2 values(generate_series(1,10), 'test');

SELECT * FROM t2;
