Re: Streaming base backups - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Streaming base backups
Date
Msg-id 4D2787AE.4060503@enterprisedb.com
Whole thread Raw
In response to Streaming base backups  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
On 05.01.2011 15:54, Magnus Hagander wrote:
> I've implemented a frontend for this in pg_streamrecv, based on the assumption
> that we wanted to include this in bin/ for 9.1 - and that it seems like a
> reasonable place to put it. This can obviously be moved elsewhere if we want to.
> That code needs a lot more cleanup, but I wanted to make sure I got the backend
> patch out for review quickly. You can find the current WIP branch for
> pg_streamrecv on my github page at https://github.com/mhagander/pg_streamrecv,
> in the branch "baserecv". I'll be posting that as a separate patch once it's
> been a bit more cleaned up (it does work now if you want to test it, though).

One more thing, now that I've played a bit with pg_streamrecv:

I find it strange that the data directory must exist when you call 
pg_streamrecv in base-backup mode. I would expect it to work like 
initdb, and create the directory if it doesn't exist.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Streaming base backups
Next
From: Florian Pflug
Date:
Subject: Re: LOCK for non-tables