BUG #13663: uuid-ossp in multiple schemas same database
The following bug has been logged on the website:
Bug reference: 13663
Logged by: Jarl Walker
Email address: wjarl@hotmail.com
PostgreSQL version: 9.3.4
Operating system: Centos 6.4
Description:
I have 1 database named general and 2 schemas crm and erp. When i create
extension "uuid-ossp" i 'need' to specify the schema example erp; create
extension "uuid-ossp" schema erp, however when i try to use it on crm i
can't. if i try to create extension "uuid-ossp" schema crm, it reads
extension "uuid-ossp" already exists.
Any suggestions?
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
On 10/5/2015 8:47 AM, wjarl@hotmail.com wrote:
I have 1 database named general and 2 schemas crm and erp. When i create
extension "uuid-ossp" i 'need' to specify the schema example erp; create
extension "uuid-ossp" schema erp, however when i try to use it on crm i
can't. if i try to create extension "uuid-ossp" schema crm, it reads
extension "uuid-ossp" already exists.
Any suggestions?
put the extension in the public schema so its available to all schemas
as long as you leave public in the search_path
--
john r pierce, recycling bits in santa cruz
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
I think i got it; will do some testing and get back to you if something goes wrong.
Thanks.
Show quoted text
Subject: Re: [BUGS] BUG #13663: uuid-ossp in multiple schemas same database
To: wjarl@hotmail.com; pgsql-bugs@postgresql.org
From: pierce@hogranch.com
Date: Mon, 5 Oct 2015 09:49:18 -0700On 10/5/2015 8:47 AM, wjarl@hotmail.com wrote:
I have 1 database named general and 2 schemas crm and erp. When i create
extension "uuid-ossp" i 'need' to specify the schema example erp; create
extension "uuid-ossp" schema erp, however when i try to use it on crm i
can't. if i try to create extension "uuid-ossp" schema crm, it reads
extension "uuid-ossp" already exists.
Any suggestions?put the extension in the public schema so its available to all schemas
as long as you leave public in the search_path--
john r pierce, recycling bits in santa cruz