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
c3a135b4
Commit
c3a135b4
authored
3 years ago
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing message punctuation
parent
acd6b6e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/backend/catalog/pg_type.c
src/backend/catalog/pg_type.c
+1
-1
src/test/regress/expected/multirangetypes.out
src/test/regress/expected/multirangetypes.out
+2
-2
No files found.
src/backend/catalog/pg_type.c
View file @
c3a135b4
...
...
@@ -919,7 +919,7 @@ makeMultirangeTypeName(const char *rangeTypeName, Oid typeNamespace)
(
errcode
(
ERRCODE_DUPLICATE_OBJECT
),
errmsg
(
"type
\"
%s
\"
already exists"
,
buf
),
errdetail
(
"Failed while creating a multirange type for type
\"
%s
\"
."
,
rangeTypeName
),
errhint
(
"You can manually specify a multirange type name using the
\"
multirange_type_name
\"
attribute"
)));
errhint
(
"You can manually specify a multirange type name using the
\"
multirange_type_name
\"
attribute
.
"
)));
return
pstrdup
(
buf
);
}
...
...
This diff is collapsed.
Click to expand it.
src/test/regress/expected/multirangetypes.out
View file @
c3a135b4
...
...
@@ -2929,13 +2929,13 @@ create type intmultirange as (x int, y int);
create type intrange as range(subtype=int); -- should fail
ERROR: type "intmultirange" already exists
DETAIL: Failed while creating a multirange type for type "intrange".
HINT: You can manually specify a multirange type name using the "multirange_type_name" attribute
HINT: You can manually specify a multirange type name using the "multirange_type_name" attribute
.
drop type intmultirange;
create type intr_multirange as (x int, y int);
create type intr as range(subtype=int); -- should fail
ERROR: type "intr_multirange" already exists
DETAIL: Failed while creating a multirange type for type "intr".
HINT: You can manually specify a multirange type name using the "multirange_type_name" attribute
HINT: You can manually specify a multirange type name using the "multirange_type_name" attribute
.
drop type intr_multirange;
--
-- Test multiple multirange types over the same subtype and manual naming of
...
...
This diff is collapsed.
Click to expand it.
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