Thread:Project:Support desk/Allowing PUA characters in wikimedia search/reply

Looking at the database, in this case a postgresql database, and the table pagecontent the field old_text is correct however textvector field does not include the pua characters. The function called is ts2_page_text:-

BEGIN IF TG_OP = 'INSERT' THEN NEW.textvector = to_tsvector(NEW.old_text); ELSIF NEW.old_text != OLD.old_text THEN NEW.textvector := to_tsvector(NEW.old_text); END IF; RETURN NEW; END; so in some way to_tsvector excludes pua characters. How does one change to_tsvector?