Re: Create extention CITEX failed

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Mihalidesová Jana <jana(dot)mihalidesova(at)cetin(dot)cz>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Create extention CITEX failed
Date: 2020-06-30 09:40:47
Message-ID: 095ea106-5a4b-baec-79d3-7b3ba5fafca8@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On 2020-06-30 10:54, Mihalidesová Jana wrote:
> Hi,
>
> I unzip the binaries for postgresl 12.2 on server. There is a directory
> .. /postgresql-12.2/contrib with list of possible extentions. Then I
> installed postgres using
>
> configure --prefix=/pgsql/bin/<version>_<db_name>
>
> make
>
> make install

You need to run make install-world or make -C contrib install to install
contrib modules from source.

>
> then I created database
>
> pg_ctl -D /<path> initdb
>
> Now I try to create extention but I got error
>
> clooneyt=# CREATE EXTENSION IF NOT EXISTS citext WITH SCHEMA public;
>
> ERROR:  could not open extension control file
> "/pgsql/bin/12.2_clooneyt/share/extension/citext.control": No such file
> or directory
>
> And really there’s no citext.control file. How I install/create
> extention CITEX.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Remya DJ 2020-06-30 09:40:55 Reg. Postgres utility for fetching multiple rows from DB
Previous Message Mihalidesová Jana 2020-06-30 08:54:46 Create extention CITEX failed