PostgreSQL to Azure Synapse mapping
AutoSync maps PostgreSQL object types to the following Azure Synapse column types:
PostgreSQL object type | Azure Synapse column type |
---|---|
serial |
smallint |
bigserial |
int |
int2 |
smallint |
int4 |
int |
int8 |
bigint |
numeric |
decimal |
numeric_without_prec_scale |
varchar |
float4 |
real |
float8 |
float |
money |
float |
bytea |
varchar |
varchar |
varchar |
bpchar |
varchar |
text |
varchar |
cidr |
varchar |
inet |
varchar |
macaddr |
varchar |
macaddr8 |
varchar |
bit |
varchar |
uuid |
varchar |
xml |
varchar |
json |
varchar |
jsonb |
varchar |
tsvector |
varchar |
tsquery |
varchar |
timestamp |
datetime |
timestamptz |
datetime |
date |
date |
time |
time |
timetz |
time |
interval |
varchar |
point |
varchar |
line |
varchar |
lseg |
varchar |
box |
varchar |
path |
varchar |
polygon |
varchar |
circle |
varchar |
geometry |
varchar |
array |
varchar |
composite |
varchar |
range |
varchar |
oid |
bigint |
pg_lsn |
varchar |
bool |
bit |
char |
char |
name |
varchar |
sl_timestamp |
datetimeoffset |