PITR: enhance getRecordTimestamp() - Mailing list pgsql-hackers

From Simon Riggs
Subject PITR: enhance getRecordTimestamp()
Date
Msg-id CANbhV-F+8=Y=cfurfD2hjoWVUvTk-Ot9BJdw2Myc=st3TsZy9g@mail.gmail.com
Whole thread Raw
Responses Re: PITR: enhance getRecordTimestamp()
List pgsql-hackers
For PITR, getRecordTimestamp() did not include all record types that
contain times.
Add handling for checkpoints, end of recovery and prepared xact record types.
Based on earlier discussions with community members.

Also, allow the option of recovery_target_use_origin_time = off (default) | on.
This allows PITR to consider whether it should use the local server
time of changes, or whether it should use the origin time on each
node. This is useful in multi-node data recovery.

This is part of a series of enhancements to PITR, in no specific order.

Passes make check and recovery testing; includes docs.

-- 
Simon Riggs                http://www.EnterpriseDB.com/

Attachment

pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: pgbench logging broken by time logic changes
Next
From: Amit Kapila
Date:
Subject: Re: Skipping logical replication transactions on subscriber side