Re: enabling uuid-ossp in centos 7 - Mailing list pgsql-general

From sivapostgres@yahoo.com
Subject Re: enabling uuid-ossp in centos 7
Date
Msg-id 576790916.4465797.1583146838375@mail.yahoo.com
Whole thread Raw
Responses Re: enabling uuid-ossp in centos 7  (Laurenz Albe <laurenz.albe@cybertec.at>)
List pgsql-general
Hello,
Installed postgresql 11 in CentOS 7 through 

yum install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
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.

Happiness Always
BKR Sivaprakash

pgsql-general by date:

Previous
From: "Peter J. Holzer"
Date:
Subject: Re: trouble making PG use my Perl
Next
From: Laurenz Albe
Date:
Subject: Re: enabling uuid-ossp in centos 7