1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-29 13:56:47 +03:00

Add missing message punctuation

This commit is contained in:
Peter Eisentraut 2021-08-06 22:11:02 +02:00
parent 05e60aece3
commit ba4eb86cef
2 changed files with 3 additions and 3 deletions

View File

@ -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);
}

View File

@ -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