Martin Marques <martin@bugs.unl.edu.ar> writes:
> I just found this problem with the age() function, which AFAIK should
> give the same resulte as a subtraction of the argument from now(),
Where did you get that idea? age's reference point is current_date (ie,
midnight) not now(). There are also some differences in the calculation
compared to a plain timestamp subtraction.
regards, tom lane