postgresql: Help with hstore hextension

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

postgresql: Help with hstore hextension

Lu, Dan

Hello,

 

We recently downloaded the “postgresql-10.7.tar.bz2” file from https://ftp.postgresql.org/pub/source/v10.7.

 

We configure our installation as followed:

 

./configure --prefix=/hostname/pg/PostgreSQL-10.7 --with-systemd

 

We created new database and things are working fine.

 

We are now trying to create “hstore” extension and ran into the error below.

 

opm=# CREATE EXTENSION hstore;

ERROR:  could not open extension control file "/pgdbadevbal801/pg/PostgreSQL-10.7/share/postgresql/extension/hstore.control": No such file or directory

 

I am very new to PostgreSQL work and greatly appreciate your expertise in guiding me through this error.

 

Is there a way we can add that extension into this installation we did like the “with-systemd” option above?

 

Dan




IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.
Reply | Threaded
Open this post in threaded view
|

Re: postgresql: Help with hstore hextension

Tom Lane-2
"Lu, Dan" <[hidden email]> writes:
> We are now trying to create "hstore" extension and ran into the error below.

> opm=# CREATE EXTENSION hstore;
> ERROR:  could not open extension control file "/pgdbadevbal801/pg/PostgreSQL-10.7/share/postgresql/extension/hstore.control": No such file or directory

You need to build/install the contrib/hstore module, or possibly you'd
just want to install all of contrib.  "make all" and "make install"
at the top level don't touch the contrib subtree.

If you already wiped your build tree, you'll have to recreate it ---
be careful to give the same configure arguments as you used before.

                        regards, tom lane


Reply | Threaded
Open this post in threaded view
|

RE: postgresql: Help with hstore hextension

Lu, Dan
Thanks for the information.

-----Original Message-----
From: Tom Lane [mailto:[hidden email]]
Sent: Thursday, September 05, 2019 12:06 PM
To: Lu, Dan <[hidden email]>
Cc: [hidden email]; Kelly, Kevin <[hidden email]>
Subject: Re: postgresql: Help with hstore hextension

"Lu, Dan" <[hidden email]> writes:
> We are now trying to create "hstore" extension and ran into the error below.

> opm=# CREATE EXTENSION hstore;
> ERROR:  could not open extension control file
> "/pgdbadevbal801/pg/PostgreSQL-10.7/share/postgresql/extension/hstore.
> control": No such file or directory

You need to build/install the contrib/hstore module, or possibly you'd just want to install all of contrib.  "make all" and "make install"
at the top level don't touch the contrib subtree.

If you already wiped your build tree, you'll have to recreate it --- be careful to give the same configure arguments as you used before.

regards, tom lane

________________________________

IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.