Re: Hot standby, slot ids and stuff

Поиск
Список
Период
Сортировка
Искать
От
Heikki Linnakangas
Тема
Re: Hot standby, slot ids and stuff
Дата
Msg-id
49666590.80006@enterprisedb.com
Ответ на
Список
Дерево обсуждения
Hot standby, slot ids and stuff Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Hot standby, slot ids and stuff Simon Riggs <simon@2ndQuadrant.com>
Re: Hot standby, slot ids and stuff Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Hot standby, slot ids and stuff Simon Riggs <simon@2ndQuadrant.com>
Re: Hot standby, slot ids and stuff Simon Riggs <simon@2ndQuadrant.com>
Re: Hot standby, slot ids and stuff Simon Riggs <simon@2ndQuadrant.com>
Re: Hot standby, slot ids and stuff Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Hot standby, slot ids and stuff Simon Riggs <simon@2ndQuadrant.com>
Re: Hot standby, slot ids and stuff Tom Lane <tgl@sss.pgh.pa.us>
Re: Hot standby, slot ids and stuff Simon Riggs <simon@2ndQuadrant.com>
Re: Hot standby, slot ids and stuff Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Hot standby, slot ids and stuff Simon Riggs <simon@2ndQuadrant.com>
Re: Hot standby, slot ids and stuff Simon Riggs <simon@2ndQuadrant.com>
Re: Hot standby, slot ids and stuff Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Hot standby, slot ids and stuff Simon Riggs <simon@2ndQuadrant.com>
Re: Hot standby, slot ids and stuff Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Hot standby, slot ids and stuff Simon Riggs <simon@2ndQuadrant.com>
Re: Hot standby, slot ids and stuff Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Hot standby, slot ids and stuff Simon Riggs <simon@2ndQuadrant.com>
Re: Hot standby, slot ids and stuff Simon Riggs <simon@2ndQuadrant.com>
Re: Hot standby, slot ids and stuff Simon Riggs <simon@2ndQuadrant.com>
Re: Hot standby, slot ids and stuff Simon Riggs <simon@2ndQuadrant.com>
Re: Hot standby, slot ids and stuff Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Hot standby, slot ids and stuff Simon Riggs <simon@2ndQuadrant.com>
Re: Hot standby, slot ids and stuff Simon Riggs <simon@2ndQuadrant.com>
Re: Hot standby, slot ids and stuff Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Hot standby, slot ids and stuff Simon Riggs <simon@2ndQuadrant.com>
Simon Riggs wrote:
> On Thu, 2009-01-08 at 22:31 +0200, Heikki Linnakangas wrote:
>> When a backend dies with FATAL, it writes an abort record before exiting.
>>
>> (I was under the impression it doesn't until few minutes ago myself, 
>> when I actually read the shutdown code :-))
> 
> Not in all cases; keep reading :-)

Want to give a clue? ShutdownPostgres is registered as an on_shmem_exit 
hook in InitPostgres, and ShutdownPostgres calls AbortOutOfAnyTransaction.

PANIC is another story, but in that case the primary will go down, and 
will write a new checkpoint soon after it starts up again.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com

В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Bruce Momjian
Дата:
Сообщение: Re: Distinct types
FAQ