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