Re: Trigger question: ROW or STATEMENT?

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: Trigger question: ROW or STATEMENT?
Дата
Msg-id 87irs8gkhg.fsf@asmodeus.mcnaught.org
обсуждение исходный текст
Ответ на Trigger question: ROW or STATEMENT?  (Patrick Hatcher <PHatcher@macys.com>)
Ответы Re: Trigger question: ROW or STATEMENT?  (Patrick Hatcher <PHatcher@macys.com>)
Список pgsql-general
Patrick Hatcher <PHatcher@macys.com> writes:

> Attempting to do my first trigger and I'm confused about which FOR EACH I
> should use: ROW or STATEMENT.  I import about 80K rows into an existing
> table each day.  If I do a STATEMENT, will the changes only happen on the
> new 80K rows I inserted or will it be for all rows in the table - currently
> about 12M.

If you told us what you want the trigger to do it would probably be
helpful.

-Doug

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Postgresql Segfault in 8.1
Следующее
От: Benjamin Smith
Дата:
Сообщение: Re: Postgresql Segfault in 8.1