-- -- tidne/2 -- create or replace function tidne( tid, tid ) returns bool as $$ tidne$$ language plpgsql;