> CREATE OR REPLACE FUNCTION alias(> v_mask alias.mask%TYPE,> ) RETURNS INT8 AS
Sorry my mistake it should be:
CREATE TABLE alias ( alias_id BIGSERIAL PRIMARY KEY, mask VARCHAR(20) NOT NULL DEFAULT '',);