Обсуждение: pgsql/contrib/pg_resetxlog pg_resetxlog.c

Поиск
Список
Период
Сортировка

pgsql/contrib/pg_resetxlog pg_resetxlog.c

От
Tom Lane
Дата:
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    tgl@hub.org    01/03/16 00:08:39

Modified files:
    contrib/pg_resetxlog: pg_resetxlog.c

Log message:
    Resetting the XLOG can't include rewinding it to logical position zero,
    because we need page LSNs stored in the main database to be less than
    the current XLOG position.  Hence, generate the new XLOG segment at last
    old segment number plus one.