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 1otBUt-0001hQ-7n for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Nov 2022 17:37:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1otBUr-0006Pc-W8 for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Nov 2022 17:37:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1otBUr-0006PT-Mm for pgsql-hackers@lists.postgresql.org; Thu, 10 Nov 2022 17:37:49 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1otBUj-0006Ox-Rq for pgsql-hackers@postgresql.org; Thu, 10 Nov 2022 17:37:49 +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 2AAHbct0175299; Thu, 10 Nov 2022 12:37:38 -0500 From: Tom Lane To: "Regina Obe" cc: pgsql-hackers@postgresql.org Subject: Re: Ability to reference other extensions by schema in extension scripts In-reply-to: <004501d8f4bf$1213fba0$363bf2e0$@pcorp.us> References: <003001d8f4ae$402282c0$c0678840$@pcorp.us> <79300.1668052170@sss.pgh.pa.us> <004501d8f4bf$1213fba0$363bf2e0$@pcorp.us> Comments: In-reply-to "Regina Obe" message dated "Wed, 09 Nov 2022 23:44:07 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <175297.1668101858.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 10 Nov 2022 12:37:38 -0500 Message-ID: <175298.1668101858@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "Regina Obe" writes: >> I have a distinct sense of deja vu here. I think this idea, or somethi= ng >> isomorphic to it, was previously discussed with some other syntax detai= ls. > I found the old discussion I recalled having and Stephen had suggested u= sing > @extschema{'postgis'}@ > On this thread -- > https://www.postgresql.org/message-id/20160425232251.GR10850@tamriel.sno= wman.net > Is that the one you remember? Hmmm ... no, ISTM it was considerably more recent than that. [ ...digs... ] Here we go, it was in the discussion around converting contrib SQL functions to new-style: https://www.postgresql.org/message-id/flat/3395418.1618352794%40sss.pgh.pa= .us There are a few different ideas bandied around in there. Personally I still like the @extschema:extensionname@ option the best, though. regards, tom lane