Re: LDAP check flapping on crake due to race

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Noah Misch <noah(at)leadboat(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: LDAP check flapping on crake due to race
Date: 2020-08-03 00:52:03
Message-ID: CA+hUKG+7h=N9_3ZqfdMVoLdFJh=DPjfR1ZKm7dPUiwA-Hg2+-Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Aug 3, 2020 at 12:29 PM Noah Misch <noah(at)leadboat(dot)com> wrote:
> On Mon, Aug 03, 2020 at 12:12:57PM +1200, Thomas Munro wrote:
> > On Mon, Aug 3, 2020 at 4:09 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> > > I'm inclined to suggest that the LDAP test's test_access could use
> > > an empty stdin and pass "-c 'SELECT 1'" as a command line option
> > > instead. (Maybe that's exactly what you meant, but I'm not sure.)
> >
> > Good idea. Here's a patch like that.
>
> While I had meant a different approach, this is superior.

Thanks. Pushed.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2020-08-03 02:06:19 Re: psql - improve test coverage from 41% to 88%
Previous Message Noah Misch 2020-08-03 00:28:57 Re: LDAP check flapping on crake due to race