Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wv45B-00059K-Kv for pgsql-docs@arkaria.postgresql.org; Thu, 12 Jun 2014 12:26:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wv45B-0006no-2z for pgsql-docs@arkaria.postgresql.org; Thu, 12 Jun 2014 12:26:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Wv45A-0006nh-Dw for pgsql-docs@postgresql.org; Thu, 12 Jun 2014 12:26:16 +0000 Received: from mail-pa0-x231.google.com ([2607:f8b0:400e:c03::231]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Wv456-0004ix-6T for pgsql-docs@postgresql.org; Thu, 12 Jun 2014 12:26:15 +0000 Received: by mail-pa0-f49.google.com with SMTP id lj1so957576pab.36 for ; Thu, 12 Jun 2014 05:26:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=EhRmBxth3IpplGdPtNIU5r5vdNNRqiwMc4aBv9F4H1E=; b=AbVXMtDB2p17qHbLgRvOK6F4TSLEgqJaX0to3Y66iGcRpjmja8oWnCqaqsUN5Fc07X wU7csniBej8nm4VxOPMjgWwmC4ME0atv5hUZFwxsIlNMa0o1ZxuF8PtOrBVbQJ+cZyZh rOrWAMSGhNyaiyh0O1xXCwLKxdxSyBW/M0kcsK+x/2PXVgyPY065YN7cfL/MCY9YWchU U721b82wYqwgo35GvlqDCP3uUvgrh9En8abDTqaXoajdmVooa232QUh4IakFhZ8KWrMe KJ1j4ywPmUimByfu+KSqtOvEozUi+5FVExKBzDFKIMyIRz+o6BBMEHUQlLxoJvIOhUJ3 vw9g== MIME-Version: 1.0 X-Received: by 10.68.213.97 with SMTP id nr1mr12056070pbc.52.1402575969138; Thu, 12 Jun 2014 05:26:09 -0700 (PDT) Received: by 10.70.41.138 with HTTP; Thu, 12 Jun 2014 05:26:09 -0700 (PDT) In-Reply-To: <53992FF8.2060702@po.ntts.co.jp> References: <53992FF8.2060702@po.ntts.co.jp> Date: Thu, 12 Jun 2014 21:26:09 +0900 Message-ID: Subject: Re: disabling log_rotation_age feature. From: Fujii Masao To: Tomonari Katsumata Cc: pgsql-docs Content-Type: text/plain; charset=UTF-8 X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org On Thu, Jun 12, 2014 at 1:43 PM, Tomonari Katsumata wrote: > Hi, > > I'm reading about log_rotation_age. > And I noticed that the setting for disabling the feature is not clear. > > > The document tells us to set it to ZERO if we want to disable the feature. > However, the feature would be disabled if we set it less than one minute. That's because log_rotation_age expects the setting value in minutes. This is not a problem only for log_rotation_age. When setting the parameter which expects the value in seconds to less than one second, the setting value is implicitly reset to the default. For example, postgres=# SHOW tcp_keepalives_idle ; tcp_keepalives_idle --------------------- 7200 (1 row) postgres=# SET tcp_keepalives_idle TO '10ms'; SET postgres=# SHOW tcp_keepalives_idle ; tcp_keepalives_idle --------------------- 7200 (1 row) postgres=# SET tcp_keepalives_idle TO '1024ms'; SET postgres=# SHOW tcp_keepalives_idle ; tcp_keepalives_idle --------------------- 1 (1 row) Regards, -- Fujii Masao -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs