public inbox for [email protected]
help / color / mirror / Atom feedFrom: Petr Jelinek <[email protected]>
To: Andres Freund <[email protected]>
To: Michael Paquier <[email protected]>
To: Petr Jelinek <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: Fujii Masao <[email protected]>
Subject: Re: libpq options
Date: Fri, 2 Mar 2018 10:44:13 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<CAB7nPqRZ-8BkUuF1UR+xzg3J+LDTcafbJ75DZGsfn+++iF5_aw@mail.gmail.com>
<CAB7nPqTMQYKO4AJ6xfz-btAtvL-=CWxYnkXUOVEQGNk4Ey1k=Q@mail.gmail.com>
<[email protected]>
On 01/03/18 10:35, Andres Freund wrote:
> On 2017-11-25 19:05:54 +0900, Michael Paquier wrote:
>> + <varlistentry id="libpq-connect-replication" xreflabel="replication">
>> + <term><literal>replication</literal></term>
>> + <listitem>
>> + <para>
>> + This option determines if a backend should use the replication
>> + protocol.
>
> "should"? The backend will, and the client will have to do so as well.
>
I think so as well.
>
>> A Boolean value of <literal>true</literal> tells the backend
>> + to go into walsender mode, wherein a small set of replication commands
>> + can be issued instead of SQL statements.
>
> This actually is wrong now I think. Petr?
>
If the replication is true, we don't have database connection so only
replication commands can be executed.
SQL commands work when replication is set to database.
--
Petr Jelinek http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
view thread (13+ messages) latest in thread
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Subject: Re: libpq options
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox