Search Postgresql Archives

Re: createlang

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/15/05 4:45 PM, "eoghan" <postgres@xxxxxxxxx> 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


---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux