Re: CREATE EXTENSION does not seem to work in 9.2

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: Susan Cassidy <susan(dot)cassidy(at)decisionsciencescorp(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: CREATE EXTENSION does not seem to work in 9.2
Date: 2014-01-21 23:05:42
Message-ID: 52DEFD46.5000101@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 01/21/2014 02:51 PM, Susan Cassidy wrote:
> When I tried to do CREATE EXTENSION IF NOT EXISTS
> /usr/pgsql-9.2/share/extension/plpgsql.control with schema public;
>
> it gave me
> ERROR: syntax error at or near "EXTENSION"
>
> CREATE LANGUAGE worked just fine. I only tried CREATE EXTENSION because
> the manual said that CREATE LANGUAGE was deprecated.

If you trying to install plpgsql it is installed by default from 9.0+
If you trying to install something else you only need the extension name
not the file path, so just plpgsql in this case.

>
> Susan

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2014-01-21 23:07:16 Re: pg_config problems on PG9.3/Centos?
Previous Message Susan Cassidy 2014-01-21 22:51:29 CREATE EXTENSION does not seem to work in 9.2