Re: pg_basebackup and pg_stat_tmp directory - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: pg_basebackup and pg_stat_tmp directory
Date
Msg-id CAA4eK1KnS+-MCK=qDkha4oDsT21YOc7STpKyt6x2gQVRMPjJ8Q@mail.gmail.com
Whole thread Raw
In response to pg_basebackup and pg_stat_tmp directory  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: pg_basebackup and pg_stat_tmp directory
List pgsql-hackers
On Tue, Jan 28, 2014 at 9:26 AM, Fujii Masao <masao.fujii@gmail.com> wrote:
> Hi,
>
> The files in pg_stat_tmp directory don't need to be backed up because they are
> basically reset at the archive recovery. So I think it's worth
> changing pg_basebackup
> so that it skips any files in pg_stat_tmp directory. Thought?

I think this is good idea, but can't it also avoid
PGSTAT_STAT_PERMANENT_TMPFILE along with temp files in
pg_stat_tmp



With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: pg_basebackup and pg_stat_tmp directory
Next
From: David Fetter
Date:
Subject: Re: Fix comment typo in /src/backend/command/cluster.c