Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pYALc-0003lO-CW for pgsql-bugs@arkaria.postgresql.org; Fri, 03 Mar 2023 18:41:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pYALZ-0004gP-VS for pgsql-bugs@arkaria.postgresql.org; Fri, 03 Mar 2023 18:41:37 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pYALZ-0004g8-Lt for pgsql-bugs@lists.postgresql.org; Fri, 03 Mar 2023 18:41:37 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pYALR-0008Md-Dx for pgsql-bugs@lists.postgresql.org; Fri, 03 Mar 2023 18:41:34 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 323IfQua2553513; Fri, 3 Mar 2023 13:41:26 -0500 From: Tom Lane To: Alvaro Herrera cc: ahodgson@simkin.ca, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17817: DISABLE TRIGGER ALL on a partitioned table with foreign key fails In-reply-to: <20230303181735.quhcvh2igowmxbs7@alvherre.pgsql> References: <20230303181735.quhcvh2igowmxbs7@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Fri, 03 Mar 2023 19:17:35 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2553511.1677868886.1@sss.pgh.pa.us> Date: Fri, 03 Mar 2023 13:41:26 -0500 Message-ID: <2553512.1677868886@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alvaro Herrera writes: > On 2023-Mar-03, Tom Lane wrote: >> Basically just make the recursive steps match on tgparentid instead >> of name, like this. > Thank you, looks sane to me. OK, will work on getting it committed. > I wonder how come this problem took so long to be detected with Ruby on > Rails; it's been in released 13.x and 14.x for seven months now. I > suppose it would be very useful if the Ruby on Rails community would run > their tests more often on new Postgres versions (or even on the tip of > stable branches). Um ... 13.x and 14.x aren't showing the problem, or is there something I missed? But I agree that it'd be good if we could get some Ruby folk to test more promptly --- it's pretty sad that this didn't get noticed sooner in v15. regards, tom lane