CREATE CONVERSION(7) SQL Commands CREATE CONVERSION(7) NAME CREATE CONVERSION - SYNOPSIS CREATE [DEFAULT] CONVERSION name FOR source_encoding TO dest_encoding FROM funcname DESCRIPTION CREATE CONVERSION convert DEFAULT A B B A EXECUTECREATE PARAMETERS DEFAULT DEFAULT name source_encoding dest_encoding funcname conv_proc( integer, -- ID integer, -- ID cstring, -- C cstring, -- C integer -- ) RETURNS void; NOTES DROP CONVERSION EXAMPLES myfunc UNICODE LATIN1 CREATE CONVERSION myconv FOR 'UNICODE' TO 'LATIN1' FROM myfunc; COMPATIBILITY CREATE CONVERSION PostgreSQL SQL CREATE CONVERSION SEE ALSO ALTER CONVERSION [alter_conversion(7)], CREATE FUNCTION [create_function(l)], DROP CONVERSION [drop_conversion(l)] Postgresql man man https://github.com/man-pages-zh/manpages- zh SQL - Language Statements 2003-11-02 CREATE CONVERSION(7)