Fujii Masao <masao.fu...@gmail.com> writes: > How about just making a restore_command copy the WAL files as the > normal one (e.g., 0000...) instead of a pg_xlog/RECOVERYXLOG? > Though we need to worry about deleting them, we can easily leave > the task to the bgwriter.
The reason for doing it that way was to limit disk space usage during a long restore. I'm not convinced we can leave the task to the bgwriter --- it shouldn't be deleting anything at that point. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers