PostgreSQL :: UNIX EPOCH に変換

UNIX EPOCH に変換

SELECT EXTRACT(EPOCH FROM MIN(date_time)) FROM tablename;