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 1tf11U-00Gxr9-5e for pgsql-hackers@arkaria.postgresql.org; Mon, 03 Feb 2025 18:18:16 +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 1tf11S-00Fr36-Vs for pgsql-hackers@arkaria.postgresql.org; Mon, 03 Feb 2025 18:18:14 +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 1tf11S-00Fr2y-MC for pgsql-hackers@lists.postgresql.org; Mon, 03 Feb 2025 18:18:14 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tf11Q-002zH6-0Y for pgsql-hackers@lists.postgresql.org; Mon, 03 Feb 2025 18:18:13 +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 513IIAOT416465; Mon, 3 Feb 2025 13:18:11 -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: <5AAA4DBE-4CC2-4D22-B138-BF2D48AE096F@yandex-team.ru> 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> Comments: In-reply-to Andrey Borodin message dated "Mon, 03 Feb 2025 22:57:27 +0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <416463.1738606690.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 03 Feb 2025 13:18:10 -0500 Message-ID: <416464.1738606690@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andrey Borodin writes: >> On 3 Feb 2025, at 22:36, Tom Lane wrote: >> I'm not wedded to that name; do you have a better idea? > I'd propose something like attached. But feel free to ignore my suggesti= on: I do not understand context of these structure members. Hmm, you're suggesting naming those field members after PL/pgSQL's specific use of them. But the intent was that they are generic workspace for anything that provides a EEOP_PARAM_CALLBACK callback --- that is, the "param" in the field name refers to the fact that this is an expression step for some kind of Param, and not to what PL/pgSQL happens to do with the field. 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. regards, tom lane