From: | Susan Cassidy <susan(dot)cassidy(at)decisionsciencescorp(dot)com> |
---|---|
To: | Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com> |
Cc: | "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-22 19:07:24 |
Message-ID: | CAE3Q8o=-9-AVGRU-d-3Hvney6xYypAir8YM-hTnfUYXfXdCizw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
It wasn't installed in the yum package that we used to install postgres
9.2. I had to add it. As I said, create language worked fine. Before I
did create language, I got errors that the language didn't exist when I
tried to create a function. After I created the language, those errors
went away.
Susan
On Tue, Jan 21, 2014 at 3:05 PM, Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>wrote:
> 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
>
From | Date | Subject | |
---|---|---|---|
Next Message | Moshe Jacobson | 2014-01-22 19:12:49 | Re: question on writing a function |
Previous Message | Marti Raudsepp | 2014-01-22 19:02:28 | Re: 9.3.2 server creates hundreds of thousands of temporary files |