summaryrefslogtreecommitdiff
path: root/src/backend/access/transam
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2022-09-24 18:38:35 -0400
committerPeter Eisentraut <peter@eisentraut.org>2022-09-24 18:38:35 -0400
commit517484b5820e9e20057ff066b5df7d09cbb5f464 (patch)
tree15a9d9f1fe55768e0d37c133eda70152ecee258e /src/backend/access/transam
parent8d985560fc1de6197323d4397d2a2bf762657463 (diff)
Message style improvements
Diffstat (limited to 'src/backend/access/transam')
-rw-r--r--src/backend/access/transam/xlogprefetcher.c2
-rw-r--r--src/backend/access/transam/xlogreader.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/access/transam/xlogprefetcher.c b/src/backend/access/transam/xlogprefetcher.c
index aa17240e1dd..995c5e83bc8 100644
--- a/src/backend/access/transam/xlogprefetcher.c
+++ b/src/backend/access/transam/xlogprefetcher.c
@@ -1087,7 +1087,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
diff --git a/src/backend/access/transam/xlogreader.c b/src/backend/access/transam/xlogreader.c
index b07f6439466..dc6a8093b3a 100644
--- a/src/backend/access/transam/xlogreader.c
+++ b/src/backend/access/transam/xlogreader.c
@@ -1961,10 +1961,10 @@ XLogRecGetBlockTag(XLogReaderState *record, uint8 block_id,
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
}