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

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: BUG #13663: uuid-ossp in multiple schemas same database
Дата
Msg-id 5612AA0E.8050702@hogranch.com
обсуждение исходный текст
Ответ на BUG #13663: uuid-ossp in multiple schemas same database  (wjarl@hotmail.com)
Ответы Re: BUG #13663: uuid-ossp in multiple schemas same database  (Jarl Walker <wjarl@hotmail.com>)
Список 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 по дате отправления:

Предыдущее
От: wjarl@hotmail.com
Дата:
Сообщение: BUG #13663: uuid-ossp in multiple schemas same database
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: BUG #13657: Some kind of undetected deadlock between query and "startup process" on replica.