Re: simple trigger question ...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: simple trigger question ...
Дата
Msg-id 25618.1049344429@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: simple trigger question ...  ("Marc G. Fournier" <scrappy@hub.org>)
Ответы Re: simple trigger question ...  ("Marc G. Fournier" <scrappy@hub.org>)
Список pgsql-sql
"Marc G. Fournier" <scrappy@hub.org> writes:
> Okay, so I do have to create the FUNCTION first, I can't do it without?

Check.

> Can a TRIGGER pass an arg to the FUNCTION?

Yes, but only simple constant strings.  (In this context, it might
make sense for the CREATE TRIGGER command to tell the function the
name of the specific sequence to increment.)
        regards, tom lane



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

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: simple trigger question ...
Следующее
От: "mohamed imdadullah"
Дата:
Сообщение: Syntax problem!