Re: little PITR annoyance - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: little PITR annoyance
Date
Msg-id 1181330195.3643.7.camel@silverbirch.site
Whole thread Raw
In response to Re: little PITR annoyance  (ohp@pyrenet.fr)
Responses Re: little PITR annoyance  (ohp@pyrenet.fr)
List pgsql-hackers
Hi Olivier,

On Fri, 2007-06-08 at 11:41 +0200, ohp@pyrenet.fr wrote: 
> The problem is not with gzip or scp, it is that postmaster refuses to
> start because wal FS is full.

> My questions was: why don't we start the archiving *BEFORE* postmaster to
> make room.

The archiver is executed from the postmaster, so thats not possible.

We could investigate where best to put some code, but it wouldn't be
executed very frequently.

Why not just execute the archive_command in a script, replacing
the .ready with .done files in archive_status directory when its
processed?

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




pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Controlling Load Distributed Checkpoints
Next
From: "Simon Riggs"
Date:
Subject: Re: Minor changes to Recovery related code