Re: createlang

Поиск
Список
Период
Сортировка
От James Cradock
Тема Re: createlang
Дата
Msg-id 7b2c044ececb79563af4326e80d49b86@me3.com
обсуждение исходный текст
Ответ на createlang  (eoghan <postgres@redry.net>)
Список 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@me3.com


В списке pgsql-general по дате отправления:

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: createlang
Следующее
От: James Cradock
Дата:
Сообщение: Re: createlang