From: | Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> |
---|---|
To: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, Peter van Hardenberg <pvh(at)pvh(dot)ca>, Peter Eisentraut <peter_e(at)gmx(dot)net>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Patch: Implement failover on libpq connect level. |
Date: | 2016-10-25 08:15:52 |
Message-ID: | CAA4eK1JmFOCtv26WxFH_AeF06QcYA8otNbvAorW5mC5nYef+qQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-jdbc |
On Tue, Oct 25, 2016 at 2:10 AM, Alvaro Herrera
<alvherre(at)2ndquadrant(dot)com> wrote:
> Robert Haas wrote:
>
>
>> It is not obvious what it means if there are multiple ports but the
>> number doesn't equal the number of hosts.
>
> I think we should reject the case of differing number of elements and
> neither host nor port is a singleton, as an error. The suggestion to
> ignore some parts seems too error-prone.
>
+1. I also think returning error is better option in above case.
--
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Kyotaro HORIGUCHI | 2016-10-25 09:21:50 | Re: asynchronous execution |
Previous Message | Tsunakawa, Takayuki | 2016-10-25 07:48:35 | Re: [RFC] Transaction management overhaul is necessary? |
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Cramer | 2016-10-25 10:57:13 | Re: [RFC] How about changing the default value of defaultRowFetchSize? |
Previous Message | Tsunakawa, Takayuki | 2016-10-25 03:15:01 | Re: [RFC] How about changing the default value of defaultRowFetchSize? |