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