Re: Rules and sequences

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Rules and sequences
Дата
Msg-id 4884.1274918674@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Rules and sequences  (Ben Morrow <ben@morrow.me.uk>)
Ответы Re: Rules and sequences  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Re: Rules and sequences  (Ben Morrow <ben@morrow.me.uk>)
Список pgsql-sql
Ben Morrow <ben@morrow.me.uk> writes:
> I am trying to implement a fairly standard 'audit table' setup, but
> using rules instead of triggers (since it should be more efficient).

Rules are sufficiently tricky that I would never, ever rely on them for
auditing.  Use a simple AFTER trigger instead.
        regards, tom lane


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

Предыдущее
От: Rolando Edwards
Дата:
Сообщение: Re: inner join and limit
Следующее
От: Gerardo Herzig
Дата:
Сообщение: cast record type to array?