aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2002-09-03 22:06:19 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2002-09-03 22:06:19 +0000
commitc7d07b5a456a57b48975dd582f70d4bcf966bb91 (patch)
treeafd94bde81cd5a4de696cee7fd1b0f429ff62426 /src
parent77f7763b55a89254f3b4be1f92402188bf2575b8 (diff)
downloadpostgresql-c7d07b5a456a57b48975dd582f70d4bcf966bb91.tar.gz
postgresql-c7d07b5a456a57b48975dd582f70d4bcf966bb91.zip
conversion test fails if there is an existing user named foo. Choose a name
somewhat less likely to provoke a conflict.
Diffstat (limited to 'src')
-rw-r--r--src/test/regress/expected/conversion.out6
-rw-r--r--src/test/regress/sql/conversion.sql6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/test/regress/expected/conversion.out b/src/test/regress/expected/conversion.out
index dbe76e09746..dbdfe3529cd 100644
--- a/src/test/regress/expected/conversion.out
+++ b/src/test/regress/expected/conversion.out
@@ -1,8 +1,8 @@
--
-- create user defined conversion
--
-CREATE USER foo WITH NOCREATEDB NOCREATEUSER;
-SET SESSION AUTHORIZATION foo;
+CREATE USER conversion_test_user WITH NOCREATEDB NOCREATEUSER;
+SET SESSION AUTHORIZATION conversion_test_user;
CREATE CONVERSION myconv FOR 'LATIN1' TO 'UNICODE' FROM iso8859_1_to_utf8;
--
-- cannot make same name conversion in same schema
@@ -1511,4 +1511,4 @@ SELECT CONVERT('foo', 'WIN874', 'UNICODE');
-- return to the super user
--
RESET SESSION AUTHORIZATION;
-DROP USER foo;
+DROP USER conversion_test_user;
diff --git a/src/test/regress/sql/conversion.sql b/src/test/regress/sql/conversion.sql
index d95b91975f9..35e09689ca7 100644
--- a/src/test/regress/sql/conversion.sql
+++ b/src/test/regress/sql/conversion.sql
@@ -1,8 +1,8 @@
--
-- create user defined conversion
--
-CREATE USER foo WITH NOCREATEDB NOCREATEUSER;
-SET SESSION AUTHORIZATION foo;
+CREATE USER conversion_test_user WITH NOCREATEDB NOCREATEUSER;
+SET SESSION AUTHORIZATION conversion_test_user;
CREATE CONVERSION myconv FOR 'LATIN1' TO 'UNICODE' FROM iso8859_1_to_utf8;
--
-- cannot make same name conversion in same schema
@@ -369,4 +369,4 @@ SELECT CONVERT('foo', 'WIN874', 'UNICODE');
-- return to the super user
--
RESET SESSION AUTHORIZATION;
-DROP USER foo;
+DROP USER conversion_test_user;