diff --git a/docs/user/postgis/index_config.rst b/docs/user/postgis/index_config.rst index a862b0dfa44..fd25ff2fa7e 100644 --- a/docs/user/postgis/index_config.rst +++ b/docs/user/postgis/index_config.rst @@ -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 \ No newline at end of file diff --git a/geomesa-gt/geomesa-gt-partitioning/src/main/scala/org/locationtech/geomesa/gt/partition/postgis/dialect/PartitionedPostgisDialect.scala b/geomesa-gt/geomesa-gt-partitioning/src/main/scala/org/locationtech/geomesa/gt/partition/postgis/dialect/PartitionedPostgisDialect.scala index 0cac523e4d6..631c2f83f87 100644 --- a/geomesa-gt/geomesa-gt-partitioning/src/main/scala/org/locationtech/geomesa/gt/partition/postgis/dialect/PartitionedPostgisDialect.scala +++ b/geomesa-gt/geomesa-gt-partitioning/src/main/scala/org/locationtech/geomesa/gt/partition/postgis/dialect/PartitionedPostgisDialect.scala @@ -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)