You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/data-factory/connector-postgresql.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -253,7 +253,7 @@ If you were using `RelationalSource` typed source, it is still supported as-is,
253
253
254
254
When copying data from PostgreSQL, the following mappings are used from PostgreSQL data types to interim data types used by the service internally. See [Schema and data type mappings](copy-activity-schema-and-type-mapping.md) to learn about how copy activity maps the source schema and data type to the sink.
255
255
256
-
|PostgreSql data type | Interim service data type | Interim service data type (for the legacy driver version) |
256
+
|PostgreSql data type | Interim service data type | Interim service data type for PostgreSQL (legacy) |
257
257
|:---|:---|:---|
258
258
|`SmallInt`|`Int16`|`Int16`|
259
259
|`Integer`|`Int32`|`Int32`|
@@ -319,11 +319,15 @@ Here are steps that help you upgrade your PostgreSQL linked service:
319
319
320
320
## Differences between PostgreSQL and PostgreSQL (legacy)
321
321
322
-
The PostgreSQL connector offers new functionalities and is compatible with most features of PostgreSQL (legacy) connector. The table below shows the feature differences between PostgreSQL and PostgreSQL (legacy).
322
+
The table below shows the data type mapping differences between PostgreSQL and PostgreSQL (legacy).
323
323
324
-
|PostgreSQL |PostgreSQL (legacy)|
325
-
|:---|:---|
326
-
|The following mappings are used from PostgreSQL data types to interim data types used by the service internally.<br><br>Money -> Decimal<br>Timestamp with time zone -> DateTime<br>Time with time zone -> DateTimeOffset<br>Interval -> TimeSpan<br>The BigDecimal type is not supported. As an alternative, utilize `to_char()` function to convert BigDecimal to String. |The following mappings are used from PostgreSQL data types to interim data types used by the service internally.<br><br>Money -> String<br>Timestamp with time zone -> String<br>Time with time zone -> String<br>Interval -> String<br>BigDecimal -> String|
324
+
|PostgreSQL data type|Interim service data type for PostgreSQL|Interim service data type for PostgreSQL (legacy)|
325
+
|:---|:---|:---|
326
+
|Money|Decimal|String|
327
+
|Timestamp with time zone |DateTime|String|
328
+
|Time with time zone |DateTimeOffset|String|
329
+
|Interval | TimeSpan|String|
330
+
|BigDecimal|Not supported. As an alternative, utilize `to_char()` function to convert BigDecimal to String.|String|
327
331
328
332
## Related content
329
333
For a list of data stores supported as sources and sinks by the copy activity, see [supported data stores](copy-activity-overview.md#supported-data-stores-and-formats).
0 commit comments