postgresql_16:7.1.90.2 Parameters
PostgreSQL 16 > Reference > SQL Commands > CREATE TRANSFORM > Parameters
*type_name*
The name of the data type of the transform.
*lang_name*
The name of the language of the transform.
***from_sql_function_name*[(*argument_type* [, ...])]**
The name of the function for converting the type from the SQL environment to the language. It must take one argument of type internal and return type internal. The actual argument will be of the type for the transform, and the function should be coded as if it were. (But it is not allowed to declare an SQL-level function returning internal without at least one argument of type internal.) The actual return value will be something specific to the language implementation. If no argument list is specified, the function name must be unique in its schema.
***to_sql_function_name*[(*argument_type* [, ...])]**
The name of the function for converting the type from the language to the SQL environment. It must take one argument of type internal and return the type that is the type for the transform. The actual argument value will be something specific to the language implementation. If no argument list is specified, the function name must be unique in its schema.