pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re:  enabling uuid-ossp in centos 7
2+ messages / 2 participants
[nested] [flat]

* Re:  enabling uuid-ossp in centos 7
@ 2020-03-02 11:00 sivapostgres@yahoo.com <sivapostgres@yahoo.com>
  2020-03-02 13:59 ` Re:  enabling uuid-ossp in centos 7 Laurenz Albe <laurenz.albe@cybertec.at>
  0 siblings, 1 reply; 2+ messages in thread

From: sivapostgres@yahoo.com @ 2020-03-02 11:00 UTC (permalink / raw)
  To: Postgresql General Group <pgsql-general@lists.postgresql.org>

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.rp...
yum install postgresql11
yum install postgresql11-server
/usr/pgsql-11/bin/postgresql-11-setup initdb

Now the commandcreate 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 directorySQL state: 58P01
What to do to enable this extension?
In windows, this works fine.  Issue is when installing under Linux only.
Happiness AlwaysBKR Sivaprakash

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

* Re:  enabling uuid-ossp in centos 7
  2020-03-02 11:00 Re:  enabling uuid-ossp in centos 7 sivapostgres@yahoo.com <sivapostgres@yahoo.com>
@ 2020-03-02 13:59 ` Laurenz Albe <laurenz.albe@cybertec.at>
  0 siblings, 0 replies; 2+ messages in thread

From: Laurenz Albe @ 2020-03-02 13:59 UTC (permalink / raw)
  To: sivapostgres@yahoo.com <sivapostgres@yahoo.com>; Postgresql General Group <pgsql-general@lists.postgresql.org>

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






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


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

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-03-02 11:00 Re:  enabling uuid-ossp in centos 7 sivapostgres@yahoo.com <sivapostgres@yahoo.com>
2020-03-02 13:59 ` Laurenz Albe <laurenz.albe@cybertec.at>

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