Re: Patch (3): Implement failover on libpq connect level.

From: Thom Brown <thom(at)linux(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Patch (3): Implement failover on libpq connect level.
Date: 2015-11-17 19:42:42
Message-ID: CAA-aLv6Mo0vuXJyNmfQkoU+_c-aqJE=pesmxrUJRxu15SW2cuw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc

On 26 October 2015 at 07:58, Victor Wagner <vitus(at)wagner(dot)pp(dot)ru> wrote:
> On 2015.10.14 at 13:41:51 +0300, Victor Wagner wrote:
>
>> Attached patch which implements client library failover and
>> loadbalancing as was described in the proposal
>> <20150818041850(dot)GA5092(at)wagner(dot)pp(dot)ru>.
>
> New version of patch
>
> 1. Handles replication connections correctly (i.e doesn't attempt to
> check readwrite mode if replication option is on)
> 2. Some minor improvement recommended by Korry Douglas in
> <562A9259(dot)4060408(at)enterprisedb(dot)com>

This patch doesn't apply. On line 636, this appears:

<<<<<<< BEGIN MERGE CONFLICT: local copy shown first <<<<<<<<<<<<<<<
+ if (value[0] == 't')
======= COMMON ANCESTOR content follows ============================
+ if (strcmp(value, "true") == 0)
======= MERGED IN content follows ==================================
+ if (value[0]=='t')
>>>>>>> END MERGE CONFLICT >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Thom

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dean Rasheed 2015-11-17 19:42:46 Re: Bug in numeric multiplication
Previous Message Pavel Stehule 2015-11-17 19:34:03 Re: proposal: multiple psql option -c

Browse pgsql-jdbc by date

  From Date Subject
Next Message Peter Eisentraut 2015-11-17 20:20:30 Re: Patch: Implement failover on libpq connect level.
Previous Message Sehrope Sarkuni 2015-11-13 22:44:09 Re: Release for 9.5