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 1kZxQF-0001Ep-4I for pgsql-bugs@arkaria.postgresql.org; Tue, 03 Nov 2020 14:36:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kZxQD-0007ql-Ss for pgsql-bugs@arkaria.postgresql.org; Tue, 03 Nov 2020 14:36:29 +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 1kZxQD-0007qe-Mf for pgsql-bugs@lists.postgresql.org; Tue, 03 Nov 2020 14:36:29 +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 1kZxQB-0007gV-5f; Tue, 03 Nov 2020 14:36:29 +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 0A3Ea9Aa918522; Tue, 3 Nov 2020 09:36:09 -0500 From: Tom Lane To: Miha Vrhovnik cc: Heikki Linnakangas , pgsql-bugs@lists.postgresql.org, PG Bug reporting form Subject: Re: BUG #16698: Create extension and search path In-reply-to: References: <16698-89213113705fc24a@postgresql.org> Comments: In-reply-to Miha Vrhovnik message dated "Tue, 03 Nov 2020 14:14:05 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <918520.1604414169.1@sss.pgh.pa.us> Date: Tue, 03 Nov 2020 09:36:09 -0500 Message-ID: <918521.1604414169@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Miha Vrhovnik writes: > I'm so sorry, but I do not understand... Even if I force the schema in > CREATE EXTENSION it still says that it already exists. (Tested on 12.4, but > it's the same with 13, as I have tested it before) > I'm missing something but the documentation doesn't state that I can only > install extension once per database. Extensions are not schema-qualified objects, so no, you cannot have more than one instance per database. regards, tom lane