Re: rules or trigers?

Поиск
Список
Период
Сортировка
От Marcin Mazurek
Тема Re: rules or trigers?
Дата
Msg-id 20000830231612.A26624@poznan.mtl.pl
обсуждение исходный текст
Ответ на Re: rules or trigers?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Tom Lane (tgl@sss.pgh.pa.us) napisał:
> See the problem?  What you want is to lay your hands on the actual
> values that are getting inserted into "tab", and a rule cannot do that.
> But a trigger does exactly that.
and thats what I did a minute ago, works just fine, at least it looks like:)

> I am not sure whether this behavior of rules is a bug or a feature.
> I am sure that it would be difficult to change...
maybe somebody needs it that way, at least I have an option.
thx for Your help.

Marcin Mazurek

--
Kierownik Działu Systemowego
MULTINET SA o/Poznan
http://www.multinet.pl/

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: rules or trigers?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PG 7.0 vacuum problem