Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
c7d07b5a
Commit
c7d07b5a
authored
Sep 03, 2002
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conversion test fails if there is an existing user named foo. Choose a name
somewhat less likely to provoke a conflict.
parent
77f7763b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
src/test/regress/expected/conversion.out
src/test/regress/expected/conversion.out
+3
-3
src/test/regress/sql/conversion.sql
src/test/regress/sql/conversion.sql
+3
-3
No files found.
src/test/regress/expected/conversion.out
View file @
c7d07b5a
--
-- 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
;
src/test/regress/sql/conversion.sql
View file @
c7d07b5a
--
-- 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
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment