| --- |
| title: pg_conversion |
| --- |
| |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| The `pg_conversion` system catalog table describes the available encoding conversion procedures as defined by `CREATE CONVERSION`. |
| |
| <a id="topic1__gi143898"></a> |
| <span class="tablecap">Table 1. pg\_catalog.pg\_conversion</span> |
| |
| | column | type | references | description | |
| |------------------|---------|-------------------|------------------------------------------------------------------| |
| | `conname` | name | | Conversion name (unique within a namespace). | |
| | `connamespace` | oid | pg\_namespace.oid | The OID of the namespace (schema) that contains this conversion. | |
| | `conowner` | oid | pg\_authid.oid | Owner of the conversion. | |
| | `conforencoding` | integer | | Source encoding ID. | |
| | `contoencoding` | integer | | Destination encoding ID. | |
| | `conproc` | regproc | pg\_proc.oid | Conversion procedure. | |
| | `condefault` | boolean | | True if this is the default conversion. | |
| |
| |
| |
| |