diff options
| author | Peter Eisentraut | 2022-09-24 22:38:35 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2022-09-24 22:41:25 +0000 |
| commit | 26f7802beb2a4aafa0903f5bedeb7f1fa6f4f358 (patch) | |
| tree | dc9a4b176f6a37ca32b2667deb5e635196a0d70f /src/backend/access | |
| parent | a6bc3301925e1a8ad1f58da629b9dd55bc4b8d9c (diff) | |
Message style improvements
Diffstat (limited to 'src/backend/access')
| -rw-r--r-- | src/backend/access/transam/xlogprefetcher.c | 2 | ||||
| -rw-r--r-- | src/backend/access/transam/xlogreader.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/access/transam/xlogprefetcher.c b/src/backend/access/transam/xlogprefetcher.c index 342960263cb..8f5d4253320 100644 --- a/src/backend/access/transam/xlogprefetcher.c +++ b/src/backend/access/transam/xlogprefetcher.c @@ -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 diff --git a/src/backend/access/transam/xlogreader.c b/src/backend/access/transam/xlogreader.c index c1c9f1995bc..4d6c34e0fc5 100644 --- a/src/backend/access/transam/xlogreader.c +++ b/src/backend/access/transam/xlogreader.c @@ -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 } |
