Hi, > I don't really understand why you are storing something in shared > memory specifically for the archiver. Can't we use XLogCtl's > ThisTimeLineID instead of storing another copy of the information?
Yes, we can avoid storing another copy of information. We can use XLogCtl's ThisTimeLineID on Primary. However, XLogCtl's ThisTimeLineID is not set to the current timeline ID on Standby server. It's value is set to '0'. Can we use XLogCtl's replayEndTLI on the Standby server to get the current timeline ID? Thanks, Dipesh