Re: BUG #17339: Assert failed on attempt to detach a sequence concurrently

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Alexander Lakhin <exclusion(at)gmail(dot)com>
Cc: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, peter(dot)eisentraut(at)enterprisedb(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #17339: Assert failed on attempt to detach a sequence concurrently
Date: 2021-12-22 06:58:15
Message-ID: YcLMh+Uhw9nVKmKE@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, Dec 21, 2021 at 07:00:00AM +0300, Alexander Lakhin wrote:
> As detaching a foreign table is a valid scenario (not covered before),
> maybe it's worth to exercise it as following:

Yeah, I was going to add something in the main regression test suite
as of foreign_data.sql, but the detached partitions are used with
constraint checks so that was a bit confusing. What you are
suggesting is fine by me, so I have included these and pushed a fix
for the issue.
--
Michael

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2021-12-22 18:28:28 Re: BUG #17342: pg_restore with jobs > 1 errors out : a worker process died unexpectedly
Previous Message Peter Eisentraut 2021-12-22 06:53:27 Re: BUG #17341: The comment of the source code is not correct