Re: Libpq support to connect to standby server as priority

From: vignesh C <vignesh21(at)gmail(dot)com>
To: Greg Nancarrow <gregn4422(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Anastasia Lubennikova <a(dot)lubennikova(at)postgrespro(dot)ru>, Peter Smith <smithpb2250(at)gmail(dot)com>, "Smith, Peter" <peters(at)fast(dot)au(dot)fujitsu(dot)com>, David Steele <david(at)pgmasters(dot)net>, "Tsunakawa, Takayuki" <tsunakawa(dot)takay(at)fujitsu(dot)com>, Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, Dave Cramer <pg(at)fastcrypt(dot)com>, Jing Wang <jingwangian(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Elvis Pranskevichus <elprans(at)gmail(dot)com>
Subject: Re: Libpq support to connect to standby server as priority
Date: 2021-02-12 03:41:49
Message-ID: CALDaNm38F070Gs3wYMBBg98iSVUAdsW7YAKfHQ==FoippvbWAA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Feb 12, 2021 at 7:07 AM Greg Nancarrow <gregn4422(at)gmail(dot)com> wrote:
>
> On Wed, Feb 10, 2021 at 5:09 PM vignesh C <vignesh21(at)gmail(dot)com> wrote:
> >
> > Modified.
> > These comments are handled in v22 patch posted in my earlier mail.
> >
>
> Thanks, just one minor thing I missed in doc/src/sgml/libpq.sgml.
>
> + The support of read-write transactions is determined by the
> value of the
> + <varname>default_transaction_read_only</varname> and
> + <varname>in_hot_standby</varname> configuration parameters, that is
> + reported by the server (if supported) upon successful connection. If
>
>
> should be:
>
> + The support of read-write transactions is determined by the
> values of the
> + <varname>default_transaction_read_only</varname> and
> + <varname>in_hot_standby</varname> configuration parameters, that are
> + reported by the server (if supported) upon successful connection. If
>
>
> (i.e. "value" -> "values" and "is" -> "are")

Thanks for the comments, this is handled in the v23 patch attached.
Thoughts?

Regards,
Vignesh

Attachment Content-Type Size
v23-0001-Enhance-the-libpq-target_session_attrs-connectio.patch text/x-patch 38.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2021-02-12 03:46:32 Re: Single transaction in the tablesync worker?
Previous Message Zhihong Yu 2021-02-12 03:35:18 Re: Parallel INSERT (INTO ... SELECT ...)