postgresql/src/bin/pg_resetwal
Peter Eisentraut e3679bc1c3 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 <alvherre@alvh.no-ip.org>
Discussion: https://www.postgresql.org/message-id/flat/d09f0e91-8757-642b-1a92-da9a52f5589a%40eisentraut.org
2023-10-10 08:58:50 +02:00
..
po Translation updates 2023-05-22 12:44:31 +02:00
t Replace use of stat()[7] by -s switch in TAP tests to retrieve file size 2023-10-03 08:27:34 +09:00
.gitignore pg_resetwal: Add simple test suite 2018-03-23 08:42:25 -04:00
Makefile Make error messages about WAL segment size more consistent 2023-08-28 15:17:04 +02:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00
nls.mk Break up long GETTEXT_FILES lists 2023-03-08 15:05:43 +01:00
pg_resetwal.c pg_resetwal: Corrections around -c option 2023-10-10 08:58:50 +02:00