> Does anybody knows how I can get the difference between two date (timestamp)
> is secondes or convert timestamp to integer or float type (in any acceptable
> sense).
lockhart=# select date_part('epoch', timestamp 'today' - timestamp
'yesterday');
date_part
-----------
86400