Re: Standbys, txid_current_snapshot, wraparound

Поиск
Список
Период
Сортировка
От Marko Kreen
Тема Re: Standbys, txid_current_snapshot, wraparound
Дата
Msg-id 20120329101231.GA27955@gmail.com
обсуждение исходный текст
Ответ на Re: Standbys, txid_current_snapshot, wraparound  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: Standbys, txid_current_snapshot, wraparound
Список pgsql-hackers
On Thu, Mar 29, 2012 at 10:37:54AM +0100, Simon Riggs wrote:
> When the standby receives the checkpoint record, it stores the
> information in 2 places:
> i) directly into ControlFile->checkPointCopy
> ii) and then into XLogCtl when a safe restartpoint occurs

In RecoveryRestartPoint() I see:

- memcpy(&XLogCtl->lastCheckPoint, checkPoint, sizeof(CheckPoint));

but I still don't see how are the ckptXid* values updated?

What am I missing?

-- 
marko



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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Standbys, txid_current_snapshot, wraparound
Следующее
От: Robert Haas
Дата:
Сообщение: Re: patch for parallel pg_dump