Re: Libpq support to connect to standby server as priority - Mailing list pgsql-hackers

From Greg Nancarrow
Subject Re: Libpq support to connect to standby server as priority
Date
Msg-id CAJcOf-dMEKXxMVgRB5N1J3RXbW91uOyAJ0jxVA5edX7Ky3995Q@mail.gmail.com
Whole thread Raw
In response to Re: Libpq support to connect to standby server as priority  (David Steele <david@pgmasters.net>)
Responses Re: Libpq support to connect to standby server as priority  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-hackers
Hi Hackers,

I'd like to submit a new version of a patch that I'd previously
submitted but was eventually Returned with Feedback (closed in
commitfest 2020-03).
The patch enhances the libpq "target_session_attrs" connection
parameter by supporting primary/standby/prefer-standby, and I've
attempted some sort of alignment with similar PGJDBC driver
functionality by adding a "target_server_type" parameter. Now targets
PG14.
I've merged the original set of 3 patches into one patch and tried to
account for most(?) of the requested changes in the feedback comments;
if nothing else, it should be easier to read and understand.
Previous discussion here:
https://www.postgresql.org/message-id/flat/CAF3+xM+8-ztOkaV9gHiJ3wfgENTq97QcjXQt+rbFQ6F7oNzt9A@mail.gmail.com

Regards,
Greg Nancarrow
Fujitsu Australia

Attachment

pgsql-hackers by date:

Previous
From: Oleksandr Shulgin
Date:
Subject: Re: [PATCH] Add support to psql for edit-and-execute-command
Next
From: Andy Fan
Date:
Subject: Find query characters in respect of optimizer for develop purpose