CREATE [ DEFAULT ] CONVERSION name FOR source_encoding TO dest_encoding FROM function_name
CREATE CONVERSION myconv FOR 'UTF8' TO 'LATIN1' FROM myfunc;