pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: Fujii Masao <fujii@postgresql.org>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: [COMMITTERS] pgsql: Add --synchronous option to pg_receivexlog, for more reliable WA
Date: Tue, 15 Sep 2015 22:25:09 -0400
Message-ID: <55F8D305.9040506@gmx.net> (raw)
In-Reply-To: <E1XqQBm-0007AJ-SU@gemulon.postgresql.org>
References: <E1XqQBm-0007AJ-SU@gemulon.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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>



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (4+ messages)  latest in thread

Message-ID: <55F8D305.9040506@gmx.net>
Permalink:  ../55F8D305.9040506@gmx.net/
Also on:    postgresql.org/message-id/55F8D305.9040506@gmx.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter_e@gmx.net, fujii@postgresql.org, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Add --synchronous option to pg_receivexlog, for more reliable WA
  In-Reply-To: <55F8D305.9040506@gmx.net>
  References: <E1XqQBm-0007AJ-SU@gemulon.postgresql.org> <55F8D305.9040506@gmx.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox