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:
parent
05e60aece3
commit
ba4eb86cef
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user