Re: Creating a trigger on n tables?

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Creating a trigger on n tables?
Дата
Msg-id 443A1A3D.9060307@archonet.com
обсуждение исходный текст
Ответ на Creating a trigger on n tables?  (Bjørn T Johansen <btj@havleik.no>)
Список pgsql-general
Bjørn T Johansen wrote:
> Is there an easier way to create the same trigger for n tables or do
> I need to run create trigger n times?

You'll need to run CREATE TRIGGER several times I'm afraid. You might be
able to wrap this in a function if you'd like though.

--
   Richard Huxton
   Archonet Ltd


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

Предыдущее
От: "surabhi.ahuja"
Дата:
Сообщение: Re: postmaster going down own its on
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: ANALYZE for a schema