Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing hstore extension

I am running postgresql-9.5.3 and I tried to create extension:

CREATE EXTENSION IF NOT EXISTS hstore; 

but I got this error:

could not open extension control file "/usr/share/pgsql/extension/hstore.control": No such file or directory

How can I install hstore?

like image 735
user6731260 Avatar asked Aug 29 '16 11:08

user6731260


1 Answers

The package providing additional modules must be installed in your system.

For Fedora:

yum install postgresql-contrib

Or (for plain users):

sudo yum install postgresql-contrib
  • Error when creating unaccent extension on PostgreSQL
like image 145
Erwin Brandstetter Avatar answered Nov 16 '22 02:11

Erwin Brandstetter