Обсуждение: postgresql: Help with hstore hextension

Поиск
Список
Период
Сортировка

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.

Re: postgresql: Help with hstore hextension

От
Tom Lane
Дата:
"Lu, Dan" <Dan.Lu@sig.com> 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



RE: postgresql: Help with hstore hextension

От
"Lu, Dan"
Дата:
Thanks for the information.

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Thursday, September 05, 2019 12:06 PM
To: Lu, Dan <Dan.Lu@msx.bala.susq.com>
Cc: pgsql-general@postgresql.org; Kelly, Kevin <Kevin.Kelly@msx.bala.susq.com>
Subject: Re: postgresql: Help with hstore hextension

"Lu, Dan" <Dan.Lu@sig.com> 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
youused 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.
Anyreview, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient
isstrictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer,
solicitationor recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her
employernor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the
informationcontained herein or that this message or any of its attachments is free of viruses.