pg_conversion

The pg_conversion catalog describes encoding conversion functions.

Column name Data type Description
oid oid A row identifier.
conname name The name of the conversion, unique within a namespace.
connamespace oid (references pg_namespace.oid) The OID of a namespace that contains this conversion.
conowner oid (references pg_authid.oid) The OID of a conversion owner.
conforencoding int4 (references pg_encoding) The source encoding ID; use pg_encoding_to_char() to get the encoding name.
contoencoding int4 (references pg_encoding) The destination encoding ID; use pg_encoding_to_char() to get the encoding name.
conproc regproc (references pg_proc.oid) The OID of the conversion function.
condefault bool Specifies whether this is a default conversion (TRUE) or not (FALSE).