The output differs across versions because it can include the context. This made: - repack.out = repack_1.out - repack_3.out = repack_5.out
15 lines
482 B
SQL
15 lines
482 B
SQL
--
|
|
-- no superuser check
|
|
--
|
|
SET client_min_messages = error;
|
|
DROP ROLE IF EXISTS nosuper;
|
|
SET client_min_messages = warning;
|
|
CREATE ROLE nosuper WITH LOGIN;
|
|
-- => OK
|
|
\! pg_repack --dbname=contrib_regression --table=tbl_cluster --no-superuser-check
|
|
-- => ERROR
|
|
\! pg_repack --dbname=contrib_regression --table=tbl_cluster --username=nosuper
|
|
-- => ERROR
|
|
\! pg_repack --dbname=contrib_regression --table=tbl_cluster --username=nosuper --no-superuser-check
|
|
DROP ROLE IF EXISTS nosuper;
|