The following tables show the PostgreSQL datatype support for source and target.
Connect CDC supports data movement to the majority of datatypes in the PostgreSQL platform. The PostgreSQL datatypes together with their possible source datatypes for each database platform are shown in the tables below.
PostgreSQL Unicode datatypes, such as NCHAR, NVARCHAR and NTEXT, are only supported if the underlying database is installed with UTF8 encoding. Connect CDC does not support CLOB and BLOB PostgreSQL datatypes. However, large objects from source platforms can be mapped to the BYTEA, TEXT and NTEXT datatypes. The load option in Copy and Synchronization requests cannot be used with large objects.
PostgreSQL Source Datatype |
Supported Targets |
---|---|
BIGINT |
Db2 (includes IBM i and UDB)
|
MS SQL Server
|
|
Oracle
|
|
All platforms
if L <= 18, Connect CDC Director warns. *Oracle recommends VARCHAR2. |
PostgreSQL Target-only Datatype |
Supported Sources |
---|---|
BOOLEAN |
MS SQL Server
|
PostgreSQL Source Datatype |
Supported Targets |
---|---|
BYTEA |
Db2 (includes IBM i)
|
MS SQL Server
|
|
Oracle
|
PostgreSQL Source Datatype |
Supported Targets |
---|---|
CHAR |
Db2 (includes IBM i and UDB)
|
MS SQL Server
|
|
Oracle
|
PostgreSQL Source Datatype |
Supported Targets |
---|---|
DATE |
Db2 (includes IBM i and UDB)
|
MS SQL Server
|
|
Oracle
|
PostgreSQL Source Datatype |
Supported Targets |
---|---|
DECIMAL |
Db2 (includes IBM i and UDB)
|
MS SQL Server
|
|
Oracle
|
PostgreSQL Source Datatype |
Supported Targets |
---|---|
DOUBLE PRECISION |
Db2 (includes IBM i and UDB)
|
MS SQL Server
|
|
Oracle
|
PostgreSQL Source Datatype |
Supported Targets |
---|---|
INTEGER |
Db2 (includes IBM i and UDB)
|
MS SQL Server
|
|
Oracle
|
PostgreSQL Source Datatype |
Supported Targets |
---|---|
MONEY |
Db2 (includes IBM i and UDB)
|
MS SQL Server
|
|
Oracle
|
PostgreSQL Source Datatype |
Supported Targets |
---|---|
NUMERIC |
|
PostgreSQL Source Datatype |
Supported Targets |
---|---|
REAL |
Db2 (includes IBM i and UDB)
|
MS SQL Server
|
|
Oracle
|
PostgreSQL Source Datatype |
Supported Targets |
---|---|
SMALLINT |
Db2 (includes IBM i and UDB)
|
MS SQL Server
|
|
Oracle
|
PostgreSQL Source Datatype |
Supported Targets |
---|---|
TEXT |
MS SQL Server
|
PostgreSQL Source Datatype |
Supported Targets |
---|---|
TIME |
Db2 (includes IBM i and UDB)
|
MS SQL Server
|
|
Oracle
|
PostgreSQL Source Datatype |
Supported Targets |
---|---|
TIMESTAMP |
Db2 (includes IBM i and UDB)
|
MS SQL Server
|
|
Oracle
|
PostgreSQL Source Datatype |
Supported Targets |
---|---|
VARCHAR |
|