Re: Rule Question

From: Giuseppe Broccolo <giuseppe(dot)broccolo(at)2ndquadrant(dot)it>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Rule Question
Date: 2013-07-25 16:02:52
Message-ID: 51F14C2C.8000804@2ndquadrant.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


> 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Bartley 2013-07-25 21:15:09 Re: Rule Question
Previous Message Gauthier, Dave 2013-07-25 15:37:40 Re: Why are stored procedures looked on so negatively?