Re: PgFDW connection invalidation by ALTER SERVER/ALTER USER MAPPING

From: Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp>
To: alvherre(at)2ndquadrant(dot)com
Cc: tgl(at)sss(dot)pgh(dot)pa(dot)us, ashutosh(dot)bapat(at)enterprisedb(dot)com, pgsql-hackers(at)postgresql(dot)org, Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp, fcs1(at)poczta(dot)onet(dot)pl
Subject: Re: PgFDW connection invalidation by ALTER SERVER/ALTER USER MAPPING
Date: 2017-07-21 05:37:03
Message-ID: 20170721.143703.138311579.horiguchi.kyotaro@lab.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

At Thu, 20 Jul 2017 18:23:05 -0400, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> wrote in <20170720222305(dot)ij3pk7qw5im3wozr(at)alvherre(dot)pgsql>
> Kyotaro HORIGUCHI wrote:
>
> > Finally, I added a new TAP test library PsqlSession. It offers
> > interactive psql sessions. Then added a simple test to
> > postgres_fdw using it.
>
> Hmm, I think this can be very useful for other things. Let's keep this
> in mind to use in the future, even if we find another way to fix the
> issue at hand. In fact, I had a problem a couple of weeks ago in which
> I needed two concurrent sessions and one of them disconnected in the
> middle of the test. Can't do that with isolationtester ...

Thanks. I agree that it still useful to write more complex
tests. The most significant issue on this (PsqlSession.pm) comes
from the fact that I didn't find the way to detect the end of an
query execution without attaching a bogus query.. And this kind
of things tend to be unstable on an high-load environment.

regards,

--
Kyotaro Horiguchi
NTT Open Source Software Center

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2017-07-21 05:55:12 Re: PgFDW connection invalidation by ALTER SERVER/ALTER USER MAPPING
Previous Message Kyotaro HORIGUCHI 2017-07-21 05:25:51 Re: PgFDW connection invalidation by ALTER SERVER/ALTER USER MAPPING

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2017-07-21 05:55:12 Re: PgFDW connection invalidation by ALTER SERVER/ALTER USER MAPPING
Previous Message Thomas Munro 2017-07-21 05:31:46 Re: [TRAP: FailedAssertion] causing server to crash