pgsql: Code review of recycling WAL segments in a restartpoint.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Code review of recycling WAL segments in a restartpoint.
Дата
Msg-id E1UjOsw-0000wt-MW@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Code review of recycling WAL segments in a restartpoint.

Seems cleaner to get the currently-replayed TLI in the same call to
GetXLogReplayRecPtr that we get the WAL position. Make it more clear in the
comment what the code does when recovery has already ended
(RecoveryInProgress() will set ThisTimeLineID in that case). Finally, make
resetting ThisTimeLineID afterwards more explicit.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e1e2bb34f1237cbec396bcaa795f0fa955af0e72

Modified Files
--------------
src/backend/access/transam/xlog.c |   30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)


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

Предыдущее
От: Noah Misch
Дата:
Сообщение: pgsql: Don't emit non-canonical empty arrays in array_remove().
Следующее
От: Stephen Frost
Дата:
Сообщение: pgsql: Additional spelling corrections