Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc7d07b5

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 parent77f7763 commitc7d07b5

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 USERfoo WITH NOCREATEDB NOCREATEUSER;
5-
SET SESSION AUTHORIZATIONfoo;
4+
CREATE USERconversion_test_user WITH NOCREATEDB NOCREATEUSER;
5+
SET SESSION AUTHORIZATIONconversion_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 USERfoo;
1514+
DROP USERconversion_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-
CREATEUSERfoo WITH NOCREATEDB NOCREATEUSER;
5-
SET SESSION AUTHORIZATIONfoo;
4+
CREATEUSERconversion_test_user WITH NOCREATEDB NOCREATEUSER;
5+
SET SESSION AUTHORIZATIONconversion_test_user;
66
CREATECONVERSIONmyconv 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-
DROPUSERfoo;
372+
DROPUSERconversion_test_user;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp