Re: LDAP check flapping on crake due to race - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: LDAP check flapping on crake due to race
Date
Msg-id CA+hUKGLeQFnvweFm=5+Gpp1viXei9q_P62thU8rfsbiGojmZVQ@mail.gmail.com
Whole thread Raw
In response to Re: LDAP check flapping on crake due to race  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: LDAP check flapping on crake due to race  (Noah Misch <noah@leadboat.com>)
List pgsql-hackers
On Mon, Aug 3, 2020 at 4:09 AM Tom Lane <tgl@sss.pgh.pa.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.

> I've not been able to duplicate this locally, so I have no idea if
> that'd really fix it.

Me neither -- I guess someone who enjoys perl could hack IPC::Run to
take a short nap at the right moment.

Attachment

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Comment simplehash/dynahash trade-offs
Next
From: Merlin Moncure
Date:
Subject: dblnk_is_busy returns 1 for dead connecitons