Re: Avoid race condition for event_triggers regress test - Mailing list pgsql-hackers

From Aleksander Alekseev
Subject Re: Avoid race condition for event_triggers regress test
Date
Msg-id CAJ7c6TNbHN0TE7cx-pTfMZxmjBL9bAjorz2S9QoCJoeQ2ALsUg@mail.gmail.com
Whole thread Raw
In response to Avoid race condition for event_triggers regress test  (Mikhail Gribkov <youzhick@gmail.com>)
List pgsql-hackers
Hi,

> The current problem is that a race condition may occur on some systems, when oidjoins test starts a moment later than
normallyand affects logins count for on-login trigger test. The problem is quite a rare one and I only faced it once.
Butrare or not - the problem is a problem and it should be addressed. 

Thanks for the patch and the steps to reproduce.

I tested the patch and it does what is claimed. Including the steps to
reproduce as a separate patch with .txt extension so cfbot will ignore
it.

I think it's a good find and a good fix.

--
Best regards,
Aleksander Alekseev

Attachment

pgsql-hackers by date:

Previous
From: shihao zhong
Date:
Subject: Re: Allow ALTER SYSTEM SET on unrecognized custom GUCs
Next
From: Robert Haas
Date:
Subject: Re: The danger of deleting backup_label