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 1pjkY7-0006dI-DI for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Apr 2023 17:34:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pjkY6-0004Br-8F for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Apr 2023 17:34:26 +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 1pjkY5-0004Bh-VF for pgsql-hackers@lists.postgresql.org; Tue, 04 Apr 2023 17:34:25 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pjkY3-0002A4-Q8 for pgsql-hackers@lists.postgresql.org; Tue, 04 Apr 2023 17:34:25 +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 334HYM0s1575055; Tue, 4 Apr 2023 13:34:22 -0400 From: Tom Lane To: Pavel Stehule cc: Kirk Wolak , Julien Rouhaud , PostgreSQL Hackers Subject: Re: possible proposal plpgsql GET DIAGNOSTICS oid = PG_ROUTINE_OID In-reply-to: References: <20230208063316.atjv6uxb7owm77s6@jrouhaud> <1244928.1680543451@sss.pgh.pa.us> <1467101.1680618000@sss.pgh.pa.us> Comments: In-reply-to Pavel Stehule message dated "Tue, 04 Apr 2023 18:57:12 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <1575053.1680629662.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Tue, 04 Apr 2023 13:34:22 -0400 Message-ID: <1575054.1680629662@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Pavel Stehule writes: > Ășt 4. 4. 2023 v 16:20 odesĂ­latel Tom Lane napsal: >> If we do that, then the confusion you were concerned about upthread >> goes away and we could shorten the keyword back down to "pg_routine_oid", >> which seems like a good thing for our carpal tunnels. > has sense OK, pushed like that with some cosmetic adjustments (better test case, mostly). regards, tom lane