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