Re: Libpq support to connect to standby server as priority
Greg Nancarrow <gregn4422@gmail.com>
From: Greg Nancarrow <gregn4422@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>, Anastasia Lubennikova <a.lubennikova@postgrespro.ru>,
Peter Smith <smithpb2250@gmail.com>, "Smith, Peter" <peters@fast.au.fujitsu.com>,
David Steele <david@pgmasters.net>, "Tsunakawa, Takayuki" <tsunakawa.takay@fujitsu.com>,
Haribabu Kommi <kommi.haribabu@gmail.com>, Robert Haas <robertmhaas@gmail.com>, Laurenz Albe <laurenz.albe@cybertec.at>, Dave Cramer <pg@fastcrypt.com>, Jing Wang <jingwangian@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>,
Elvis Pranskevichus <elprans@gmail.com>
Date: 2020-12-01T08:09:10Z
Lists: pgsql-hackers
Attachments
- v20-0001-in_hot_standby-and-transaction_read_only-reportable-GUCs.patch (application/octet-stream) patch v20-0001
- v20-0002-Enhance-libpq-target_session_attrs.patch (application/octet-stream) patch v20-0002
On Thu, Nov 26, 2020 at 11:07 AM Greg Nancarrow <gregn4422@gmail.com> wrote: > > On Thu, Nov 26, 2020 at 3:43 AM Tom Lane <tgl@sss.pgh.pa.us> wrote: > > > > Thanks for looking! Pushed. > > > > At this point the cfbot is going to start complaining that the last-posted > > patch in this thread no longer applies. Unless you have a new patch set > > nearly ready to post, I think we should close the CF entry as RWF, and > > then you can open a new one when you're ready. > > > > Actually, the cfbot shouldn't be complaining, as my last-posted patch > still seems to apply cleanly on the latest code (with your pushed > patch), and all tests pass. > Hopefully it's OK to let it roll over to the next CF with the WOA status. > I am actively working on processing the feedback and updating the > patch, and hope to post an update next week sometime. > Posting an updated set of patches. Regards, Greg Nancarrow Fujitsu Australia
Commits
-
Make test_target_session_attrs more robust against connection failure.
- 3769e11a3183 14.0 landed
-
Extend the abilities of libpq's target_session_attrs parameter.
- ee28cacf619f 14.0 landed
-
Mark default_transaction_read_only as GUC_REPORT.
- d16f8c8e416d 14.0 landed
-
Introduce a new GUC_REPORT setting "in_hot_standby".
- bf8a662c9afa 14.0 landed
-
Avoid spamming the client with multiple ParameterStatus messages.
- 2432b1a04087 14.0 landed
-
Avoid harmless Valgrind no-buffer-pin errors.
- a766d6ca22ac 14.0 cited
-
Restructure libpq code to remove some duplicity
- b438e7e7a1c5 13.0 landed
-
libpq: Add target_session_attrs parameter.
- 721f7bd3cbcc 10.0 cited