From: Justin Pryzby Date: Sun, 25 Oct 2020 12:32:30 -0500 Subject: [PATCH v2 2/6] s/rewinded/rewound/ --- doc/src/sgml/ref/pg_rewind.sgml | 2 +- src/bin/pg_rewind/parsexlog.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/ref/pg_rewind.sgml b/doc/src/sgml/ref/pg_rewind.sgml index 688acdcb06..43282e6016 100644 --- a/doc/src/sgml/ref/pg_rewind.sgml +++ b/doc/src/sgml/ref/pg_rewind.sgml @@ -74,7 +74,7 @@ PostgreSQL documentation pg_rewind with the -c option to automatically retrieve them from the WAL archive. The use of pg_rewind is not limited to failover, e.g., a standby - server can be promoted, run some write transactions, and then rewinded + server can be promoted, run some write transactions, and then rewound to become a standby again. diff --git a/src/bin/pg_rewind/parsexlog.c b/src/bin/pg_rewind/parsexlog.c index 2229c86f9a..a2f1ab5422 100644 --- a/src/bin/pg_rewind/parsexlog.c +++ b/src/bin/pg_rewind/parsexlog.c @@ -207,7 +207,7 @@ findLastCheckpoint(const char *datadir, XLogRecPtr forkptr, int tliIndex, /* * Check if it is a checkpoint record. This checkpoint record needs to * be the latest checkpoint before WAL forked and not the checkpoint - * where the primary has been stopped to be rewinded. + * where the primary has been stopped to be rewound. */ info = XLogRecGetInfo(xlogreader) & ~XLR_INFO_MASK; if (searchptr < forkptr && -- 2.17.0 --QRj9sO5tAVLaXnSD Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="v2-0003-others.patch"