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 1mj1FJ-0000eN-Mr for pgsql-bugs@arkaria.postgresql.org; Fri, 05 Nov 2021 15:35:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mj1FI-0002CA-LZ for pgsql-bugs@arkaria.postgresql.org; Fri, 05 Nov 2021 15:35:12 +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 1mj1FH-0002C0-P0 for pgsql-bugs@lists.postgresql.org; Fri, 05 Nov 2021 15:35:12 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mj1FF-0007ys-6A for pgsql-bugs@lists.postgresql.org; Fri, 05 Nov 2021 15:35:10 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 0A62D5C017E; Fri, 5 Nov 2021 11:35:08 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 05 Nov 2021 11:35:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=DlCu5iIleHSLpLY3+G63hJ+UcLZ9mV9B3VKWGUUUQ3Q=; b=D8llWNGX MsH2Jwd3Ls3VP7yEUejbMdRzqbF+HZFYbDNixaKRO2unpW4dwNTMJn7oRliKEerk YsY6+fdsCW+2/hLGhw9CpidCdgd3cwgcA96pRONiCZI/27MqhevziOqcEnaX2t07 dTmuACdw/I3siCnHQPlac9PpHYQTqAoE9el9efN7KWDtoHwcGwat8Py30ZbAHnHj w5YUVsJUMSdFdfo7JoMxRqxYVlEte25bXYJr5UZnGI2VQYW1r7kYCokyEoFww4Jx BECC8bI+st+XJGYZ7oyIwF65ejL0eMtsecv1zejjEbk6VhUxIgZRn9PuXqN8ZtNK 4wnYEoD+YW/wMA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrtdeigdejjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfggtggugfgjsehtkeertd dttdejnecuhfhrohhmpeetlhhvrghrohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvges rghlvhhhrdhnohdqihhprdhorhhgqeenucggtffrrghtthgvrhhnpedujeevjeffjeevud dutedvkeeiueeitddvieelfeekveejudefgeeuvdejhfeuleenucffohhmrghinhepvghn thgvrhhprhhishgvuggsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomheprghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 5 Nov 2021 11:35:07 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id E11852A07B8; Fri, 5 Nov 2021 12:35:04 -0300 (-03) Date: Fri, 5 Nov 2021 12:35:04 -0300 From: Alvaro Herrera To: Alexander Lakhin Cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17126: Server crashes on dropping user while enumerating owned objects that are droppped concurrently Message-ID: <202111051535.qlwto6qoh647@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <07fc0336-1b28-8269-d7cc-c34d50c650ce@gmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Sep-02, Alexander Lakhin wrote: > I've found another one in dependency.c: > >         else if (behavior == DROP_RESTRICT) >         { >             char       *otherDesc = getObjectDescription(&extra->dependee, >                                                          false); > ... >             pfree(otherDesc); > I couldn't trigger a failure at this place yet, but maybe it's worth to > fix here too. Thank you, I patched this one as well. Fix is now pushed to all branches. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "Cada quien es cada cual y baja las escaleras como quiere" (JMSerrat)