Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ba4eb86

Browse files
committed
Add missing message punctuation
1 parent 05e60ae commit ba4eb86

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/backend/catalog/pg_type.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ makeMultirangeTypeName(const char *rangeTypeName, Oid typeNamespace)
919919
(errcode(ERRCODE_DUPLICATE_OBJECT),
920920
errmsg("type \"%s\" already exists", buf),
921921
errdetail("Failed while creating a multirange type for type \"%s\".", rangeTypeName),
922-
errhint("You can manually specify a multirange type name using the \"multirange_type_name\" attribute")));
922+
errhint("You can manually specify a multirange type name using the \"multirange_type_name\" attribute.")));
923923

924924
return pstrdup(buf);
925925
}

src/test/regress/expected/multirangetypes.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2929,13 +2929,13 @@ create type intmultirange as (x int, y int);
29292929
create type intrange as range(subtype=int); -- should fail
29302930
ERROR: type "intmultirange" already exists
29312931
DETAIL: Failed while creating a multirange type for type "intrange".
2932-
HINT: You can manually specify a multirange type name using the "multirange_type_name" attribute
2932+
HINT: You can manually specify a multirange type name using the "multirange_type_name" attribute.
29332933
drop type intmultirange;
29342934
create type intr_multirange as (x int, y int);
29352935
create type intr as range(subtype=int); -- should fail
29362936
ERROR: type "intr_multirange" already exists
29372937
DETAIL: Failed while creating a multirange type for type "intr".
2938-
HINT: You can manually specify a multirange type name using the "multirange_type_name" attribute
2938+
HINT: You can manually specify a multirange type name using the "multirange_type_name" attribute.
29392939
drop type intr_multirange;
29402940
--
29412941
-- Test multiple multirange types over the same subtype and manual naming of

0 commit comments

Comments
 (0)