Re: postgresql.conf archive_command example - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: postgresql.conf archive_command example
Date
Msg-id 4E60F1E60200002500040B89@gw.wicourts.gov
Whole thread Raw
In response to Re: postgresql.conf archive_command example  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Responses Re: postgresql.conf archive_command example
List pgsql-hackers
Dimitri Fontaine <dimitri@2ndQuadrant.fr> wrote:
> I think the solution to that problem is to provide a default
> archive command that just does the very simple thing, namely
> moving the WAL file to some place given as parameter.  Some
> *local* mount point.
I think we've been mostly in agreement, but I have a few quibbles or
clarifications to that:
(1)  We're talking about a new /bin executable to do this which
could be referenced in an archive_command string or run from a
script called by archive_command, right?
(2)  It should copy, not move, with protection against overwriting
an existing file.
(3)  Maybe not in the initial version, but eventually it might be
nice to support URLs of some known protocols in addition to local
directories.
(4)  Maybe not in the initial version, but eventually it might be
nice to support checking for an "owner" file of some sort in the
target directory, to help sort out problems with copied databases
writing to the same location as the source.
-Kevin



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [v9.1] sepgsql - userspace access vector cache
Next
From: Tom Lane
Date:
Subject: Re: timezone GUC