Re: Streaming replication, and walsender during recovery - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Streaming replication, and walsender during recovery
Date
Msg-id 15357.1264693733@sss.pgh.pa.us
Whole thread Raw
In response to Re: Streaming replication, and walsender during recovery  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: Streaming replication, and walsender during recovery  (Simon Riggs <simon@2ndQuadrant.com>)
Re: Streaming replication, and walsender during recovery  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
Fujii Masao <masao.fujii@gmail.com> writes:
> How about just making a restore_command copy the WAL files as the
> normal one (e.g., 0000...) instead of a pg_xlog/RECOVERYXLOG?
> Though we need to worry about deleting them, we can easily leave
> the task to the bgwriter.

The reason for doing it that way was to limit disk space usage during
a long restore.  I'm not convinced we can leave the task to the bgwriter
--- it shouldn't be deleting anything at that point.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [BUG?] strange behavior in ALTER TABLE ... RENAME TO on inherited columns
Next
From: Tom Lane
Date:
Subject: Re: Review: listagg aggregate