]> granicus.if.org Git - postgresql/commit
Optionally don't error out due to preexisting slots in commandline utilities.
authorAndres Freund <andres@anarazel.de>
Sun, 12 Jul 2015 20:06:27 +0000 (22:06 +0200)
committerAndres Freund <andres@anarazel.de>
Sun, 12 Jul 2015 20:15:31 +0000 (22:15 +0200)
commit0e8e48b0da6ea00f3dbcb659542b0c81a97d1253
treecc6cfc9d65457d7fa50ef0f6ddb5153b81dfd753
parentccd062cfb90e68f7e80c4b31c474db9087289b7d
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
doc/src/sgml/ref/pg_receivexlog.sgml
doc/src/sgml/ref/pg_recvlogical.sgml
src/bin/pg_basebackup/pg_receivexlog.c
src/bin/pg_basebackup/pg_recvlogical.c
src/bin/pg_basebackup/streamutil.c
src/bin/pg_basebackup/streamutil.h