Re: Documentation Update: Document pg_start_backup checkpoint behavior

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Documentation Update: Document pg_start_backup checkpoint behavior
Дата
Msg-id 16846.1239049825@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Documentation Update: Document pg_start_backup checkpoint behavior  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Список pgsql-hackers
"Kevin Grittner" <Kevin.Grittner@wicourts.gov> writes:
> Tom Lane <tgl@sss.pgh.pa.us> wrote: 
>> I'm going to go ahead and make this happen, using the arrangement
>> 
>> pg_start_backup('label') -> slow checkpoint (backwards compatible)
>> pg_start_backup('label', false) -> slow checkpoint
>> pg_start_backup('label', true) -> immediate checkpoint
> Probably a dumb question, but just to be sure: none of these functions
> will return before the checkpoint is complete, right?  (In other
> words, when the function returns, it is safe to begin the base
> backup?)

Correct.  The only change here is whether or not to pass the
CHECKPOINT_IMMEDIATE flag to RequestCheckpoint.  We do CHECKPOINT_WAIT
in any case.
        regards, tom lane


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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Documentation Update: Document pg_start_backup checkpoint behavior
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: custom tsearch2 parsers