--
-- ascii/1
--
create or replace function ascii(
  text
) returns int4 as $$
ascii$$ language plpgsql;