Re: BUG #19070: issue with DETACH PARTITION CONCURRENTLY on a hash partition table
Álvaro Herrera <alvherre@kurilemu.de>
From: Álvaro Herrera <alvherre@kurilemu.de>
To: ocean_li_996 <ocean_li_996@163.com>
Cc: "mohen.lhy@alibaba-inc.com " <mohen.lhy@alibaba-inc.com>, "pgsql-bugs@lists.postgresql.org " <pgsql-bugs@lists.postgresql.org>,
robertmhaas@gmail.com
Date: 2025-10-10T11:03:08Z
Lists: pgsql-bugs
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Stop creating constraints during DETACH CONCURRENTLY
- ea06f97eeb33 17.7 landed
- bdae98495660 15.15 landed
- b835759ec7e8 16.11 landed
- b753be38a4a2 14.20 landed
- 3231fd045522 19 (unreleased) landed
- 08c037dff961 18.1 landed
On 2025-Oct-10, ocean_li_996 wrote: > Since there has been no update in this thread for a few days, I > reached out to the primary committer for this functionality. Yes, this is buggy, and has been reported previously (#18371). I'll fix it before the November minors, probably by removing the step of creating the constraints during detach. I think for stable branches I'll do that only for hash partitioning, to avoid breaking workloads that might depend on those constraints, but for branch master I'll do it for all partitioning strategies. > No offense meant; I’m simply interested in getting your perspective. Yeah, I should have reacted sooner to the previous report of this bug. No offense taken. -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/ "Linux transformó mi computadora, de una `máquina para hacer cosas', en un aparato realmente entretenido, sobre el cual cada día aprendo algo nuevo" (Jaime Salinas)