Re: postgresql.conf archive_command example
От | Kevin Grittner |
---|---|
Тема | Re: postgresql.conf archive_command example |
Дата | |
Msg-id | 4E60F1E60200002500040B89@gw.wicourts.gov обсуждение исходный текст |
Ответ на | Re: postgresql.conf archive_command example (Dimitri Fontaine <dimitri@2ndQuadrant.fr>) |
Ответы |
Re: postgresql.conf archive_command example
|
Список | 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 по дате отправления: