Re: Connection string parameter 'replication' in documentation

From: Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp>
To: robertmhaas(at)gmail(dot)com
Cc: bwtakacy(at)gmail(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Connection string parameter 'replication' in documentation
Date: 2015-10-07 02:48:36
Message-ID: 20151007.114836.196245243.horiguchi.kyotaro@lab.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Ouch!

At Tue, 6 Oct 2015 17:22:17 -0400, Robert Haas <robertmhaas(at)gmail(dot)com> wrote in <CA+TgmobZVq6E+LwuM=Sva358SQ-FrD-qEim8wPZka9sHWna6mw(at)mail(dot)gmail(dot)com>
> On Mon, Oct 5, 2015 at 6:07 AM, Kyotaro HORIGUCHI
> <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp> wrote:
> > /*
> > * We use the expand_dbname parameter to process the connection string (or
> > - * URI), and pass some extra options. The deliberately undocumented
> > - * parameter "replication=true" makes it a replication connection. The
> > - * database name is ignored by the server in replication mode, but specify
> > - * "replication" for .pgpass lookup.
> > + * URI), and pass some extra options. The paramter "replication"
> > + * deliberately documented out of the section for the ordiary client
> > + * protocol, having "true" makes it a physical replication connection. The
> > + * database name is ignored by the server in physical replication mode,
> > + * but specify "replication" for .pgpass lookup.
> > */
>
> I don't think this is an improvement, even ignoring the fact that
> you've spelled a couple of words incorrectly. The original text seems
> clear enough, and the new text isn't really fully accurate either: the
> discussion of when the database name is ignored really shouldn't be
> linked to whether this is logical or physical replication.

Thank you for your kindly replying this. I agree to the comment
above. It is my mistake that "in physical.." looks to qualify
"ignored" but no future in polishing it.

regards,

--
Kyotaro Horiguchi
NTT Open Source Software Center

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Etsuro Fujita 2015-10-07 03:30:27 Re: Foreign join pushdown vs EvalPlanQual
Previous Message Etsuro Fujita 2015-10-07 02:35:29 Re: Obsolete comment in tidpath.c