On Thu, 2010-10-14 at 12:00 +0900, Fujii Masao wrote:
> ----------------
> 29.4. WAL Configuration
> 
> There will always be at least one WAL segment file, and will normally not
> be more than (2 + checkpoint_completion_target) * checkpoint_segments + 1
> or checkpoint_segments + wal_keep_segments + 1 files.
> ----------------
> 
> The above formula is wrong. The correct is
> 
>     (2 + checkpoint_completion_target) * checkpoint_segments +
> wal_keep_segments + 1
> 
> The attached patch fixes this fault.

The current docs are wrong, but your re-definition doesn't match the
actual code in CreateCheckPoint(). 

I've updated the docs to reflect how the code behaves.

-- 
 Simon Riggs           www.2ndQuadrant.com
 PostgreSQL Development, 24x7 Support, Training and Services


-- 
Sent via pgsql-docs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs

Reply via email to