Re: Very basic question about Archive logs - Mailing list pgsql-novice

From David G. Johnston
Subject Re: Very basic question about Archive logs
Date
Msg-id CAKFQuwZwA=sq7xeLV032QJCzZ99NQnq8SNg4a6Y_hBxN_D=PmA@mail.gmail.com
Whole thread
In response to Very basic question about Archive logs  ("Subramanian,Ramachandran" <ramachandran.subramanian@alte-leipziger.de>)
Responses AW: Very basic question about Archive logs
List pgsql-novice
On Thursday, March 26, 2026, Subramanian,Ramachandran <ramachandran.subramanian@alte-leipziger.de> wrote:

Further more, if I execute the PIT-recovery On Tuesday at 0005 Hours and specify a Target recovery time of Monday 2300 Hours, then  Postgres will look at the active logs and any archive logs ( if it does not already exist in the active logs ) that were written between Tuesday 0005 Hours and Monday 2300 Hours and use these logs to Undo all the changes to the current Database. Is my understanding correct?

There is no rolling back.  You deploy the base backup first to 0100 Monday, then it would apply the WAL up to the target time.

David J.

pgsql-novice by date:

Previous
From: "Subramanian,Ramachandran"
Date:
Subject: Very basic question about Archive logs
Next
From: "Subramanian,Ramachandran"
Date:
Subject: AW: Very basic question about Archive logs