pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: sivapostgres@yahoo.com <sivapostgres@yahoo.com>
To: Postgresql General Group <pgsql-general@lists.postgresql.org>
Subject: Re:  enabling uuid-ossp in centos 7
Date: Mon, 02 Mar 2020 14:59:36 +0100
Message-ID: <2c8f51f31803799f3745f5e0dec6f42e77254e57.camel@cybertec.at> (raw)
In-Reply-To: <576790916.4465797.1583146838375@mail.yahoo.com>
References: <576790916.4465797.1583146838375.ref@mail.yahoo.com>
	<576790916.4465797.1583146838375@mail.yahoo.com>

On Mon, 2020-03-02 at 11:00 +0000, sivapostgres@yahoo.com wrote:
> yum install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rp...
> yum install postgresql11
> yum install postgresql11-server
> /usr/pgsql-11/bin/postgresql-11-setup initdb
> 
> Now the command
> create extension if not exists "uuid-ossp";
> gives the following error
> 
> could not open extension control file "/usr/pgsql-11/share/extension/uuid-ossp.control": No such file or directory
> SQL state: 58P01
> 
> What to do to enable this extension?
> 
> In windows, this works fine.  Issue is when installing under Linux only.

You forgot

yum install postgresql11-contrib

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com






view thread (2+ messages)

Message-ID: <2c8f51f31803799f3745f5e0dec6f42e77254e57.camel@cybertec.at>
Permalink:  ../2c8f51f31803799f3745f5e0dec6f42e77254e57.camel@cybertec.at/
Also on:    postgresql.org/message-id/2c8f51f31803799f3745f5e0dec6f42e77254e57.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: laurenz.albe@cybertec.at, sivapostgres@yahoo.com
  Subject: Re: enabling uuid-ossp in centos 7
  In-Reply-To: <2c8f51f31803799f3745f5e0dec6f42e77254e57.camel@cybertec.at>
  References: <576790916.4465797.1583146838375.ref@mail.yahoo.com> <576790916.4465797.1583146838375@mail.yahoo.com> <2c8f51f31803799f3745f5e0dec6f42e77254e57.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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