From bf4a8676c316c177f395b54d3305ea4ccc838a66 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sun, 25 Mar 2018 14:58:49 -0400 Subject: pg_resetwal: Allow users to change the WAL segment size This adds a new option --wal-segsize (analogous to initdb) that changes the WAL segment size in pg_control. Author: Nathan Bossart --- doc/src/sgml/ref/pg_resetwal.sgml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/pg_resetwal.sgml b/doc/src/sgml/ref/pg_resetwal.sgml index 5e2e3086a6e..3f885bdd620 100644 --- a/doc/src/sgml/ref/pg_resetwal.sgml +++ b/doc/src/sgml/ref/pg_resetwal.sgml @@ -275,6 +275,28 @@ PostgreSQL documentation + + + + + Set the new WAL segment size, in megabytes. The value must be set to a + power of 2 between 1 and 1024 (megabytes). See the same option of for more information. + + + + + While pg_resetwal will set the WAL starting address + beyond the latest existing WAL segment file, some segment size changes + can cause previous WAL file names to be reused. It is recommended to + use together with this option to manually set the + WAL starting address if WAL file name overlap will cause problems with + your archiving strategy. + + + + + -- cgit v1.2.3