| От | Tom Lane |
|---|---|
| Тема | Re: [SQL] problems creating functions and triggers |
| Дата | |
| Msg-id | 7468.947551216@sss.pgh.pa.us обсуждение |
| Ответ на | problems creating functions and triggers (Werner Fraga <werner.fraga@computalog.com>) |
| Список | pgsql-sql |
Werner Fraga <werner.fraga@computalog.com> writes:
> 1. I noticed that some examples show the LANGUAGE in the CREATE FUNCTION
> command can be 'plpgsql'. However, if I try using this instead of 'sql', I get
> ERROR: Unrecognized language specified in a CREATE FUNCTION ...
You need to run the "createlang" script to install plpgsql in the
particular database you are using.
If you want plpgsql to be available by default in a given installation,
you can install it in template1 --- subsequently created DBs will be
clones of template1.
> 3. Is there anywhere I can find a list of the system tables? (that section in
> Bruce's book is still empty...)
\dS in psql...
regards, tom lane
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера