Re: ReadRecord, EndRecPtr and XLOG_SWITCH - Mailing list pgsql-hackers

From Florian G. Pflug
Subject Re: ReadRecord, EndRecPtr and XLOG_SWITCH
Date
Msg-id 4692B7E7.6020203@phlo.org
Whole thread Raw
In response to ReadRecord, EndRecPtr and XLOG_SWITCH  ("Florian G. Pflug" <fgp@phlo.org>)
List pgsql-hackers
Florian G. Pflug wrote:
<snipped my own mail>

Please disregard - I was confusing xlogid with xlog segments, so
most of my mail was nonsense.

I've fixed my problem by storing not the EndRecPtr, but rather
the ReadRecPtr, in shmem and rereading the last already applied
record in my bgreplay process. Then I can just use ReadRecord(NULL),
and things Just Work.

Sorry for the noise & greetings
Florian Pflug



pgsql-hackers by date:

Previous
From: "Florian G. Pflug"
Date:
Subject: ReadRecord, EndRecPtr and XLOG_SWITCH
Next
From: "Florian G. Pflug"
Date:
Subject: "Running readonly queried on PITR slaves" status update