--
-- timestamp_cmp/2
--
create or replace function timestamp_cmp(
  timestamp without time zone,
  timestamp without time zone
) returns int4 as $$
timestamp_cmp$$ language plpgsql;