Re: Rule Question

Поиск
Список
Период
Сортировка
От Andrew Bartley
Тема Re: Rule Question
Дата
Msg-id CAA3RN+ziCLKirZDaVvFD=P7WvN66fdVvm5n6_ubnvm8dJM+f6A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Rule Question  (Giuseppe Broccolo <giuseppe.broccolo@2ndquadrant.it>)
Список pgsql-general
Thanks All,

And thanks Tom, I did not realise a rule worked in that manner.  Will now take that into account in the future.

Thanks

Andrew  


On 26 July 2013 02:02, Giuseppe Broccolo <giuseppe.broccolo@2ndquadrant.it> wrote:

Unrelated to the OP's question, the suggestion above could be more simply rewritten as

TG_OP = 'UPDATE'
AND NEW.b IS DISTINCT FROM OLD.b
You're right! :)


Giuseppe.

--
Giuseppe Broccolo - 2ndQuadrant Italy
PostgreSQL Training, Services and Support
giuseppe.broccolo@2ndQuadrant.it | www.2ndQuadrant.it



--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

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

Предыдущее
От: Giuseppe Broccolo
Дата:
Сообщение: Re: Rule Question
Следующее
От: Sébastien Lorion
Дата:
Сообщение: Re: Why are stored procedures looked on so negatively?