aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2021-10-01 18:03:11 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2021-10-01 18:03:11 -0300
commitd186d233dfde4afb9dff346e13c8adaf4deec6b3 (patch)
treeb7fe3dff32d09edff331755f5c17230944d4c472 /src/backend/access/transam/xlog.c
parent0ded7039fab314afb7cbaf36b52209f253c05539 (diff)
downloadpostgresql-d186d233dfde4afb9dff346e13c8adaf4deec6b3.tar.gz
postgresql-d186d233dfde4afb9dff346e13c8adaf4deec6b3.zip
Remove unstable, unnecessary test; fix typo
Commit ff9f111bce24 added some test code that's unportable and doesn't add meaningful coverage. Remove it rather than try and get it to work everywhere. While at it, fix a typo in a log message added by the aforementioned commit. Backpatch to 14. Discussion: https://postgr.es/m/3000074.1632947632@sss.pgh.pa.us
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-rw-r--r--src/backend/access/transam/xlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index 1388afdfb02..f8c714b7b7a 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -10598,7 +10598,7 @@ VerifyOverwriteContrecord(xl_overwrite_contrecord *xlrec, XLogReaderState *state
LSN_FORMAT_ARGS(state->overwrittenRecPtr));
ereport(LOG,
- (errmsg("sucessfully skipped missing contrecord at %X/%X, overwritten at %s",
+ (errmsg("successfully skipped missing contrecord at %X/%X, overwritten at %s",
LSN_FORMAT_ARGS(xlrec->overwritten_lsn),
timestamptz_to_str(xlrec->overwrite_time))));