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

From Tsunakawa, Takayuki
Subject RE: Libpq support to connect to standby server as priority
Date
Msg-id 0A3221C70F24FB45833433255569204D1FBBA4FD@G01JPEXMBYT05
Whole thread Raw
In response to Re: Libpq support to connect to standby server as priority  (Haribabu Kommi <kommi.haribabu@gmail.com>)
Responses Re: Libpq support to connect to standby server as priority
List pgsql-hackers
From: Haribabu Kommi [mailto:kommi.haribabu@gmail.com]
> Attached are the updated patches.

Thanks, all look fixed.


> The target_server_type option yet to be implemented.

Please let me review once more and proceed to testing when the above is added, to make sure the final code looks good.
I'dlike to see how complex the if conditions in multiple places would be after adding target_server_type, and consider
whetherwe can simplify them together with you.  Even now, the if conditions seem complicated to me... that's probably
dueto the existence of read_write_host_index.
 


Regards
Takayuki Tsunakawa






pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: pg_partition_tree crashes for a non-defined relation
Next
From: Michael Paquier
Date:
Subject: Re: Segfault when restoring -Fd dump on current HEAD