| From: | Andrew Bartley <ambartley(at)gmail(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Rule Question |
| Date: | 2013-07-25 21:15:09 |
| Message-ID: | CAA3RN+ziCLKirZDaVvFD=P7WvN66fdVvm5n6_ubnvm8dJM+f6A@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(dot)broccolo(at)2ndquadrant(dot)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(dot)broccolo(at)2ndQuadrant(dot)**it | www.2ndQuadrant.it
>
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/**mailpref/pgsql-general<http://www.postgresql.org/mailpref/pgsql-general>
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Sébastien Lorion | 2013-07-25 21:17:00 | Re: Why are stored procedures looked on so negatively? |
| Previous Message | Giuseppe Broccolo | 2013-07-25 16:02:52 | Re: Rule Question |