PostgreSQL extension dealing with Time Objects and Functions