pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Steele <david@pgmasters.net>
To: Victor Wagner <vitus@wagner.pp.ru>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Patch: Implement failover on libpq connect level.
Date: Wed, 9 Mar 2016 18:11:12 -0500
Message-ID: <56E0AD90.5090409@pgmasters.net> (raw)
In-Reply-To: <20160201220540.GA99599@alvherre.pgsql>
References: <20160201220540.GA99599@alvherre.pgsql>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Hi Victor,

On 2/1/16 5:05 PM, Alvaro Herrera wrote:
> Victor Wagner wrote:
>> On Fri, 22 Jan 2016 16:36:15 -0300
>> Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
>>
>>> You're editing the expected file for the libpq-regress thingy, but you
>>> haven't added any new lines to test the new capability.  I think it'd
>>> be good to add some there.  (I already said this earlier in the
>>> thread; is there any reason you ignored it the first time?)
>> I seriously doubt that this program can be used to test new
>> capabilities.
>>
>> All it does, it calls PQconninfoParse and than examines some fields of
>> PGconn structure.
> Ah, you're right, I didn't remember that.
>
>> If I add some new uris, than only thing I can test is that comma is
>> properly copied from the URI to this field. And may be that some syntax
>> errors are properly detected.
> Yeah, we should do that.
>
>> So, I think that new functionality need other approach for testing.
>> There should be test of real connection to real temporary cluster.
>> Probably, based on Perl TAP framework which is actively used in the
>> Postgres recently.
> Yes, agreed.  So please have a look at that one and share your opinion
> about it.  It'd be useful.
>
> Meanwhile I'm moving the patch to the next commitfest.

There hasn't been any movement on this patch in a while.  Will you have 
a new tests ready for review soon?

Thanks,

-- 
-David
david@pgmasters.net

view thread (165+ messages)  latest in thread

Message-ID: <56E0AD90.5090409@pgmasters.net>
Permalink:  ../56E0AD90.5090409@pgmasters.net/
Also on:    postgresql.org/message-id/56E0AD90.5090409@pgmasters.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: david@pgmasters.net, vitus@wagner.pp.ru, pgsql-hackers@postgresql.org
  Subject: Re: Patch: Implement failover on libpq connect level.
  In-Reply-To: <56E0AD90.5090409@pgmasters.net>
  References: <20160201220540.GA99599@alvherre.pgsql> <56E0AD90.5090409@pgmasters.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox