pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #13663: uuid-ossp in multiple schemas same database
3+ messages / 3 participants
[nested] [flat]

* BUG #13663: uuid-ossp in multiple schemas same database
@ 2015-10-05 15:47  wjarl@hotmail.com
  0 siblings, 1 reply; 3+ messages in thread

From: wjarl@hotmail.com @ 2015-10-05 15:47 UTC (permalink / raw)
  To: pgsql-bugs

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #13663: uuid-ossp in multiple schemas same database
@ 2015-10-05 16:49  John R Pierce <pierce@hogranch.com>
  parent: wjarl@hotmail.com
  0 siblings, 1 reply; 3+ messages in thread

From: John R Pierce @ 2015-10-05 16:49 UTC (permalink / raw)
  To: 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



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #13663: uuid-ossp in multiple schemas same database
@ 2015-10-08 02:37  Jarl Walker <wjarl@hotmail.com>
  parent: John R Pierce <pierce@hogranch.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Jarl Walker @ 2015-10-08 02:37 UTC (permalink / raw)
  To: John R Pierce <pierce@hogranch.com>; 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@hotmail.com; pgsql-bugs@postgresql.org
> From: pierce@hogranch.com
> Date: Mon, 5 Oct 2015 09:49:18 -0700
> 
> 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
> 
 		 	   		  =

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2015-10-08 02:37 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-10-05 15:47 BUG #13663: uuid-ossp in multiple schemas same database wjarl@hotmail.com
2015-10-05 16:49 ` John R Pierce <pierce@hogranch.com>
2015-10-08 02:37   ` Jarl Walker <wjarl@hotmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox