postgres.git / summary / log / commit / refs

commit    c3a135b41eed3c719a0c34b8cc072835ff21b129
Author:   Peter Eisentraut <peter@eisentraut.org>
Date:     Fri Aug 06 20:11:02 2021 +0000

    Add missing message punctuation


src/backend/catalog/pg_type.c | 2 +- src/test/regress/expected/multirangetypes.out | 4 ++-- 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 [parent: acd6b6e637fb]