Re: Patch: incorrect array offset in backend replication tar header
Magnus Hagander <magnus@hagander.net>
From: Magnus Hagander <magnus@hagander.net>
To: Brian Weaver <cmdrclueless@gmail.com>
Cc: Marko Tiikkaja <pgmail@joh.to>, Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@postgresql.org
Date: 2012-09-27T22:01:12Z
Lists: pgsql-hackers
On Tue, Sep 25, 2012 at 5:08 PM, Brian Weaver <cmdrclueless@gmail.com> wrote: > Unless I misread the code, the tar format and streaming xlog are > mutually exclusive. Considering my normal state of fatigue it's not > unlikely. I don't want to have to set my wal_keep_segments > artificially high just for the backup Correct, you can't use both of those at the same time. That can certainly be improved - but injecting a file into the tar from a different process is far from easy. But one idea might be to just stream the WAL into a *separate* tarfile in this case. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/