Skip to content

Commit

Permalink
GEOMESA-3423 - change property key
Browse files Browse the repository at this point in the history
  • Loading branch information
autodidacticon committed Dec 10, 2024
1 parent f83dfe3 commit 8784b23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/user/postgis/index_config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ Configuring WAL logging
PostgreSQL uses a write-ahead log (WAL) to ensure data consistency and durability. By default, the WAL is written
for all changes to the database, including the partitioned tables. Disabling the WAL for the partitioned tables
can significantly improve write performance, but at the cost of data durability. If increased performance is desired,
the WAL can be disabled for the partitioned tables by setting the key ``pg.wal.log.enabled`` to ``false``.
the WAL can be disabled for the partitioned tables by setting the key ``pg.wal.enabled`` to ``false``.

See the `PostgreSQL documentation`_ for more information on the implications of disabling the WAL.
.. _PostgreSQL documentation: https://www.postgresql.org/docs/current/sql-createtable.html#SQL-CREATETABLE-UNLOGGED
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ object PartitionedPostgisDialect {
val MainTableSpace = "pg.partitions.tablespace.main"

// set postgres table wal logging
val WalLogEnabled = "pg.wal.log.enabled"
val WalLogEnabled = "pg.wal.enabled"

implicit class ConfigConversions(val sft: SimpleFeatureType) extends AnyVal {
def getIntervalHours: Int = Option(sft.getUserData.get(IntervalHours)).map(int).getOrElse(6)
Expand Down

0 comments on commit 8784b23

Please sign in to comment.