Re: createlang

From: Sean Davis <sdavis2(at)mail(dot)nih(dot)gov>
To: eoghan <postgres(at)redry(dot)net>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: createlang
Date: 2005-08-15 21:08:51
Message-ID: BF267CA3.C72A%sdavis2@mail.nih.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 8/15/05 4:45 PM, "eoghan" <postgres(at)redry(dot)net> wrote:

> Hello
> Im trying to load plpgsql into my test db... Im wondering if theres a
> way to check if its loaded... I do:
> test-# createlang plpgsql test
> test-#
> When i try load an example function:
> test-# \i test.sql
> Im getting:
> psql:test.sql:5: ERROR: language "plpgsql" does not exist
> HINT: You need to use "createlang" to load the language into the
> database.

You need to run creatlang from the command line (outside the database).
Here is the documentation:

http://www.postgresql.org/docs/8.0/interactive/app-createlang.html

Sean

In response to

Browse pgsql-general by date

  From Date Subject
Next Message eoghan 2005-08-15 21:09:36 Re: createlang
Previous Message eoghan 2005-08-15 21:05:00 Re: createlang