Re: Fix DROP TABLESPACE on Windows with ProcSignalBarrier?

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fix DROP TABLESPACE on Windows with ProcSignalBarrier?
Date: 2021-01-30 13:11:06
Message-ID: CA+hUKGLippaN+Gp=8BhpWCRhakc4UNezJwEYmKJaP75-izjaDA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> While reading the ProcSignalBarrier code, I couldn't resist replacing
> its poll/sleep loop with condition variables.

Oops, that version accidentally added and then removed an unnecessary
change due to incorrect commit squashing. Here's a better pair of
patches.

Attachment Content-Type Size
v2-0001-Use-a-global-barrier-to-fix-DROP-TABLESPACE-on-Wi.patch text/x-patch 7.3 KB
v2-0002-Use-condition-variables-for-ProcSignalBarriers.patch text/x-patch 4.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2021-01-30 13:19:27 Re: Single transaction in the tablesync worker?
Previous Message Thomas Munro 2021-01-30 12:52:43 Fix DROP TABLESPACE on Windows with ProcSignalBarrier?