Revert "Correct WAL space calculation formula in docs."
authorRobert Haas
Thu, 28 Oct 2010 01:24:02 +0000 (21:24 -0400)
committerRobert Haas
Thu, 28 Oct 2010 01:24:02 +0000 (21:24 -0400)
This reverts commit 915116bc62db2aaec7001bde6610128f4cbd29f9.

Per discussion, the previous formula was in fact correct.

http://archives.postgresql.org/pgsql-docs/2010-10/msg00038.php

doc/src/sgml/wal.sgml

index e7980b386e9920b3c24e018c8683cb8c5b8e245d..faac54530d9fc9420d9bbd36f4a240e1ac1c4b37 100644 (file)
 
   
    There will always be at least one WAL segment file, and will normally
-   not be more files than the higher of  or
-   (2 + checkpoint_completion_target) * checkpoint_segments + 1.
-   Each segment file is normally 16 MB (though this size can be
+   not be more than (2 + checkpoint_completion_target) * checkpoint_segments + 1
+   or checkpoint_segments +  + 1
+   files.  Each segment file is normally 16 MB (though this size can be
    altered when building the server).  You can use this to estimate space
    requirements for WAL.
    Ordinarily, when old log segment files are no longer needed, they