Re: Converting mysql "on update" to postgres "rule"

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Converting mysql "on update" to postgres "rule"
Date: 2008-03-25 19:13:33
Message-ID: 20080325191333.GC4724@crankycanuck.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Mar 25, 2008 at 02:51:05PM -0400, Edward Blake wrote:
> CREATE RULE timestamp_update AS ON UPDATE TO visit

Do this with a trigger instead of a rule. I think there's an example in the
docs of something very similar, but I haven't checked just now.

A

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rodrigo Gonzalez 2008-03-25 19:14:41 Re: Converting mysql "on update" to postgres "rule"
Previous Message Joshua D. Drake 2008-03-25 18:54:37 Re: select any table