Tom Lane wrote: > Heikki Linnakangas <heikki.linnakan...@enterprisedb.com> writes: >> Simon Riggs wrote: >>> We might also have written half a file many times. The files in pg_xlog >>> are suspect whereas the files in the archive are not. If we have both we >>> should prefer the archive. > >> Yep. > > Really? That will result in a change in the longstanding behavior of > ordinary recovery.
Really? Not as far as I can see. Recovery has always tried to restore WAL files from archive first, falling back to the copy in pg_xlog only if restore_command returns failure. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers