Re: Forcing current WAL file to be archived

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Forcing current WAL file to be archived
Дата
Msg-id 200607251630.k6PGUro23360@momjian.us
обсуждение исходный текст
Ответ на Re: Forcing current WAL file to be archived  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Simon Riggs <simon@2ndquadrant.com> writes:
> > Assuming such a case, would it be possible to have two functions?
> 
> > pg_stop_backup()
> > pg_stop_backup(boolean); --parameter says log switch or not
> 
> Well, it seems everyone but me thinks that pg_stop_backup should
> force a WAL switch, so I'll yield on that point.  But we still
> need the separate function too, so that people can manually force
> a WAL switch --- just the same as we still have a manual CHECKPOINT
> command.

Agreed, with separate function too.  No sense in limiting the toolkit,
as you explained.

--  Bruce Momjian   bruce@momjian.us EnterpriseDB    http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


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

Предыдущее
От: "Hiroshi Saito"
Дата:
Сообщение: Re: [PATCHES] Patch for VS.Net 2005's strxfrm() bug
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Loading the PL/pgSQL debugger (and other plugins)