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

From: Jarl Walker <wjarl(at)hotmail(dot)com>
To: John R Pierce <pierce(at)hogranch(dot)com>, "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #13663: uuid-ossp in multiple schemas same database
Date: 2015-10-08 02:37:12
Message-ID: BAY169-W1116FF09B43101315415418AD350@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

I think i got it; will do some testing and get back to you if something goes wrong.

Thanks.

> Subject: Re: [BUGS] BUG #13663: uuid-ossp in multiple schemas same database
> To: wjarl(at)hotmail(dot)com; pgsql-bugs(at)postgresql(dot)org
> From: pierce(at)hogranch(dot)com
> Date: Mon, 5 Oct 2015 09:49:18 -0700
>
> 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

Browse pgsql-bugs by date

  From Date Subject
Next Message sean 2015-10-08 10:00:36 BUG #13667: SSI violation...
Previous Message Slava Moudry 2015-10-07 22:37:43 Re: BUG #13664: pg_restore fails with -j parameter when restoring 9.1 db onto 9.5 alpha db