]> granicus.if.org Git - postgresql/commitdiff
conversion test fails if there is an existing user named foo. Choose a name
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 3 Sep 2002 22:06:19 +0000 (22:06 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 3 Sep 2002 22:06:19 +0000 (22:06 +0000)
somewhat less likely to provoke a conflict.

src/test/regress/expected/conversion.out
src/test/regress/sql/conversion.sql

index dbe76e09746f7231036b2549d7b07f385a41a3a7..dbdfe3529cda39e4ea194d157f3ae96b34b68a1d 100644 (file)
@@ -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;
index d95b91975f90eee1eb7dc0bfa36009d60923df32..35e09689ca709d3d7ff945f7ec66d09ef56aeeff 100644 (file)
@@ -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;