From: | David Steele <david(at)pgmasters(dot)net> |
---|---|
To: | Victor Wagner <vitus(at)wagner(dot)pp(dot)ru> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Patch: Implement failover on libpq connect level. |
Date: | 2016-03-09 23:11:12 |
Message-ID: | 56E0AD90.5090409@pgmasters.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-jdbc |
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(at)2ndquadrant(dot)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(at)pgmasters(dot)net
From | Date | Subject | |
---|---|---|---|
Next Message | Petr Jelinek | 2016-03-09 23:25:21 | Re: Timeline following for logical slots |
Previous Message | Alvaro Herrera | 2016-03-09 22:57:56 | Re: TAP / recovery-test fs-level backups, psql enhancements etc |
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2016-03-10 00:18:58 | Re: problems changing postgres jdbc driver |
Previous Message | Silvio Brandani | 2016-03-09 13:59:33 | Re: Fwd: problems changing postgres jdbc driver |