Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TCKD4-0007AQ-AZ for pgsql-admin@postgresql.org; Fri, 14 Sep 2012 00:56:42 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TCKCz-0003id-TR for pgsql-admin@postgresql.org; Fri, 14 Sep 2012 00:56:41 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1TCKCx-0001oB-2G; Thu, 13 Sep 2012 20:56:35 -0400 Date: Thu, 13 Sep 2012 20:56:35 -0400 From: Bruce Momjian To: Kevin Grittner Cc: pgsql-admin@postgresql.org, radovan.jablonovsky@replicon.com Subject: Re: what is maximum allowed value of autovacuum_freeze_max_age Message-ID: <20120914005635.GA28254@momjian.us> References: <50510912020000250004A2F9@gw.wicourts.gov> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50510912020000250004A2F9@gw.wicourts.gov> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -2.4 (--) X-Archive-Number: 201209/77 X-Sequence-Number: 40018 On Wed, Sep 12, 2012 at 10:13:38PM -0500, Kevin Grittner wrote: > Radovan Jablonovsky wrote: > > > In documentation > > http://www.postgresql.org/docs/9.1/static/routine-vacuuming.html > > is this information about autovacuum_freeze_max_age: "if > > autovacuum_freeze_max_age is set to its maximum allowed value of a > > little less than two billion". What is exact maximum allowed value > > of autovacuum_freeze_max_age? > > test=# select name, setting, min_val, max_val > test-# from pg_settings where name = 'autovacuum_freeze_max_age'; > name | setting | min_val | max_val > ---------------------------+-----------+-----------+------------ > autovacuum_freeze_max_age | 200000000 | 100000000 | 2000000000 > (1 row) > > Perhaps we should drop "a little less than" from the docs. Agreed. My guess it they were really talking about the 2-billion that is a power of 2, but I think just saying 2 billlion is better. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +