Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vvyhT-00DXRs-2I for pgsql-bugs@arkaria.postgresql.org; Fri, 27 Feb 2026 14:20:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vvyhS-003rEn-1u for pgsql-bugs@arkaria.postgresql.org; Fri, 27 Feb 2026 14:20:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vvyhS-003rEb-11 for pgsql-bugs@lists.postgresql.org; Fri, 27 Feb 2026 14:20:14 +0000 Received: from mail-oi1-x232.google.com ([2607:f8b0:4864:20::232]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vvyhP-00000001a6N-278a for pgsql-bugs@lists.postgresql.org; Fri, 27 Feb 2026 14:20:14 +0000 Received: by mail-oi1-x232.google.com with SMTP id 5614622812f47-46392972257so1643120b6e.2 for ; Fri, 27 Feb 2026 06:20:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1772202010; cv=none; d=google.com; s=arc-20240605; b=O08BHaTQYp0Jwh+i6/vuEOvp0ZBdqvrAdEuwK2DaFTiOvA9cDugFGNLQtVdrqxM0S7 wyGxErB5Lk3gPtiZS0RXSzvJitQOgJ8wOcLaifGIKXU8ZzfXycNv+R6isVCR6Ju91n+i aPyOQptoILdAamLtvbjdKKqIoFe4qvORqaE7SMACxQNV7OYcXFD0XorF8mj5sd9kVmEt MqAPJmuuK170LjE3ZcqE1T8S0u7b5jxMUr/Ebge57xoZU5YMP/sol/y7ul9PPrTSfCtB MJRUYTFzpFoeg3J/JPWbgWghEKYVRL+Yb+cM1Qd7s3cQm8uc0WwXI+XFsZxpImcOO5M4 GEKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :dkim-signature; bh=PhnTBhQ0m67zqGbHGL3EVxtu3EAdyeJ8kKZZikzTTG8=; fh=rgS09qE9OS5midEmv18ww01o13onyQ7IehRjMGYupXU=; b=bq7ycA2yrpgvpocLzJIdf1Gju5jbrJEH2NRO8rpGKr5eRPAj8KBKTrC93Prc04DG5T Th3CWBjKVLwSsFpxzNiRqOryH/HRYMy33VeL+jb6sVsuWL98Mv0zasNikn5XPkAP2ltf soCh+W1BGMO1yPp8kCrGWQZoq4iS/B25++ScIJQOya50OzacmRu1X1ul173NURW1m/zR QPPNEQ0q0rFdNURi3gLlroDWMJfG+tND3snXKegokVQpwbFD99QWHM44a+8Ur6drD5RW RtwdoFWk0pZYbCm7fW5X+BP0nyqKrljZlyqMu4dp3Xm6Xxs4dW4psh3fkOYaaYe4vh7V NNVQ==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772202010; x=1772806810; darn=lists.postgresql.org; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=PhnTBhQ0m67zqGbHGL3EVxtu3EAdyeJ8kKZZikzTTG8=; b=LP6a+PE3Grca4K3CJTBylmrFc/RDH06YSqrf/R/QZkCHLjdFcJJ6h9L2IVqcUa6d6L 1QgL8aiP08EvjP+pdnzNaTYqVPjgMkBY6K23tY53Hd12f2rzZHS+tgUQZALaEzhW52dv xpL+sKAxs5zRDmyDs+5mmciiuWdU5csotiefpE7SsTrQmNdCM4p5DORpscczhWR1bO8q qhHjXCtnxOkJyOU3dK/uhSqlgEA28MVQ/L9eOr4vDjGbxPPVY4J134cybE9zi9pYd7J+ ksI/U/D02pQufiWSmCvXUd3QwC6fm0W6rGzFYEKCdf2xGCV4frx1AfXE8p6ThtaWU9g9 QDFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772202010; x=1772806810; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=PhnTBhQ0m67zqGbHGL3EVxtu3EAdyeJ8kKZZikzTTG8=; b=tUAa+6vCvyGaRdO8T+p1Y04t8k0hQZqOFzEA+xZ+BBVrk85a3yp+KKLtmFIsLVCwO3 Qay4iy3IACPgt6n5hRW1WhAJXV8lG6tm/UTrqLWC/TARkqlPmcoOD0QHD+kZELERzrfb q9aB4H+8aLrWVpRBo3+qsmyM18d8NpNab/klEhUl6tO3uDs59faPC0/Fhv3sclfR986y hZhcCRTVsM90sYRmW+9i56vIKrXFCP8sE1aYNIiSIJT+/bz8Y4xX+vFcVAJKgsZ12Mjy TbU2pX7/lTjgGx2C2Y0BjBbHm5t6DGq45sov+CkaszrSp2nsYPxkyZmbkPkykRGhHLyj lxxQ== X-Forwarded-Encrypted: i=1; AJvYcCXQyMBUV4ZJ7eEc/rrs0TuJtHbNRQu/Dnee5BzBgEDFQFzP99uNzy8XUuLvImjXYwVVnG/Jj6Dk9GRC@lists.postgresql.org X-Gm-Message-State: AOJu0YxJlRPItL58RNulM/uaEGmOE3xaisaHjlogBuCdIPeR3Zt35a/v HKHUBQY0cDjOnnvG4yqKC+lbNAQ7+yYp7kP0TSwNoCGHBBXE+mXyOem+XMqBxz+8MBWPTQ5xdcE LEWV0/vbxCwF00A3FQC+vLI0Tr5hPgK0= X-Gm-Gg: ATEYQzxUoZ8yid3j++yvYm0SFfnKp1+E8Fu/bSKE3+ccgvZAdmkyd/RZDPKFCH0sdwo Mk5XXp5ZjqsGhszmWCe1EJB4ZZ1jAgFeEIYuCA8JkoGVusjhyiPi5Rhk35MKpnXVMm5OTTX7dFJ BD8zwqyzES1NRl/DBqefbN6ecwnPJhVVaDaSctx7gjA/nuJHTYPS+WKGOxe0xULINfOkxGrfCVY 3IOVPtUkrsRqFA1qjNAIeW4oi2Yl5QRaE2FDfextBnTh+n4KO6/WVZyXqL3ueBLZkz4MwbO/5l8 /fp3014= X-Received: by 2002:a05:6808:309d:b0:455:d3f2:4bf9 with SMTP id 5614622812f47-464beb3fb23mr1659020b6e.30.1772202010118; Fri, 27 Feb 2026 06:20:10 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a05:6802:4c0a:b0:61e:c74a:a107 with HTTP; Fri, 27 Feb 2026 06:20:09 -0800 (PST) In-Reply-To: <19420-ec7f929dce3a7e14@postgresql.org> References: <19420-ec7f929dce3a7e14@postgresql.org> From: "David G. Johnston" Date: Fri, 27 Feb 2026 07:20:09 -0700 X-Gm-Features: AaiRm53eXlQKV_jvwZSltTO-0LaBurNLhnk55idQUSGs4BDxZLg0iudO6lvjk_Q Message-ID: Subject: Re: BUG #19420: Zombie FK exists after partition is detached. To: "a.chodkowska@gmail.com" , "pgsql-bugs@lists.postgresql.org" Content-Type: multipart/alternative; boundary="00000000000048903d064bceef4b" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000048903d064bceef4b Content-Type: text/plain; charset="UTF-8" On Friday, February 27, 2026, PG Bug reporting form wrote: > The following bug has been logged on the website: > > Bug reference: 19420 > Logged by: Agnieszka Chodkowska > Email address: a.chodkowska@gmail.com > PostgreSQL version: 16.6 > Operating system: Linux, Debian 12.2.0 64 bit > Description: > > I try the following methods: > partman.run_maintenance('tst.child_test_1') > partman.run_maintenance() > ALTER TABLE tst.child_test_1 DETACH PARTITION > This bug report list is probably not presently the best place to report this. The error seems like it most likely manifests from pgpartman and should be reported there. Reporting bugs against unsupported minor releases is also usually a bit problematic. To keep it here a full reproducer using only core features and a supported release would be requested. David J. --00000000000048903d064bceef4b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Friday, February 27, 2026, PG Bug reporting form <noreply@postgresql.org> wrote:
The following bug has been logged on the website:

Bug reference:=C2=A0 =C2=A0 =C2=A0 19420
Logged by:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Agnieszka Chodkowska
Email address:=C2=A0 =C2=A0 =C2=A0 a.chodkowska@gmail.com
PostgreSQL version: 16.6
Operating system:=C2=A0 =C2=A0Linux, Debian 12.2.0 64 bit
Description:=C2=A0 =C2=A0 =C2=A0 =C2=A0

I try the following methods:
partman.run_maintenance('tst.child_test_1')
partman.run_maintenance()
ALTER TABLE tst.child_test_1 DETACH PARTITION <child_test_p_20260218>=

This bug report list is probably not prese= ntly the best place to report this.=C2=A0 The error seems like it most like= ly manifests from pgpartman and should be reported there. =C2=A0 Reporting = bugs against unsupported minor releases is also usually a bit problematic.<= /div>

To keep it here a full reproducer using only core = features and a supported release would be requested.

David J.

--00000000000048903d064bceef4b--