Re: [COMMITTERS] pgsql: Add --synchronous option to pg_receivexlog, for more reliable WA

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Fujii Masao <fujii(at)postgresql(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql: Add --synchronous option to pg_receivexlog, for more reliable WA
Date: 2015-09-16 02:25:09
Message-ID: 55F8D305.9040506@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On 11/17/14 12:34 PM, Fujii Masao wrote:
> Add --synchronous option to pg_receivexlog, for more reliable WAL writing.

The last two sentences of this piece of documentation are a bit
hand-wavy and hard to parse. Could you clarify this?

<varlistentry>
<term><option>-S <replaceable>slotname</replaceable></option></term>
<term><option>--slot=<replaceable class="parameter">slotname</replaceable></option></term>
<listitem>
<para>
Require <application>pg_receivexlog</application> to use an existing
replication slot (see <xref linkend="streaming-replication-slots">).
When this option is used, <application>pg_receivexlog</> will report
a flush position to the server, indicating when each segment has been
synchronized to disk so that the server can remove that segment if it
is not otherwise needed. <literal>--synchronous</literal> option must
be specified when making <application>pg_receivexlog</> run as
synchronous standby by using replication slot. Otherwise WAL data
cannot be flushed frequently enough for this to work correctly.
</para>
</listitem>
</varlistentry>

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2015-09-16 03:04:43 Re: [COMMITTERS] pgsql: Add --synchronous option to pg_receivexlog, for more reliable WA
Previous Message Tom Lane 2015-09-15 23:47:31 Re: pgsql: RLS refactoring

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2015-09-16 02:59:10 Re: Additional LWLOCK_STATS statistics
Previous Message Kouhei Kaigai 2015-09-16 02:02:55 Re: What is the extent of FDW join pushdown support in 9.5?