Daniel Carlsson <daniel(dot)carlsson(at)gimlisoft(dot)se> writes:
> I can't figure out why the changedate is not updated.
CURRENT_TIMESTAMP doesn't advance inside a transaction. See
http://www.postgresql.org/docs/view.php?version=7.3&idoc=0&file=functions-datetime.html#FUNCTIONS-DATETIME-CURRENT
regards, tom lane