pg_resetwal: Corrections around -c option The present pg_resetwal code hardcodes the minimum value for -c as 2, which is FrozenTransactionId, but it's not clear why that is allowed. After some research, it was probably a mistake in the original patch. Change it to FirstNormalTransactionId, which matches other xid-related options in pg_resetwal.
Reviewed-by: Alvaro Herrera <[email protected]> Discussion: https://www.postgresql.org/message-id/flat/d09f0e91-8757-642b-1a92-da9a52f5589a%40eisentraut.org Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/e3679bc1c31add8fa29a9dedd10fe6c563efde79 Modified Files -------------- src/bin/pg_resetwal/pg_resetwal.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
