Re: createlang

From: James Cradock <jcradock(at)me3(dot)com>
To: eoghan <postgres(at)redry(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: createlang
Date: 2005-08-15 21:01:29
Message-ID: 7b2c044ececb79563af4326e80d49b86@me3.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Exit the psql prompt. Type the same command:

createlang plpgsql test

Then access your db:

psql test

And load your script:

\i test.sql

On Aug 15, 2005, at 4:45 PM, eoghan 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.
> Anyone any hints for me?
> Thanks
> Eoghan
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match

-----
James Cradock, jcradock(at)me3(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message James Cradock 2005-08-15 21:03:09 Re: createlang
Previous Message Joshua D. Drake 2005-08-15 20:58:50 Re: createlang