From: Tom Lane Date: Tue, 3 Sep 2002 22:06:19 +0000 (+0000) Subject: conversion test fails if there is an existing user named foo. Choose a name X-Git-Tag: REL7_3~593 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c7d07b5a456a57b48975dd582f70d4bcf966bb91;p=postgresql conversion test fails if there is an existing user named foo. Choose a name somewhat less likely to provoke a conflict. --- diff --git a/src/test/regress/expected/conversion.out b/src/test/regress/expected/conversion.out index dbe76e0974..dbdfe3529c 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 d95b91975f..35e09689ca 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;