Skip to content

Commit

Permalink
DBZ-7565 Align PostgreSQL hstore.handling.mode default values
Browse files Browse the repository at this point in the history
  • Loading branch information
Naros committed Feb 28, 2024
1 parent 1f96290 commit 5a1a59b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions documentation/modules/ROOT/pages/connectors/postgresql.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1802,7 +1802,8 @@ PostgreSQL supports `NaN` (not a number) as a special value to be stored in `DEC

The setting of the PostgreSQL connector configuration property xref:postgresql-property-hstore-handling-mode[`hstore.handling.mode`] determines how the connector maps `HSTORE` values.

When the `dhstore.handling.mode` property is set to `json` (the default), the connector represents `HSTORE` values as string representations of JSON values and encodes them as shown in the following table. When the `hstore.handling.mode` property is set to `map`, the connector uses the `MAP` schema type for `HSTORE` values.
When the `hstore.handling.mode` property is set to `json` (the default), the connector represents `HSTORE` values as string representations of JSON values and encodes them as shown in the following table.
When the `hstore.handling.mode` property is set to `map`, the connector uses the `MAP` schema type for `HSTORE` values.

.Mappings for `HSTORE` data type
[cols="25%a,20%a,55%a",options="header"]
Expand Down Expand Up @@ -2975,7 +2976,7 @@ For more information, see xref:postgresql-temporal-types[temporal values].
For more information, see xref:postgresql-decimal-types[Decimal types].

|[[postgresql-property-hstore-handling-mode]]<<postgresql-property-hstore-handling-mode, `+hstore.handling.mode+`>>
|`map`
|`json`
| Specifies how the connector should handle values for `hstore` columns: +
+
`map` represents values by using `MAP`. +
Expand Down

0 comments on commit 5a1a59b

Please sign in to comment.