Re: trigger proceedures in sql

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: trigger proceedures in sql
Дата
Msg-id 200307100929.47140.dev@archonet.com
обсуждение исходный текст
Ответ на trigger proceedures in sql  ("adivi" <adivi@maximizelearning.com>)
Список pgsql-sql
On Thursday 10 Jul 2003 6:40 am, adivi wrote:
> hi,
>
>       can trigger proceedures ( procedures to be executed from within a
> trigger ) not be written in sql.
>
>       i was looking for examples and can find proceedures in 'c' only.

AFAIK you can't use "sql", but you can use "plpgsql". There is an example of a
trigger function in the docs (chapter "Procedural Languages"). Also check out
http://techdocs.postgresql.org/ - there are examples in some of the docs
there.

--  Richard Huxton


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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: help yourself by helping others
Следующее
От: "adivi"
Дата:
Сообщение: server side error variable