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 1ptk3q-0003il-LI for pgsql-hackers@arkaria.postgresql.org; Tue, 02 May 2023 07:04:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ptk2p-0007G9-Db for pgsql-hackers@arkaria.postgresql.org; Tue, 02 May 2023 07:03:27 +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 1ptk2o-0007F8-Qc for pgsql-hackers@lists.postgresql.org; Tue, 02 May 2023 07:03:26 +0000 Received: from mail.postgrespro.ru ([93.174.131.139]) by makus.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1ptk2h-0004s3-0H for pgsql-hackers@postgresql.org; Tue, 02 May 2023 07:03:25 +0000 Received: from mail.postgrespro.ru (webmail.mstn.postgrespro.ru [192.168.2.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mail.postgrespro.ru (Postfix/587) with ESMTPSA id CBB4FE20FD9; Tue, 2 May 2023 10:03:21 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mx2023; t=1683011001; bh=pFY28mmD3rjm4tw2J3C/Fn92WvfZ+imh38vChy5NNhk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:User-Agent: Message-ID:From; b=2KGy5FaGsqBifZ3nMwJRTecoNF/DDkiz4FWSJeJ+OITMqJ8CHquPmjRLcom3WV0MX 6v1M1uS9r9aPm9phkF61J2ptxoAcaO8WF9VZHmQo/M08VzChOJX/3z8qRruxX/b+TX 9sOm1rfrgUN26cxck5HoJ3I5KzqdvVi48oFb5KwaC66YZ0GvO0y0eOP4fWv6yKDZdX G1JBfElMIINWEik2nGYTLsiJnNtmcRWU+LQEp/um+UQnGqqgIE7hCkv5kAhfZ9r/0s FvqUJNTs1MeA0eyIenYmCB3iIM4Nn7loKZfSvF82HefzKRcvpi3Ve5gc9PKS/0oZs/ 3hz4jwJ3ysM/A== MIME-Version: 1.0 Date: Tue, 02 May 2023 10:03:15 +0300 From: Alexander Pyhalov To: Michael Paquier Cc: pgsql-hackers@postgresql.org Subject: Re: buffer refcount leak in foreign batch insert code In-Reply-To: References: User-Agent: Roundcube Webmail/1.4.11 Message-ID: X-Sender: a.pyhalov@postgrespro.ru Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Michael Paquier писал 2023-04-25 04:30: > On Mon, Apr 24, 2023 at 09:57:10AM +0900, Michael Paquier wrote: >> The attached is what I am finishing with, with a minimal regression >> test added to postgres_fdw. Two partitions are enough. > > Well, I have gone through that again this morning, and applied the fix > down to 14. The buildfarm is digesting it fine. > -- > Michael Thank you. Sorry for the late response, was on vacation. -- Best regards, Alexander Pyhalov, Postgres Professional