Re: BUG #13663: uuid-ossp in multiple schemas same database - Mailing list pgsql-bugs

From John R Pierce
Subject Re: BUG #13663: uuid-ossp in multiple schemas same database
Date
Msg-id 5612AA0E.8050702@hogranch.com
Whole thread Raw
In response to BUG #13663: uuid-ossp in multiple schemas same database  (wjarl@hotmail.com)
Responses Re: BUG #13663: uuid-ossp in multiple schemas same database  (Jarl Walker <wjarl@hotmail.com>)
List 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

pgsql-bugs by date:

Previous
From: wjarl@hotmail.com
Date:
Subject: BUG #13663: uuid-ossp in multiple schemas same database
Next
From: Jeff Janes
Date:
Subject: Re: BUG #13657: Some kind of undetected deadlock between query and "startup process" on replica.