Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c7d07b5

Browse files
committed
conversion test fails if there is an existing user named foo. Choose a name
somewhat less likely to provoke a conflict.
1 parent 77f7763 commit c7d07b5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/test/regress/expected/conversion.out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
--
22
-- create user defined conversion
33
--
4-
CREATE USER foo WITH NOCREATEDB NOCREATEUSER;
5-
SET SESSION AUTHORIZATION foo;
4+
CREATE USER conversion_test_user WITH NOCREATEDB NOCREATEUSER;
5+
SET SESSION AUTHORIZATION conversion_test_user;
66
CREATE CONVERSION myconv FOR 'LATIN1' TO 'UNICODE' FROM iso8859_1_to_utf8;
77
--
88
-- cannot make same name conversion in same schema
@@ -1511,4 +1511,4 @@ SELECT CONVERT('foo', 'WIN874', 'UNICODE');
15111511
-- return to the super user
15121512
--
15131513
RESET SESSION AUTHORIZATION;
1514-
DROP USER foo;
1514+
DROP USER conversion_test_user;

src/test/regress/sql/conversion.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
--
22
-- create user defined conversion
33
--
4-
CREATE USER foo WITH NOCREATEDB NOCREATEUSER;
5-
SET SESSION AUTHORIZATION foo;
4+
CREATE USER conversion_test_user WITH NOCREATEDB NOCREATEUSER;
5+
SET SESSION AUTHORIZATION conversion_test_user;
66
CREATE CONVERSION myconv FOR 'LATIN1' TO 'UNICODE' FROM iso8859_1_to_utf8;
77
--
88
-- cannot make same name conversion in same schema
@@ -369,4 +369,4 @@ SELECT CONVERT('foo', 'WIN874', 'UNICODE');
369369
-- return to the super user
370370
--
371371
RESET SESSION AUTHORIZATION;
372-
DROP USER foo;
372+
DROP USER conversion_test_user;

0 commit comments

Comments
 (0)