Re: [GENERAL] CREATE EXTENSION does not seem to work in 9.2

2014-02-17 Thread Devrim GÜNDÜZ
Hi, On Wed, 2014-01-22 at 11:07 -0800, Susan Cassidy wrote: > It wasn't installed in the yum package that we used to install > postgres 9.2. This has nothing to do with the RPMs -- PL/pgSQL is installed by defaults since 9.0. As Adrian wrote, you will need to omit the file path there (still, yo

Re: [GENERAL] CREATE EXTENSION does not seem to work in 9.2

2014-01-22 Thread Adrian Klaver
On 01/22/2014 11:07 AM, Susan Cassidy wrote: 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

Re: [GENERAL] CREATE EXTENSION does not seem to work in 9.2

2014-01-22 Thread Susan Cassidy
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

Re: [GENERAL] CREATE EXTENSION does not seem to work in 9.2

2014-01-21 Thread Adrian Klaver
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 m

[GENERAL] CREATE EXTENSION does not seem to work in 9.2

2014-01-21 Thread Susan Cassidy
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.