Skip to content

Commit 198c715

Browse files
committed
Fix comment in test
The comment was apparently copy-and-pasted and did not reflect the actual test outcome.
1 parent d207038 commit 198c715

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/regress/expected/alter_generic.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ CREATE STATISTICS alt_stat1 ON a, b FROM alt_regress_1;
505505
CREATE STATISTICS alt_stat2 ON a, b FROM alt_regress_1;
506506
ALTER STATISTICS alt_stat1 RENAME TO alt_stat2; -- failed (name conflict)
507507
ERROR: statistics object "alt_stat2" already exists in schema "alt_nsp1"
508-
ALTER STATISTICS alt_stat1 RENAME TO alt_stat3; -- failed (name conflict)
508+
ALTER STATISTICS alt_stat1 RENAME TO alt_stat3; -- OK
509509
ALTER STATISTICS alt_stat2 OWNER TO regress_alter_generic_user2; -- failed (no role membership)
510510
ERROR: must be member of role "regress_alter_generic_user2"
511511
ALTER STATISTICS alt_stat2 OWNER TO regress_alter_generic_user3; -- OK

src/test/regress/sql/alter_generic.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ CREATE STATISTICS alt_stat1 ON a, b FROM alt_regress_1;
442442
CREATE STATISTICS alt_stat2 ON a, b FROM alt_regress_1;
443443

444444
ALTER STATISTICS alt_stat1 RENAME TO alt_stat2; -- failed (name conflict)
445-
ALTER STATISTICS alt_stat1 RENAME TO alt_stat3; -- failed (name conflict)
445+
ALTER STATISTICS alt_stat1 RENAME TO alt_stat3; -- OK
446446
ALTER STATISTICS alt_stat2 OWNER TO regress_alter_generic_user2; -- failed (no role membership)
447447
ALTER STATISTICS alt_stat2 OWNER TO regress_alter_generic_user3; -- OK
448448
ALTER STATISTICS alt_stat2 SET SCHEMA alt_nsp2; -- OK

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy