pgsql: pg_resetwal: Corrections around -c option

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: pg_resetwal: Corrections around -c option
Дата
Msg-id E1qq6oT-000uM6-Tt@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Add const to values and nulls arguments
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: test_decoding: Remove unnecessary table in twophase test