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.94.2) (envelope-from ) id 1u1VqT-003dSQ-Pu for pgsql-hackers@arkaria.postgresql.org; Sun, 06 Apr 2025 19:39:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1u1VqR-001U9S-Qp for pgsql-hackers@arkaria.postgresql.org; Sun, 06 Apr 2025 19:39:52 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u1VqR-001U9J-HA for pgsql-hackers@lists.postgresql.org; Sun, 06 Apr 2025 19:39:51 +0000 Received: from 003.mia.mailroute.net ([199.89.3.6]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u1VqP-003Koj-1V for pgsql-hackers@postgresql.org; Sun, 06 Apr 2025 19:39:50 +0000 Received: from localhost (localhost [127.0.0.1]) by 003.mia.mailroute.net (Postfix) with ESMTP id 4ZW2jb734JzlxYTb; Sun, 6 Apr 2025 19:39:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=acm.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:subject:subject:received:received; s=mr01; t= 1743968387; x=1746560388; bh=fhNlBVx3tuYMxyHLh/r8h8IcTeTVReOBdAi 3L0KliT0=; b=wJNmoXAjmlIGqoUqGFsNGLofjc2IG9TPwAkuBcTGdnTWEj3juQy EwPV0c21goCHT3TN0o6l6ehZWzT42P5pN7/VlyRQ31vtVoUOm8E/j9qTV7i1lynF J9x0G9TGQwGuj8wL5L+xdgT2KrPUoqCSeF7yC5iJ98ACOpdMeC7B08tDsig2NXRI aAT8ncEgNk9DPIs2KCqnLPbBwzPj3ilQGjmPI9dNVY49KgRneO2caCZtnLK4zFA4 LkpFy8QuJ1FoPYM8eBjinv0C7PMHyPoFbtiN/PWIw860PkFbtiXlAYL7Ocytricm VeJaPQGRG9fB5WB3csSmFT4/jQZgAfqOeAg== X-Virus-Scanned: by MailRoute Received: from 003.mia.mailroute.net ([127.0.0.1]) by localhost (003.mia [127.0.0.1]) (mroute_mailscanner, port 10029) with LMTP id uoFt7evRpyrQ; Sun, 6 Apr 2025 19:39:47 +0000 (UTC) Received: from [73.103.120.3] (c-73-103-120-3.hsd1.in.comcast.net [73.103.120.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jcflack@acm.org) by 003.mia.mailroute.net (Postfix) with ESMTPSA id 4ZW2jY6nWtzlxY1Q; Sun, 6 Apr 2025 19:39:44 +0000 (UTC) Subject: Re: FmgrInfo allocation patterns (and PL handling as staged programming) To: Tom Lane References: <67F2B767.9040507@acm.org> <2965818.1743960827@sss.pgh.pa.us> Cc: PostgreSQL Hackers From: Chapman Flack Message-ID: <67F2D87F.1000709@acm.org> Date: Sun, 6 Apr 2025 15:39:43 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: <2965818.1743960827@sss.pgh.pa.us> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 04/06/25 13:33, Tom Lane wrote: > Maybe you'd be interested in using funccache. O funccache, where were you a year or two ago? Can a spread-out variadic "any" arg list ever vary in length or type on the fly at a single call site? I notice that funccache only hashes the first nargs argument types. Regards, -Chap