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 1luQx6-0007II-N8 for pgsql-committers@arkaria.postgresql.org; Sat, 19 Jun 2021 02:43:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1luQwX-0000bQ-SJ for pgsql-committers@arkaria.postgresql.org; Sat, 19 Jun 2021 02:42:45 +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 1luQwX-0000bH-Ii for pgsql-committers@lists.postgresql.org; Sat, 19 Jun 2021 02:42:45 +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 1luQwU-0003e3-CY for pgsql-committers@lists.postgresql.org; Sat, 19 Jun 2021 02:42:43 +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 15J2gfct1348804; Fri, 18 Jun 2021 22:42:41 -0400 From: Tom Lane To: Michael Paquier cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Fix misbehavior of DROP OWNED BY with duplicate polroles entries In-reply-to: References: Comments: In-reply-to Michael Paquier message dated "Sat, 19 Jun 2021 08:18:18 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1348802.1624070561.1@sss.pgh.pa.us> Date: Fri, 18 Jun 2021 22:42:41 -0400 Message-ID: <1348803.1624070561@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Michael Paquier writes: > This indentation is incorrect. Yeah, I intentionally didn't reindent the code that's now inside the inner if-block. It would have made back-patching more painful (because that chunk isn't identical across branches). And I think we're going to be rewriting that whole function in a little bit, so I see no need to be very fussy about how pretty the intermediate state is. I just pushed that because I didn't want to ship beta2 with a known crasher bug. regards, tom lane