Terry Yapt <yapt(at)technovell(dot)com> writes:
> I cannot to get this to run... I think I am mistaking some basic concept or I have a big brain-lock . Somebody know what is the problem to execute this function ?
Perhaps you want to use timeofday() instead of now(). now() does not
advance within a transaction.
regards, tom lane