Optionally don't error out due to preexisting slots in commandline utilities.

Andres Freund <andres@anarazel.de>

Commit: 0e8e48b0da6ea00f3dbcb659542b0c81a97d1253
Author: Andres Freund <andres@anarazel.de>
Date: 2015-07-12T20:15:31Z
Releases: 9.5.0
Optionally don't error out due to preexisting slots in commandline utilities.

pg_receivexlog and pg_recvlogical error out when --create-slot is
specified and a slot with the same name already exists. In some cases,
especially with pg_receivexlog, that's rather annoying and requires
additional scripting.

Backpatch to 9.5 as slot control functions have newly been added to
pg_receivexlog, and there doesn't seem much point leaving it in a less
useful state.

Discussion: 20150619144755.GG29350@alap3.anarazel.de

Files