Re: [HACKERS] Reading timeline from pg_control on replication slave

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [HACKERS] Reading timeline from pg_control on replication slave
Дата
Msg-id CAB7nPqQ8HffwDQwwg5_Z_NsFqk8VnyioyXydNPivHU8F-WWvEA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Reading timeline from pg_control on replication slave  (Craig Ringer <craig@2ndquadrant.com>)
Список pgsql-hackers
On Mon, Oct 30, 2017 at 2:48 AM, Craig Ringer <craig@2ndquadrant.com> wrote:
> (I'd quite like ThisTimeLineID to go away as a global. It's messy and
> confusing, and I'd much rather it be fetched when needed).

Yeah, I agree. My take on the matter is that we could just use the
status data of the control file which is in shared memory as the only
writers to it are the checkpointer and the startup processes.
-- 
Michael


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

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

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: [HACKERS] Moving relation extension locks out of heavyweight lock manager
Следующее
От: Amit Langote
Дата:
Сообщение: Re: [HACKERS] path toward faster partition pruning