mirror of https://github.com/postgres/postgres
Fix comment in test
The comment was apparently copy-and-pasted and did not reflect the actual test outcome.
This commit is contained in:
parent
d207038053
commit
198c7153dc
|
@ -505,7 +505,7 @@ CREATE STATISTICS alt_stat1 ON a, b FROM alt_regress_1;
|
||||||
CREATE STATISTICS alt_stat2 ON a, b FROM alt_regress_1;
|
CREATE STATISTICS alt_stat2 ON a, b FROM alt_regress_1;
|
||||||
ALTER STATISTICS alt_stat1 RENAME TO alt_stat2; -- failed (name conflict)
|
ALTER STATISTICS alt_stat1 RENAME TO alt_stat2; -- failed (name conflict)
|
||||||
ERROR: statistics object "alt_stat2" already exists in schema "alt_nsp1"
|
ERROR: statistics object "alt_stat2" already exists in schema "alt_nsp1"
|
||||||
ALTER STATISTICS alt_stat1 RENAME TO alt_stat3; -- failed (name conflict)
|
ALTER STATISTICS alt_stat1 RENAME TO alt_stat3; -- OK
|
||||||
ALTER STATISTICS alt_stat2 OWNER TO regress_alter_generic_user2; -- failed (no role membership)
|
ALTER STATISTICS alt_stat2 OWNER TO regress_alter_generic_user2; -- failed (no role membership)
|
||||||
ERROR: must be member of role "regress_alter_generic_user2"
|
ERROR: must be member of role "regress_alter_generic_user2"
|
||||||
ALTER STATISTICS alt_stat2 OWNER TO regress_alter_generic_user3; -- OK
|
ALTER STATISTICS alt_stat2 OWNER TO regress_alter_generic_user3; -- OK
|
||||||
|
|
|
@ -442,7 +442,7 @@ CREATE STATISTICS alt_stat1 ON a, b FROM alt_regress_1;
|
||||||
CREATE STATISTICS alt_stat2 ON a, b FROM alt_regress_1;
|
CREATE STATISTICS alt_stat2 ON a, b FROM alt_regress_1;
|
||||||
|
|
||||||
ALTER STATISTICS alt_stat1 RENAME TO alt_stat2; -- failed (name conflict)
|
ALTER STATISTICS alt_stat1 RENAME TO alt_stat2; -- failed (name conflict)
|
||||||
ALTER STATISTICS alt_stat1 RENAME TO alt_stat3; -- failed (name conflict)
|
ALTER STATISTICS alt_stat1 RENAME TO alt_stat3; -- OK
|
||||||
ALTER STATISTICS alt_stat2 OWNER TO regress_alter_generic_user2; -- failed (no role membership)
|
ALTER STATISTICS alt_stat2 OWNER TO regress_alter_generic_user2; -- failed (no role membership)
|
||||||
ALTER STATISTICS alt_stat2 OWNER TO regress_alter_generic_user3; -- OK
|
ALTER STATISTICS alt_stat2 OWNER TO regress_alter_generic_user3; -- OK
|
||||||
ALTER STATISTICS alt_stat2 SET SCHEMA alt_nsp2; -- OK
|
ALTER STATISTICS alt_stat2 SET SCHEMA alt_nsp2; -- OK
|
||||||
|
|
Loading…
Reference in New Issue