Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cv2RV-0006GS-19 for pgsql-admin@arkaria.postgresql.org; Mon, 03 Apr 2017 13:54:49 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cv2RU-0007MI-Gq for pgsql-admin@arkaria.postgresql.org; Mon, 03 Apr 2017 13:54:48 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cv2Ph-0002dD-UX for pgsql-admin@postgresql.org; Mon, 03 Apr 2017 13:52:57 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cv2Pf-0000aZ-Jd for pgsql-admin@postgresql.org; Mon, 03 Apr 2017 13:52:57 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v33DqqSZ011711; Mon, 3 Apr 2017 09:52:52 -0400 From: Tom Lane To: Poul Kristensen cc: pgsql-admin Subject: Re: data_directory: remove from process view like ps In-reply-to: References: Comments: In-reply-to Poul Kristensen message dated "Mon, 03 Apr 2017 14:57:49 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <11709.1491227572.1@sss.pgh.pa.us> Date: Mon, 03 Apr 2017 09:52:52 -0400 Message-ID: <11710.1491227572@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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 Poul Kristensen writes: > One off my Postgres installations shows no data directory in the ps. > I think it is a good thing, but can't see any difference in the > postgresql.conf in the name data_directory in pg_settings when comparing to > other Postgres installations. Postgres itself wouldn't ever take any action to show (or hide) that information in "ps" output. I suppose that some of your postmasters were started with an explicit -D switch on their command line and some were not, and that that is the cause of the difference you're seeing. regards, tom lane -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin