diff options
| author | Andres Freund <andres@anarazel.de> | 2015-07-12 22:06:27 +0200 |
|---|---|---|
| committer | Andres Freund <andres@anarazel.de> | 2015-07-12 22:15:31 +0200 |
| commit | 0e8e48b0da6ea00f3dbcb659542b0c81a97d1253 (patch) | |
| tree | cc6cfc9d65457d7fa50ef0f6ddb5153b81dfd753 /doc/src | |
| parent | ccd062cfb90e68f7e80c4b31c474db9087289b7d (diff) | |
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
Diffstat (limited to 'doc/src')
| -rw-r--r-- | doc/src/sgml/ref/pg_receivexlog.sgml | 10 | ||||
| -rw-r--r-- | doc/src/sgml/ref/pg_recvlogical.sgml | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/doc/src/sgml/ref/pg_receivexlog.sgml b/doc/src/sgml/ref/pg_receivexlog.sgml index fd787649e42..a4c98921cb8 100644 --- a/doc/src/sgml/ref/pg_receivexlog.sgml +++ b/doc/src/sgml/ref/pg_receivexlog.sgml @@ -93,6 +93,16 @@ PostgreSQL documentation </varlistentry> <varlistentry> + <term><option>--if-not-exists</option></term> + <listitem> + <para> + Do not not error out when <option>--create-slot</option> is specified + and a slot with the specified name already exists. + </para> + </listitem> + </varlistentry> + + <varlistentry> <term><option>-n</option></term> <term><option>--no-loop</option></term> <listitem> diff --git a/doc/src/sgml/ref/pg_recvlogical.sgml b/doc/src/sgml/ref/pg_recvlogical.sgml index a28dbc3f184..4eda9ebdd1f 100644 --- a/doc/src/sgml/ref/pg_recvlogical.sgml +++ b/doc/src/sgml/ref/pg_recvlogical.sgml @@ -155,6 +155,16 @@ PostgreSQL documentation </varlistentry> <varlistentry> + <term><option>--if-not-exists</option></term> + <listitem> + <para> + Do not not error out when <option>--create-slot</option> is specified + and a slot with the specified name already exists. + </para> + </listitem> + </varlistentry> + + <varlistentry> <term><option>-n</option></term> <term><option>--no-loop</option></term> <listitem> |
