Re: BUG #13663: uuid-ossp in multiple schemas same database

From: John R Pierce <pierce(at)hogranch(dot)com>
To: wjarl(at)hotmail(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #13663: uuid-ossp in multiple schemas same database
Date: 2015-10-05 16:49:18
Message-ID: 5612AA0E.8050702@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 10/5/2015 8:47 AM, wjarl(at)hotmail(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Jeff Janes 2015-10-05 17:10:09 Re: BUG #13657: Some kind of undetected deadlock between query and "startup process" on replica.
Previous Message wjarl 2015-10-05 15:47:16 BUG #13663: uuid-ossp in multiple schemas same database