select extract(epoch from now())::bigint;
date_part
------------
1162822549
(1 ligne)
Pour convertir d'un timestamp Unix vers un timestamp PostgreSQL :
select to_timestamp(1162822549);
to_timestamp
------------------------
2006-11-06 15:15:49+01
(1 ligne)
-- \\
Jean-Paul Argudo le 06/11/2006