Re: postgresql.conf archive_command example
От
Florian Pflug
Тема
Re: postgresql.conf archive_command example
Дата
Msg-id
78F6BC1B-9240-4B5D-B695-213B32EAD8B3@phlo.org
Ответ на
Re: postgresql.conf archive_command example (Aidan Van Dyk)
Список
Дерево обсуждения
postgresql.conf archive_command example Peter Eisentraut <peter_e@gmx.net>
Re: postgresql.conf archive_command example Brendan Jurd <direvus@gmail.com>
Re: postgresql.conf archive_command example Cédric Villemain <cedric.villemain.debian@gmail.com>
Re: postgresql.conf archive_command example Peter Eisentraut <peter_e@gmx.net>
Re: postgresql.conf archive_command example Dimitri Fontaine <dimitri@2ndQuadrant.fr>
Re: postgresql.conf archive_command example Robert Haas <robertmhaas@gmail.com>
Re: postgresql.conf archive_command example Josh Berkus <josh@agliodbs.com>
Re: postgresql.conf archive_command example Robert Haas <robertmhaas@gmail.com>
Re: postgresql.conf archive_command example Dimitri Fontaine <dimitri@2ndQuadrant.fr>
Re: postgresql.conf archive_command example "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: postgresql.conf archive_command example Robert Haas <robertmhaas@gmail.com>
Re: postgresql.conf archive_command example Tom Lane <tgl@sss.pgh.pa.us>
Re: postgresql.conf archive_command example "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: postgresql.conf archive_command example Robert Haas <robertmhaas@gmail.com>
Re: postgresql.conf archive_command example Dimitri Fontaine <dimitri@2ndQuadrant.fr>
Re: postgresql.conf archive_command example "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: postgresql.conf archive_command example Fujii Masao <masao.fujii@gmail.com>
Re: postgresql.conf archive_command example Robert Treat <rob@xzilla.net>
Re: postgresql.conf archive_command example Fujii Masao <masao.fujii@gmail.com>
Re: postgresql.conf archive_command example Simon Riggs <simon@2ndQuadrant.com>
Re: postgresql.conf archive_command example Fujii Masao <masao.fujii@gmail.com>
Re: postgresql.conf archive_command example Aidan Van Dyk <aidan@highrise.ca>
Re: postgresql.conf archive_command example "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: postgresql.conf archive_command example Florian Pflug <fgp@phlo.org>
Re: postgresql.conf archive_command example Martijn van Oosterhout <kleptog@svana.org>
Re: postgresql.conf archive_command example Andres Freund <andres@anarazel.de>
Re: postgresql.conf archive_command example Dimitri Fontaine <dimitri@2ndQuadrant.fr>
Re: postgresql.conf archive_command example "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: postgresql.conf archive_command example "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: postgresql.conf archive_command example Andrew Dunstan <andrew@dunslane.net>
Re: postgresql.conf archive_command example "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: postgresql.conf archive_command example Magnus Hagander <magnus@hagander.net>
Re: postgresql.conf archive_command example Dimitri Fontaine <dimitri@2ndQuadrant.fr>
Re: postgresql.conf archive_command example Cédric Villemain <cedric.villemain.debian@gmail.com>
On Sep8, 2011, at 15:09 , Aidan Van Dyk wrote: > Personally, I think both of these show examples of why PG should be > looking hard at either providing a simple robust local directory based > archive_command, or very seriously pointing users at properly written > tools like omniptr, or ptrtools, walmgr, etc... > > Neither of those cases should ever happen. If you're copying a file > into the archive, and making it appear non-atomically in your archive, > your doing something wrong. +1000. Archiving WAL should be done by copying to a temp file and moving it into place. Before returning success, one should probably also do the fsync incantations the linux kernel guys argued are necessary to prevent the file from appearing empty if the machine crashes shortly after the move. (Yeah, they fixed that after enough people complained, but the fact that they even went as far as arguing their behaviour is correct according to POSIX makes me uneasy...) It'd be very cool if we shipped a tool that did that correctly (pg_walcopy maybe?) on all supported platforms. best regards, Florian Pflug
В списке pgsql-hackers по дате отправления