Re: [HACKERS] Reading timeline from pg_control on replication slave - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [HACKERS] Reading timeline from pg_control on replication slave
Date
Msg-id CAB7nPqQ8HffwDQwwg5_Z_NsFqk8VnyioyXydNPivHU8F-WWvEA@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] Reading timeline from pg_control on replication slave  (Craig Ringer <craig@2ndquadrant.com>)
List 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 by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: [HACKERS] Moving relation extension locks out of heavyweight lock manager
Next
From: Amit Langote
Date:
Subject: Re: [HACKERS] path toward faster partition pruning