mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
Message style fixes
This commit is contained in:
@ -453,9 +453,10 @@ CheckMyDatabase(const char *name, bool am_superuser, bool override_allow_connect
|
||||
|
||||
actual_versionstr = get_collation_actual_version(dbform->datlocprovider, dbform->datlocprovider == COLLPROVIDER_ICU ? iculocale : collate);
|
||||
if (!actual_versionstr)
|
||||
ereport(WARNING,
|
||||
(errmsg("database \"%s\" has no actual collation version, but a version was recorded",
|
||||
name)));
|
||||
/* should not happen */
|
||||
elog(WARNING,
|
||||
"database \"%s\" has no actual collation version, but a version was recorded",
|
||||
name);
|
||||
else if (strcmp(actual_versionstr, collversionstr) != 0)
|
||||
ereport(WARNING,
|
||||
(errmsg("database \"%s\" has a collation version mismatch",
|
||||
|
Reference in New Issue
Block a user