Re: Enabling extensions on a compiled instance of postgresql 12.1

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: Sterpu Victor <victor(at)caido(dot)ro>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Enabling extensions on a compiled instance of postgresql 12.1
Date: 2020-02-13 13:48:08
Message-ID: 20200213134808.GA49910@nol
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sterpu Victor 2020-02-13 14:11:16 Re[2]: Enabling extensions on a compiled instance of postgresql 12.1
Previous Message Sterpu Victor 2020-02-13 13:34:55 Enabling extensions on a compiled instance of postgresql 12.1