]> 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:20 +0000 (22:15 +0200)
commitff27db5dd2fc096d89d3f995d3f650ec6d3bc147
tree4e57e6befd68986468c4547a136ef9f6011ba65d
parent0a0fe2ff6ef65e3a1cf4d83d96eab144477a0220
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