catalog-pg-conversion.md 1.7 KB
Newer Older
K
KyleZhang 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
## 52.14. `pg_conversion`

[]()

 The catalog `pg_conversion` describes encoding conversion functions. See [CREATE CONVERSION](sql-createconversion.html) for more information.

**Table 52.14. `pg_conversion` Columns**

|                                                          Column Type<br/><br/> Description                                                         |
|----------------------------------------------------------------------------------------------------------------------------------------------------|
|                                                        `oid` `oid`<br/><br/> Row identifier                                                        |
|                                       `conname` `name`<br/><br/> Conversion name (unique within a namespace)                                       |
|`connamespace` `oid` (references [`pg_namespace`](catalog-pg-namespace.html).`oid`)<br/><br/> The OID of the namespace that contains this conversion|
|                    `conowner` `oid` (references [`pg_authid`](catalog-pg-authid.html).`oid`)<br/><br/> Owner of the conversion                     |
|                                                `conforencoding` `int4`<br/><br/> Source encoding ID                                                |
|                                              `contoencoding` `int4`<br/><br/> Destination encoding ID                                              |
|                       `conproc` `regproc` (references [`pg_proc`](catalog-pg-proc.html).`oid`)<br/><br/> Conversion function                       |
|                                        `condefault` `bool`<br/><br/> True if this is the default conversion                                        |