How to insert unix epoch to PG timestamp field

INSERT INTO foo_table (ts) VALUES (to_timestamp(1508977150.176))

你可能感兴趣的:(How to insert unix epoch to PG timestamp field)