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 1tf1VH-00H0my-Ed for pgsql-hackers@arkaria.postgresql.org; Mon, 03 Feb 2025 18:49:03 +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 1tf1VG-00Fxzi-Ic for pgsql-hackers@arkaria.postgresql.org; Mon, 03 Feb 2025 18:49:02 +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.94.2) (envelope-from ) id 1tf1VG-00FxzZ-8b for pgsql-hackers@lists.postgresql.org; Mon, 03 Feb 2025 18:49:02 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tf1VD-0035HO-1a for pgsql-hackers@lists.postgresql.org; Mon, 03 Feb 2025 18:49:01 +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 513ImukW419664; Mon, 3 Feb 2025 13:48:57 -0500 From: Tom Lane To: Andrey Borodin cc: Pavel Borisov , Michel Pelletier , Pavel Stehule , pgsql-hackers@lists.postgresql.org Subject: Re: Using Expanded Objects other than Arrays from plpgsql In-reply-to: <416464.1738606690@sss.pgh.pa.us> References: <1342498.1729444411@sss.pgh.pa.us> <1445998.1729482404@sss.pgh.pa.us> <2062830.1729625620@sss.pgh.pa.us> <2265411.1729699470@sss.pgh.pa.us> <2354718.1729737539@sss.pgh.pa.us> <2581216.1729794746@sss.pgh.pa.us> <1948345.1730500073@sss.pgh.pa.us> <3797606.1732045516@sss.pgh.pa.us> <1417389.1736964543@sss.pgh.pa.us> <3363452.1737483125@sss.pgh.pa.us> <0AC229FA-A3F1-43FD-B0DC-A46A73FEAFF7@yandex-team.ru> <931398.1737905825@sss.pgh.pa.us> <38A31221-C1C4-4846-9709-D66ACD76E87A@yandex-team.ru> <46876.1737918281@sss.pgh.pa.us> <3682021.1738288421@sss.pgh.pa.us> <256915.1738533419@sss.pgh.pa.us> <932C9840-63D6-469D-9C65-1B1A14594D29@yandex-team.ru> <412280.1738604208@sss.pgh.pa.us> <5AAA4DBE-4CC2-4D22-B138-BF2D48AE096F@yandex-team.ru> <416464.1738606690@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Mon, 03 Feb 2025 13:18:10 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <419662.1738608536.1@sss.pgh.pa.us> Date: Mon, 03 Feb 2025 13:48:56 -0500 Message-ID: <419663.1738608536@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk I wrote: > Admittedly this is all moot unless some other extension starts > using EEOP_PARAM_CALLBACK, and I didn't find any evidence of that > using Debian Code Search. But I don't want to think of > EEOP_PARAM_CALLBACK as being specifically tied to PL/pgSQL. However ... given that I failed to find any outside users today, I'm warming to the idea of "void *paramarg[2]". That does look less random than two separate fields. There are probably not any extensions that would need to change their code, and even if there are, we impose bigger API breaks than this one in every major release. So I'm willing to do that if it satisfies your concern. regards, tom lane