Re: pg_standby -l might destory the archived file - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_standby -l might destory the archived file
Date
Msg-id 29796.1243904443@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_standby -l might destory the archived file  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: pg_standby -l might destory the archived file  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
Fujii Masao <masao.fujii@gmail.com> writes:
> If so, it might be deleted after triggering the warm-standby. But, we cannot
> remove it because the latest xlog file which is required for normal recovery
> might exist in it. This is another undesirable scenario. Is this problem?

What recovery?  In the problem case you're positing, the slave server
has executed a checkpoint and come up live.  It's never going to be
interested in the old xlog again.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Patch: AdjustIntervalForTypmod shouldn't discard high-order data
Next
From: Tom Lane
Date:
Subject: Re: dblink patches for comment