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.96) (envelope-from ) id 1w9Wti-001Vtp-1E for pgsql-hackers@arkaria.postgresql.org; Sun, 05 Apr 2026 23:28:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w9Wtg-005Vev-2o for pgsql-hackers@arkaria.postgresql.org; Sun, 05 Apr 2026 23:28:53 +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.96) (envelope-from ) id 1w9Wtg-005Ven-1c for pgsql-hackers@lists.postgresql.org; Sun, 05 Apr 2026 23:28:53 +0000 Received: from meesny.iki.fi ([195.140.195.201]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w9Wte-00000000oHN-2MrK for pgsql-hackers@postgresql.org; Sun, 05 Apr 2026 23:28:52 +0000 Received: from [10.0.2.15] (unknown [130.41.208.1]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: hlinnaka) by meesny.iki.fi (Postfix) with ESMTPSA id 4fppYr4P8gzySb; Mon, 06 Apr 2026 02:28:48 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1775431729; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Dv5vp8XM3NOBl36qpprugQaECbo1xdnk/QWQMRZI0RY=; b=xqknmjtufoMgxn5Sa4E9aINDQGGS1hdtIFBNV5uJAzD2kMIe9dpQgwecFFx0ib+MSfH+sA hxapEnkvlD+wEM+IV5dMuYYHS+HZugZQ+bFhshYVs6t7Lfg6b04HryVOHBmeWJa4T6BV8C 23QJlTj/GLxZ9HBB+5oATUisR+TdVfo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1775431729; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Dv5vp8XM3NOBl36qpprugQaECbo1xdnk/QWQMRZI0RY=; b=JvJwqOmuG17VErMI7ljjSUx0tSqfuryh/qkbera5rS83UNuob760n4HjsrPNeFJUdZy/JA QrOMqUcgn0cPnqmniYbhuVqusnL35EWcp6Vua7nkdmyK8q3U0hOi0+2iiBWfLlZ5iQtzCV MgNx08IfTg4ahOiUWWKiH4OkpmBTWHE= ARC-Seal: i=1; a=rsa-sha256; d=iki.fi; s=meesny; cv=none; t=1775431729; b=A79rddDji4YfhRSKkadYnYh42rdBKNILja+5QNq40nA7sBCXpiOGBOURUwZdWIDBhjxgRd 3nMrELE7FKqd/sxixvG9YcWYkm/bmk8LBrESZzusq++hwNbzvqzoRWC1ricd1IDh486IgF 5ugQnx8qu0FQi/kYPcwlXfg6LC6VQuM= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=hlinnaka smtp.mailfrom=hlinnaka@iki.fi Message-ID: <6d4383eb-4aaa-47ae-bda8-ee40dc60ad84@iki.fi> Date: Mon, 6 Apr 2026 02:28:47 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Better shared data structure management and resizable shared data structures From: Heikki Linnakangas To: Matthias van de Meent , Ashutosh Bapat Cc: Robert Haas , Andres Freund , pgsql-hackers , chaturvedipalak1911@gmail.com References: <791c3f18-f4de-4d84-ac6b-c7ccc074dd38@iki.fi> <9d919bd9-94dd-4bda-8ccf-ebced4178c53@iki.fi> <7d3ba240-9350-4dfc-bbe1-be6584aee236@iki.fi> <1c3a07a7-158d-4800-927c-2641c73277d8@iki.fi> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 05/04/2026 23:06, Heikki Linnakangas wrote: > Here's patch version 12 [*]. I believe I've addressed all the feedback, > and I feel this is in pretty good shape now. There hasn't been any big > design changes lately. > > One notable change is that I replaced the separate {request|init|attach} > _fn_arg fields in ShmemCallbacks with a single 'opaque_arg' field, and > added a brief comment to it. You both commented on whether we need that > at all, and maybe you're right that we don't, but at least it's now just > one field rather than three. As before, callers can simply ignore it if > they don't need it. After another round of comment cleanups and such, committed. Thanks! - Heikki