Re: [HACKERS] pg_basebackup vs WAL fetching

2016-02-13 Thread Andres Freund
On 2016-02-13 23:25:06 +0800, Craig Ringer wrote: > Internally replication slots have an ephemeral form, where the slot is > dropped automatically on crash recovery. And upon release (including a http://www.postgresql.org/mailpref/pgsql-hackers

Re: [HACKERS] pg_basebackup vs WAL fetching

2016-02-13 Thread Craig Ringer
On 12 February 2016 at 22:37, Magnus Hagander wrote: > Right now, pg_basebackup can only use replication slots with WAL > streaming. It's intended, I believe, to be used when you use pg_basebackup > to set up a new replica, to close the gap before starting a replica (ref > http://www.postgresql.o

[HACKERS] pg_basebackup vs WAL fetching

2016-02-12 Thread Magnus Hagander
Right now, pg_basebackup can only use replication slots with WAL streaming. It's intended, I believe, to be used when you use pg_basebackup to set up a new replica, to close the gap before starting a replica (ref http://www.postgresql.org/message-id/flat/555dd2b2.7020...@gmx.net). A bit down that