Commit c3a135b4 authored by Peter Eisentraut's avatar Peter Eisentraut

Add missing message punctuation

parent acd6b6e6
......@@ -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);
}
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment