mirror of
https://github.com/postgres/postgres.git
synced 2025-05-01 01:04:50 +03:00
Update comment
Update a comment that assumed that libc collations don't support versioning. Also improve an adjacent error message a bit.
This commit is contained in:
parent
400fc6b648
commit
f5744f1d1e
@ -1609,11 +1609,11 @@ pg_newlocale_from_collation(Oid collid)
|
|||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* This could happen when specifying a version in CREATE
|
* This could happen when specifying a version in CREATE
|
||||||
* COLLATION for a libc locale, or manually creating a mess in
|
* COLLATION but the provider does not support versioning, or
|
||||||
* the catalogs.
|
* manually creating a mess in the catalogs.
|
||||||
*/
|
*/
|
||||||
ereport(ERROR,
|
ereport(ERROR,
|
||||||
(errmsg("collation \"%s\" has no actual version, but a version was specified",
|
(errmsg("collation \"%s\" has no actual version, but a version was recorded",
|
||||||
NameStr(collform->collname))));
|
NameStr(collform->collname))));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user