Re: extension installation PB - Mailing list pgsql-novice

From Devrim GÜNDÜZ
Subject Re: extension installation PB
Date
Msg-id 1320606299.5361.24.camel@lenovo01-laptop03.gunduz.org
Whole thread Raw
In response to extension installation PB  ("Jean-Yves F. Barbier" <12ukwn@gmail.com>)
List pgsql-novice
On Sun, 2011-11-06 at 19:58 +0100, Jean-Yves F. Barbier wrote:
>
> I've an old script installing Pg extensions that I modified to fit
> from 9.1 paths & file names.
> However it throw errors for any extension package, ie:
>
> =# \i /usr/share/postgresql/9.1/extension/adminpack--1.0.sql

As of 9.1, you cannot run those files via \i. Now there is a simpler
way:

CREATE EXTENSION adminpack;

http://www.postgresql.org/docs/9.1/static/sql-createextension.html

Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz

Attachment

pgsql-novice by date:

Previous
From: "Jean-Yves F. Barbier"
Date:
Subject: extension installation PB
Next
From: "Jean-Yves F. Barbier"
Date:
Subject: test strange behavior