--
-- timezone__delete/1
--
create or replace function timezone__delete(
  p_tz_id integer
) returns int4 as $$

DECLARE
BEGIN
  delete from timezone_rules where tz_id = p_tz_id;
  delete from timezones      where tz_id = p_tz_id;
  return 0;
END;
$$ language plpgsql;