Pavel Stehule <stehule@kix.fsv.cvut.cz> writes:
>> You probably want now() instead of that function.
> I can't use now() or others because I need actual time in transaction.
Just cast the result of timeofday() to timestamp (with time zone, likely).
regards, tom lane