top of page
CerebroSQL

PostgreSQL:  

CREATE CONVERSION

CREATE [ DEFAULT ] CONVERSION name
FOR source_encoding TO dest_encoding FROM function_name

Example

CREATE CONVERSION myconv FOR 'UTF8' TO 'LATIN1' FROM myfunc;

bottom of page