git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 05e60ae)
Add missing message punctuation
Fri, 6 Aug 2021 20:11:02 +0000 (22:11 +0200)
Fri, 6 Aug 2021 20:11:28 +0000 (22:11 +0200)

diff --git a/src/backend/catalog/pg_type.c b/src/backend/catalog/pg_type.c
index da65584476b18b851fccf4c67686654b3e608bcf..6f9b5471daf5eb8e82436ecd5ecd2d96420cdd1f 100644 (file)
--- a/src/backend/catalog/pg_type.c
+++ b/src/backend/catalog/pg_type.c
@@ -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);
}
diff --git a/src/test/regress/expected/multirangetypes.out b/src/test/regress/expected/multirangetypes.out
index 7f689ad41b48037f71861f757bfa689ec2cff0e8..f5f089741c1720870245507de12382cc03a66d6a 100644 (file)
--- a/src/test/regress/expected/multirangetypes.out
+++ b/src/test/regress/expected/multirangetypes.out
@@ -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 is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /