Re: Rules going away

Поиск
Список
Период
Сортировка
От Ondrej Ivanič
Тема Re: Rules going away
Дата
Msg-id CAM6mieLty-2KwFgxwxGjX4VKh1kWaV+nSe+F7bjGioOaR=jyxQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Rules going away  (Merlin Moncure <mmoncure@gmail.com>)
Ответы Re: Rules going away
Список pgsql-general
Hi,

> folks, don't use RULES! use triggers -- and as much as possible, keep
> triggers simple, short, and to the point (simple validation, custom
> RI, auditing/logging, etc).

I like them :). 'DO INSTEAD' rules are great for partitioning so you
can insert (or update) to parent table and 'DO INSTEAD' rule takes
care about the rest.

--
Ondrej Ivanic
(ondrej.ivanic@gmail.com)

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