PostgreSQL as a Temporal Database