Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZkEiz-0003f4-Ao for pgsql-bugs@arkaria.postgresql.org; Thu, 08 Oct 2015 17:11:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZkEiy-0001Zb-Ln for pgsql-bugs@arkaria.postgresql.org; Thu, 08 Oct 2015 17:11:24 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zk157-0002Bh-Du for pgsql-bugs@postgresql.org; Thu, 08 Oct 2015 02:37:21 +0000 Received: from bay004-omc1s26.hotmail.com ([65.54.190.37]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zk152-0001WY-9V for pgsql-bugs@postgresql.org; Thu, 08 Oct 2015 02:37:20 +0000 Received: from BAY169-W111 ([65.54.190.61]) by BAY004-OMC1S26.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Wed, 7 Oct 2015 19:37:12 -0700 X-TMN: [BY2JQValjMuCcQN6lT3iv8GWIYPAr3SB] X-Originating-Email: [wjarl@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_b53e7a6b-5d11-4018-b308-1fa91151c032_" From: Jarl Walker To: John R Pierce , "pgsql-bugs@postgresql.org" Subject: Re: BUG #13663: uuid-ossp in multiple schemas same database Date: Thu, 8 Oct 2015 02:37:12 +0000 Importance: Normal In-Reply-To: <5612AA0E.8050702@hogranch.com> References: <20151005154716.25573.23941@wrigleys.postgresql.org>, <5612AA0E.8050702@hogranch.com> MIME-Version: 1.0 X-OriginalArrivalTime: 08 Oct 2015 02:37:12.0752 (UTC) FILETIME=[3CBF3B00:01D10172] X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org --_b53e7a6b-5d11-4018-b308-1fa91151c032_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I think i got it=3B will do some testing and get back to you if something g= oes wrong. Thanks. > Subject: Re: [BUGS] BUG #13663: uuid-ossp in multiple schemas same databa= se > To: wjarl@hotmail.com=3B pgsql-bugs@postgresql.org > From: pierce@hogranch.com > Date: Mon=2C 5 Oct 2015 09:49:18 -0700 >=20 > On 10/5/2015 8:47 AM=2C wjarl@hotmail.com wrote: > > I have 1 database named general and 2 schemas crm and erp. When i creat= e > > extension "uuid-ossp" i 'need' to specify the schema example erp=3B cre= ate > > extension "uuid-ossp" schema erp=2C however when i try to use it on crm= i > > can't. if i try to create extension "uuid-ossp" schema crm=2C it reads > > extension "uuid-ossp" already exists. > > Any suggestions? >=20 >=20 > put the extension in the public schema so its available to all schemas=20 > as long as you leave public in the search_path >=20 >=20 >=20 > --=20 > john r pierce=2C recycling bits in santa cruz >=20 = --_b53e7a6b-5d11-4018-b308-1fa91151c032_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I think i got it=3B will do some= testing and get back to you if something goes wrong.

Thanks.
>=3B Subject: Re: [BUGS] BUG #13663: uuid-ossp in multiple schemas = same database
>=3B To: wjarl@hotmail.com=3B pgsql-bugs@postgresql.org<= br>>=3B From: pierce@hogranch.com
>=3B Date: Mon=2C 5 Oct 2015 09:49= :18 -0700
>=3B
>=3B On 10/5/2015 8:47 AM=2C wjarl@hotmail.com wr= ote:
>=3B >=3B I have 1 database named general and 2 schemas crm and= erp. When i create
>=3B >=3B extension "uuid-ossp" i 'need' to spec= ify the schema example erp=3B create
>=3B >=3B extension "uuid-ossp"= schema erp=2C however when i try to use it on crm i
>=3B >=3B can't= . if i try to create extension "uuid-ossp" schema crm=2C it reads
>=3B= >=3B extension "uuid-ossp" already exists.
>=3B >=3B Any suggesti= ons?
>=3B
>=3B
>=3B put the extension in the public schema= so its available to all schemas
>=3B as long as you leave public in = the search_path
>=3B
>=3B
>=3B
>=3B --
>=3B jo= hn r pierce=2C recycling bits in santa cruz
>=3B
=
= --_b53e7a6b-5d11-4018-b308-1fa91151c032_--