aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2021-08-06 22:11:02 +0200
committerPeter Eisentraut <peter@eisentraut.org>2021-08-06 22:11:02 +0200
commitc3a135b41eed3c719a0c34b8cc072835ff21b129 (patch)
tree98396cf4e7806b6a9a20e2fa58c60a3668d1d960 /src
parentacd6b6e637fb670003d4ac2477212b4d51016f9a (diff)
downloadpostgresql-c3a135b41eed3c719a0c34b8cc072835ff21b129.tar.gz
postgresql-c3a135b41eed3c719a0c34b8cc072835ff21b129.zip
Add missing message punctuation
Diffstat (limited to 'src')
-rw-r--r--src/backend/catalog/pg_type.c2
-rw-r--r--src/test/regress/expected/multirangetypes.out4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/catalog/pg_type.c b/src/backend/catalog/pg_type.c
index da65584476b..6f9b5471daf 100644
--- 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 7f689ad41b4..f5f089741c1 100644
--- 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