Re: Converting mysql "on update" to postgres "rule" - Mailing list pgsql-general

From Andrew Sullivan
Subject Re: Converting mysql "on update" to postgres "rule"
Date
Msg-id 20080325191333.GC4724@crankycanuck.ca
Whole thread Raw
In response to Converting mysql "on update" to postgres "rule"  ("Edward Blake" <comedian.watchman@gmail.com>)
List 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


pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: select any table
Next
From: Rodrigo Gonzalez
Date:
Subject: Re: Converting mysql "on update" to postgres "rule"