Re: Patch: Implement failover on libpq connect level.

From: Victor Wagner <vitus(at)wagner(dot)pp(dot)ru>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Patch: Implement failover on libpq connect level.
Date: 2016-09-05 04:22:15
Message-ID: 20160905072215.4efd7b8a@wagner.wagner.home
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc

On Mon, 5 Sep 2016 07:59:02 +0530
Mithun Cy <mithun(dot)cy(at)enterprisedb(dot)com> wrote:

> On Aug 31, 2016 1:44 PM, "Victor Wagner" <vitus(at)wagner(dot)pp(dot)ru> wrote:
> > Thanks, I've added this to 7-th (yet unpublished here) version of my
> > patch.
> Hi victor, just wanted know what your plan for your patch 07. Would
> you like to submit it to the community. I have just signed up as a
> reviewer for your patch.

As community shows an interest with this patch, and it has been
included in the current commitfest, I've to submit it.

This version of patch includes

1. Most important - a tap test suite (really small enough and has a
room for improvements).

2. Compatibility with older versions - now readonly check is skipped if
only one hostname is specified in the connect string

3. pg_host and pg_port variables now show host name and port library
was connected to.

4. Your fix with compilation of ecpg tests.

Patch is attached.

--
Victor Wagner <vitus(at)wagner(dot)pp(dot)ru>

Attachment Content-Type Size
libpq-failover-7.patch text/x-patch 54.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Craig Ringer 2016-09-05 04:40:47 [PATCH] Send catalog_xmin separately in hot standby feedback
Previous Message Amit Kapila 2016-09-05 04:03:03 Re: Speed up Clog Access by increasing CLOG buffers

Browse pgsql-jdbc by date

  From Date Subject
Next Message Aleksander Alekseev 2016-09-05 11:03:11 Re: Patch: Implement failover on libpq connect level.
Previous Message Mithun Cy 2016-09-05 02:29:02 Re: Patch: Implement failover on libpq connect level.