Skip to content

Commit b969cba

Browse files
committed
Fix comment
1 parent 5755e53 commit b969cba

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

articles/data-factory/connector-postgresql.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ If you were using `RelationalSource` typed source, it is still supported as-is,
253253

254254
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.
255255

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) |
257257
|:---|:---|:---|
258258
|`SmallInt`|`Int16`|`Int16`|
259259
|`Integer`|`Int32`|`Int32`|
@@ -319,11 +319,15 @@ Here are steps that help you upgrade your PostgreSQL linked service:
319319

320320
## Differences between PostgreSQL and PostgreSQL (legacy)
321321

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).
323323

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|
327331

328332
## Related content
329333
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

Comments
 (0)