grant@intekom.com writes:
> I'm trying to use a rule to maintain a last_changed field.
Use a trigger, not a rule. You can adjust the last_changed
field before the tuple is stored that way. There's an example
in the manual's discussion of triggers.
regards, tom lane