Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WXq9D-0003Ge-LL for pgsql-bugs@arkaria.postgresql.org; Wed, 09 Apr 2014 10:54:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WXq9C-0005G0-Sz for pgsql-bugs@arkaria.postgresql.org; Wed, 09 Apr 2014 10:54:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WXq9B-0005Ft-VJ for pgsql-bugs@postgresql.org; Wed, 09 Apr 2014 10:54:26 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WXq99-0005vu-0M for pgsql-bugs@postgresql.org; Wed, 09 Apr 2014 10:54:25 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1WXq97-0007bT-IB; Wed, 09 Apr 2014 06:54:21 -0400 Date: Wed, 9 Apr 2014 06:54:21 -0400 From: Bruce Momjian To: Pavel Stehule Cc: "pgsql-bugs@postgresql.org" Subject: Re: cannot to set track_activity_query_size in kB Message-ID: <20140409105421.GN8685@momjian.us> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -2.2 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Wed, Apr 9, 2014 at 11:25:23AM +0200, Pavel Stehule wrote: > Hello > > I got a message > > LOG:  invalid value for parameter "track_activity_query_size": "64kB" > FATAL:  configuration file "/usr/local/pgsql/data/postgresql.conf" contains > errors > > for > > track_activity_query_size = 64kB I looked into this and the cause is that we don't have any _bytes_ GUC unit setting, we only have 3: #define GUC_UNIT_KB 0x0400 /* value is in kilobytes */ #define GUC_UNIT_BLOCKS 0x0800 /* value is in blocks */ #define GUC_UNIT_XBLOCKS 0x0C00 /* value is in xlog blocks */ #define GUC_UNIT_MEMORY 0x0C00 /* mask for KB, BLOCKS, XBLOCKS */ Should I add a _bytes_ setting so this works, or just add a C comment that it doesn't? -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs