Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dP7th-0006Yi-VP for pgsql-admin@arkaria.postgresql.org; Sun, 25 Jun 2017 13:48:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dP7th-0001kV-63 for pgsql-admin@arkaria.postgresql.org; Sun, 25 Jun 2017 13:48:17 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dP7ru-0006nh-EF for pgsql-admin@postgresql.org; Sun, 25 Jun 2017 13:46:26 +0000 Received: from mailout.easymail.ca ([64.68.200.34]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dP7rn-0008Gl-3f for pgsql-admin@postgresql.org; Sun, 25 Jun 2017 13:46:25 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 6AC66C58FE; Sun, 25 Jun 2017 13:46:17 +0000 (UTC) Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo01-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lsRyLvUcU7jF; Sun, 25 Jun 2017 13:46:17 +0000 (UTC) Received: from shr-mbp-2.local (unknown [8.39.228.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 57DE7C58F9; Sun, 25 Jun 2017 13:46:14 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: pg9.6 - maintenance_work_mem is disabled in postgresql.conf by running a select query for pg_settings returns it is enabled From: scott ribe In-Reply-To: <1498377186127-5968586.post@n3.nabble.com> Date: Sun, 25 Jun 2017 07:46:13 -0600 Cc: pgsql-admin@postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <2AE3B8AD-3E5E-4E8C-8BB6-84C887437699@elevated-dev.com> References: <1498377186127-5968586.post@n3.nabble.com> To: rajan X-Mailer: Apple Mail (2.3273) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Lines in postgresql.conf being commented out doesn't mean things are disabl= ed, it means the default value is not overridden. > On Jun 25, 2017, at 1:53 AM, rajan wrote: >=20 > Hi, >=20 > maintenance_work_mem is commented in postgresql.conf=20 >=20 > #maintenance_work_mem =3D 64MB >=20 > but the following query, >=20 > select * from pg_settings where name =3D 'maintenance_work_mem'; >=20 > returns the following. Does it means it is enabled? >=20 > name | maintenance_work_mem > setting | 65536 > unit | kB > category | Resource Usage / Memory > short_desc | Sets the maximum memory to be used for maintenance > operations. > extra_desc | This includes operations such as VACUUM and CREATE INDE= X. > context | user > vartype | integer > source | default > min_val | 1024 > max_val | 2147483647 > enumvals | > boot_val | 65536 > reset_val | 65536 > sourcefile | > sourceline | > pending_restart | f -- Scott Ribe scott_ribe@elevated-dev.com (303) 722-0567 --=20 Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin