mirror of
https://github.com/postgres/postgres.git
synced 2025-11-24 00:23:06 +03:00
Message style fixes
This commit is contained in:
@@ -454,9 +454,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",
|
||||
|
||||
@@ -2837,7 +2837,7 @@ static struct config_int ConfigureNamesInt[] =
|
||||
{
|
||||
{"wal_decode_buffer_size", PGC_POSTMASTER, WAL_RECOVERY,
|
||||
gettext_noop("Maximum buffer size for reading ahead in the WAL during recovery."),
|
||||
gettext_noop("This controls the maximum distance we can read ahead in the WAL to prefetch referenced blocks."),
|
||||
gettext_noop("This controls the maximum distance we can read ahead in the WAL to prefetch data blocks referenced therein."),
|
||||
GUC_UNIT_BYTE
|
||||
},
|
||||
&wal_decode_buffer_size,
|
||||
|
||||
Reference in New Issue
Block a user