Re: Does "pg_ctl stop" wait for archiving to complete?
От | Bruce Momjian |
---|---|
Тема | Re: Does "pg_ctl stop" wait for archiving to complete? |
Дата | |
Msg-id | 20141206132632.GB1314@momjian.us обсуждение исходный текст |
Ответ на | Re: Does "pg_ctl stop" wait for archiving to complete? (Guillaume Lelarge <guillaume@lelarge.info>) |
Ответы |
Re: Does "pg_ctl stop" wait for archiving to complete?
|
Список | pgsql-admin |
On Fri, Nov 7, 2014 at 07:09:14AM +0100, Guillaume Lelarge wrote: > Le 6 nov. 2014 21:59, "Mitchell Bösecke" <mitchell.bosecke@forcorp.com> a écrit > : > > > > Hi, > > > > My understanding is that when postgresql is shutdown it triggers a checkpoint > which triggers the archiving of completed tx logs. Will the "pg_ctl stop" > command wait for archiving to complete or is the act of archiving completely > asynchronous from the shutdown process? > > > > Nope, it doesn't wait for archiving. Uh, are you sure about that? I thought we did wait during shutdown unless -W was used in pg_ctl stop. -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. +
В списке pgsql-admin по дате отправления: