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.94.2) (envelope-from ) id 1tHJ69-005rLC-MY for pgsql-general@arkaria.postgresql.org; Sat, 30 Nov 2024 08:45:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tHJ67-00F0Cu-64 for pgsql-general@arkaria.postgresql.org; Sat, 30 Nov 2024 08:45:04 +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.94.2) (envelope-from ) id 1tHJ66-00F0Bm-RV for pgsql-general@lists.postgresql.org; Sat, 30 Nov 2024 08:45:04 +0000 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1tHJ65-000I3x-BX for pgsql-general@lists.postgresql.org; Sat, 30 Nov 2024 08:45:03 +0000 Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-385e1fcb0e1so312099f8f.2 for ; Sat, 30 Nov 2024 00:45:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732956299; x=1733561099; darn=lists.postgresql.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Qpi90F+G1Vg+mPb1Bc3J2klD+gAZxywVEEyziGx9j1Y=; b=HIszSRWQdOAFtrnU8/sVbOtcU11JcM6damWAoDcjzepYkZt+JNIJmgdCCYxHt/EQaK e0nqsNpf06uhuzW/YlHF0qL/vTO6hYztGZmM+bb6MkGjLz6JHjHSFy3IJVacBVIbvwct 4jR3UQX8wJQ1qRTdwAJLtPhE3BOrpPHbdgxu1pluB54HYVZLG8N6OQC30NbAOcRv9tiY 4Zvkt/5vbLV0hehvlneJHnMOAJM59rCyFb8VMhiJYN8aPUDU4Hoc2hGzMAaejJgYS0h9 GZTcwqoiFPcB+4dG+PLv3TQVGURaYpx+sqET+BPPxOCuSafDk4eKKTUhtnu6MW4JEFpI Anfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732956299; x=1733561099; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Qpi90F+G1Vg+mPb1Bc3J2klD+gAZxywVEEyziGx9j1Y=; b=oMmZcghb+CMdYIm23uEReS6HH51ngK17MSvu11nglVHdHzhe0hazIJhHAmg6ybAHtQ o1WwJx2sVSZPdxduSQJ97REL+SUIv2wTDrMBsWtbWQWsYPU4z0bkwGAx8Hioby6YhIyT 7DOh//RsTXx1l/tMKt4x0ChfLG6G/+L8cmdKOUPPUGd7pVVloFvXsdTn2vIQQVUed4jE K3+jtL5S8qha8Fz2BsUmRR5iuyfn+g6vQMSB4GDhpdQSgZGn9DLmGsIjudD5Y1uMh4eF r55JKCx7kDOFRKw7iEPT41m1G0MhXX8VrZdkjwth3HktILFVWR0ApqLdRqcF4/ht5OOm bdWA== X-Forwarded-Encrypted: i=1; AJvYcCWU/PIFc1F3kTCGXjvtQF/65vB86kKxVH2YwphDyfUJXJzZxCyk9Tiois5vIawsVkPfXOVv9NNzz1S3RbmT@lists.postgresql.org X-Gm-Message-State: AOJu0YyiUFj+tY8yQMAUGB7J2mRjEJ6hVrR1Pj93Zv1yCuLEiTNUS4/K +eTwJDul8LByiTCIelWrU7sT+iXbC2AMxK0brafM6gajIprLeD4b X-Gm-Gg: ASbGncswdoz8/wcMDbavsTiTxFS7ZpOg4etHgzAuPtHi4jAGzuO10duGEiI4KG1KF98 HThUZjsTdOgcdR7xwkWovjkPy2Ry+fX1pPFX/2KrQy/CSG6PeMEhBcOeBlLsgjV5Y71Epr9vks7 Bbpxyv2e4FarTtyF1YlDI90fCwKRgS3Rid717YzNd0a4r48sOF2MouBp4+wBD/t3eWDnvl6gq26 iofhOWzVw9ZczXqs17bSsZmxt5XkiRPRC5c4FZaHRHJBdce2FNauw2uw7V3Ph8BRmdiykrBc27D KIbSF5mxJcQraEEJO4iIamdASz0= X-Google-Smtp-Source: AGHT+IFBL5E+mgjcIybORrTFmgmN5/2C4Lc9vKWbJKm9N3iBGXIEZWx01Z3yliWGKVO5eG4WK25VVw== X-Received: by 2002:a05:6000:4020:b0:382:6f3:a20f with SMTP id ffacd0b85a97d-385c6eb7c84mr11403698f8f.11.1732956298480; Sat, 30 Nov 2024 00:44:58 -0800 (PST) Received: from smtpclient.apple (143-45-239-77.dyn.cable.qlnet.ch. [77.239.45.143]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-385ccd3a522sm6557138f8f.52.2024.11.30.00.44.56 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 30 Nov 2024 00:44:57 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.200.121\)) Subject: Re: PostgreSQL 15.10 update corrective action for ATTACH PARTITION/DETACH PARTITION From: Paul Foerster In-Reply-To: <202411300741.wuc7rpucq72o@alvherre.pgsql> Date: Sat, 30 Nov 2024 09:44:25 +0100 Cc: Tom Lane , Adrian Klaver , pgsql-general list Content-Transfer-Encoding: quoted-printable Message-Id: <59310859-2DBA-4075-B834-93E95DF9B2BF@gmail.com> References: <202411300741.wuc7rpucq72o@alvherre.pgsql> To: Alvaro Herrera X-Mailer: Apple Mail (2.3826.200.121) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi Alvaro, > On 30 Nov 2024, at 08:41, Alvaro Herrera = wrote: >=20 > Only if you have self-referencing FKs in partitioned tables. It > would be an interesting data point to verify whether this reports > anything else. Also, I'd be really curious if your databases include > the case I'm suspicious about: a multi-level hierarchy containing an = FK > that points to an intermediate level of itself. The instance I reported was the only one in our several hundred = databases. So I guess this is really a corner case. As mentioned I'll = try on Monday. > I'm within fives minutes of longitude and latitude of that location, = yes > :-) I didn't want to give unnecessary precision there, but is somebody > wants to chat sometime or whatever is welcome to ping me. Then you're not really far way. I'm located in the Solothurn, = Switzerland area which is only less than 90 km away. Drop me a line if = you ever make it to Solothurn. =F0=9F=A4=A3 Cheers, Paul