mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
Message style improvements
This commit is contained in:
@@ -1089,7 +1089,7 @@ check_recovery_prefetch(int *new_value, void **extra, GucSource source)
|
||||
#ifndef USE_PREFETCH
|
||||
if (*new_value == RECOVERY_PREFETCH_ON)
|
||||
{
|
||||
GUC_check_errdetail("recovery_prefetch not supported on platforms that lack posix_fadvise().");
|
||||
GUC_check_errdetail("recovery_prefetch is not supported on platforms that lack posix_fadvise().");
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1963,10 +1963,10 @@ XLogRecGetBlockTag(XLogReaderState *record, uint8 block_id,
|
||||
blknum, NULL))
|
||||
{
|
||||
#ifndef FRONTEND
|
||||
elog(ERROR, "failed to locate backup block with ID %d in WAL record",
|
||||
elog(ERROR, "could not locate backup block with ID %d in WAL record",
|
||||
block_id);
|
||||
#else
|
||||
pg_fatal("failed to locate backup block with ID %d in WAL record",
|
||||
pg_fatal("could not locate backup block with ID %d in WAL record",
|
||||
block_id);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user