pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Enabling extensions on a compiled instance of postgresql 12.1
2+ messages / 2 participants
[nested] [flat]

* Enabling extensions on a compiled instance of postgresql 12.1
@ 2020-02-13 13:34 Sterpu Victor <victor@caido.ro>
  2020-02-13 13:48 ` Re: Enabling extensions on a compiled instance of postgresql 12.1 Julien Rouhaud <rjuju123@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Sterpu Victor @ 2020-02-13 13:34 UTC (permalink / raw)
  To: pgsql-general

Hello

I compiled from source postgresql 12.1 and all went fine but when I try 
to restore my DB I can see that I have 3 extensions missing: uuid-ossp, 
btree_gist, tablefunc.
I tried to run: CREATE EXTENSION "uuid-ossp"; and the error is ERROR:  
could not open extension control file 
"/usr/local/pgsql_12.1/share/extension/uuid-ossp.control": No such file 
or directory
How do I enable these extensions? I tried to copy the file from my 
previous postgres version but is not compatible.
These were my compiling options:  ./configure --with-ossp-uuid 
--with-uuid=bsd --prefix=/usr/local/pgsql_12.1

Thank you.

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

* Re: Enabling extensions on a compiled instance of postgresql 12.1
  2020-02-13 13:34 Enabling extensions on a compiled instance of postgresql 12.1 Sterpu Victor <victor@caido.ro>
@ 2020-02-13 13:48 ` Julien Rouhaud <rjuju123@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Julien Rouhaud @ 2020-02-13 13:48 UTC (permalink / raw)
  To: Sterpu Victor <victor@caido.ro>; +Cc: pgsql-general

On Thu, Feb 13, 2020 at 01:34:55PM +0000, Sterpu Victor wrote:
> Hello
>
> I compiled from source postgresql 12.1 and all went fine but when I try to
> restore my DB I can see that I have 3 extensions missing: uuid-ossp,
> btree_gist, tablefunc.
> I tried to run: CREATE EXTENSION "uuid-ossp"; and the error is ERROR:  could
> not open extension control file
> "/usr/local/pgsql_12.1/share/extension/uuid-ossp.control": No such file or
> directory
> How do I enable these extensions? I tried to copy the file from my previous
> postgres version but is not compatible.
> These were my compiling options:  ./configure --with-ossp-uuid
> --with-uuid=bsd --prefix=/usr/local/pgsql_12.1

Did you also do a "make install" under the contrib/ directory?





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


end of thread, other threads:[~2020-02-13 13:48 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-02-13 13:34 Enabling extensions on a compiled instance of postgresql 12.1 Sterpu Victor <victor@caido.ro>
2020-02-13 13:48 ` Julien Rouhaud <rjuju123@gmail.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