Re: Problem while setting the fpw with SIGHUP

Поиск
Список
Период
Сортировка
Искать
От
Michael Paquier
Тема
Re: Problem while setting the fpw with SIGHUP
Дата
Msg-id
20180320055608.GB13368@paquier.xyz
Ответ на
Список
Дерево обсуждения
Problem while setting the fpw with SIGHUP Dilip Kumar <dilipbalaut@gmail.com>
Re: Problem while setting the fpw with SIGHUP Michael Paquier <michael@paquier.xyz>
Re: Problem while setting the fpw with SIGHUP Michael Paquier <michael@paquier.xyz>
Re: Problem while setting the fpw with SIGHUP Dilip Kumar <dilipbalaut@gmail.com>
Re: Problem while setting the fpw with SIGHUP Michael Paquier <michael@paquier.xyz>
Re: Problem while setting the fpw with SIGHUP Dilip Kumar <dilipbalaut@gmail.com>
Re: Problem while setting the fpw with SIGHUP Michael Paquier <michael@paquier.xyz>
Re: Problem while setting the fpw with SIGHUP Dilip Kumar <dilipbalaut@gmail.com>
Re: Problem while setting the fpw with SIGHUP Michael Paquier <michael@paquier.xyz>
Re: Problem while setting the fpw with SIGHUP Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Problem while setting the fpw with SIGHUP Michael Paquier <michael@paquier.xyz>
Re: Problem while setting the fpw with SIGHUP Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Problem while setting the fpw with SIGHUP Michael Paquier <michael@paquier.xyz>
Re: Problem while setting the fpw with SIGHUP Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Problem while setting the fpw with SIGHUP Amit Kapila <amit.kapila16@gmail.com>
Re: Problem while setting the fpw with SIGHUP Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Problem while setting the fpw with SIGHUP Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Problem while setting the fpw with SIGHUP Amit Kapila <amit.kapila16@gmail.com>
Re: Problem while setting the fpw with SIGHUP Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Problem while setting the fpw with SIGHUP Heikki Linnakangas <hlinnaka@iki.fi>
Re: Problem while setting the fpw with SIGHUP Michael Paquier <michael@paquier.xyz>
Re: Problem while setting the fpw with SIGHUP Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Problem while setting the fpw with SIGHUP Michael Paquier <michael@paquier.xyz>
Re: Problem while setting the fpw with SIGHUP Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Problem while setting the fpw with SIGHUP Michael Paquier <michael@paquier.xyz>
Re: Problem while setting the fpw with SIGHUP Robert Haas <robertmhaas@gmail.com>
Re: Problem while setting the fpw with SIGHUP Michael Paquier <michael@paquier.xyz>
Re: Problem while setting the fpw with SIGHUP Robert Haas <robertmhaas@gmail.com>
Re: Problem while setting the fpw with SIGHUP Amit Kapila <amit.kapila16@gmail.com>
Re: Problem while setting the fpw with SIGHUP Robert Haas <robertmhaas@gmail.com>
Re: Problem while setting the fpw with SIGHUP Michael Paquier <michael@paquier.xyz>
Re: Problem while setting the fpw with SIGHUP Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Problem while setting the fpw with SIGHUP Amit Kapila <amit.kapila16@gmail.com>
Re: Problem while setting the fpw with SIGHUP Amit Kapila <amit.kapila16@gmail.com>
Re: Problem while setting the fpw with SIGHUP Robert Haas <robertmhaas@gmail.com>
Re: Problem while setting the fpw with SIGHUP Michael Paquier <michael@paquier.xyz>
Re: Problem while setting the fpw with SIGHUP Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Problem while setting the fpw with SIGHUP Amit Kapila <amit.kapila16@gmail.com>
Re: Problem while setting the fpw with SIGHUP Michael Paquier <michael@paquier.xyz>
Re: Problem while setting the fpw with SIGHUP Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Problem while setting the fpw with SIGHUP Amit Kapila <amit.kapila16@gmail.com>
Re: Problem while setting the fpw with SIGHUP Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Problem while setting the fpw with SIGHUP Michael Paquier <michael@paquier.xyz>
Re: Problem while setting the fpw with SIGHUP Michael Paquier <michael@paquier.xyz>
Re: Problem while setting the fpw with SIGHUP Amit Kapila <amit.kapila16@gmail.com>
Re: Problem while setting the fpw with SIGHUP Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Problem while setting the fpw with SIGHUP Michael Paquier <michael@paquier.xyz>
Re: Problem while setting the fpw with SIGHUP Michael Paquier <michael@paquier.xyz>
Re: Problem while setting the fpw with SIGHUP Amit Kapila <amit.kapila16@gmail.com>
Re: Problem while setting the fpw with SIGHUP Michael Paquier <michael@paquier.xyz>
Re: Problem while setting the fpw with SIGHUP Amit Kapila <amit.kapila16@gmail.com>
Re: Problem while setting the fpw with SIGHUP Michael Paquier <michael@paquier.xyz>
Re: Problem while setting the fpw with SIGHUP Amit Kapila <amit.kapila16@gmail.com>
Re: Problem while setting the fpw with SIGHUP Michael Paquier <michael@paquier.xyz>
Re: Problem while setting the fpw with SIGHUP Amit Kapila <amit.kapila16@gmail.com>
Re: Problem while setting the fpw with SIGHUP Michael Paquier <michael@paquier.xyz>
Re: Problem while setting the fpw with SIGHUP Amit Kapila <amit.kapila16@gmail.com>
Re: Problem while setting the fpw with SIGHUP Amit Kapila <amit.kapila16@gmail.com>
Re: Problem while setting the fpw with SIGHUP Amit Kapila <amit.kapila16@gmail.com>
Re: Problem while setting the fpw with SIGHUP Michael Paquier <michael@paquier.xyz>
Re: Problem while setting the fpw with SIGHUP Amit Kapila <amit.kapila16@gmail.com>
Re: Problem while setting the fpw with SIGHUP Michael Paquier <michael@paquier.xyz>
Re: Problem while setting the fpw with SIGHUP Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Problem while setting the fpw with SIGHUP Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Problem while setting the fpw with SIGHUP Michael Paquier <michael@paquier.xyz>
Re: Problem while setting the fpw with SIGHUP Amit Kapila <amit.kapila16@gmail.com>
Re: Problem while setting the fpw with SIGHUP Amit Kapila <amit.kapila16@gmail.com>
Re: Problem while setting the fpw with SIGHUP Michael Paquier <michael@paquier.xyz>
Re: Problem while setting the fpw with SIGHUP Amit Kapila <amit.kapila16@gmail.com>
Re: Problem while setting the fpw with SIGHUP Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Problem while setting the fpw with SIGHUP Michael Paquier <michael@paquier.xyz>
Re: Problem while setting the fpw with SIGHUP Amit Kapila <amit.kapila16@gmail.com>
Re: Problem while setting the fpw with SIGHUP Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Problem while setting the fpw with SIGHUP Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Problem while setting the fpw with SIGHUP Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
On Tue, Mar 20, 2018 at 10:43:55AM +0530, Dilip Kumar wrote:
> I think like WALWriterProcess, we need to call InitXLogInsert for the
> CheckpointerProcess as well as for the BgWriterProcess
> because earlier they were calling InitXLogInsert while check
> RecoveryInProgress before inserting the WAL.

/* don't set signals, bgwriter has its own agenda */
+                       InitXLOGAccess();
+                       InitXLogInsert()

This is wrong, as the checkpointer is started as well on standbys, and
that InitXLOGAccess initializes things for WAL generation like
ThisTimeLineID.  So you should just call InitXLogInsert(), and a comment
would be welcome for both the bgwriter and the checkpointer.
--
Michael
В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
Сообщение: Re: jsonpath
От: Michael Paquier
Дата:
FAQ