Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fkV4a-0008TX-M7 for pgsql-general@arkaria.postgresql.org; Tue, 31 Jul 2018 13:52:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fkV4W-0002nT-F0 for pgsql-general@arkaria.postgresql.org; Tue, 31 Jul 2018 13:52:20 +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.89) (envelope-from ) id 1fkV4W-0002nM-3O for pgsql-general@lists.postgresql.org; Tue, 31 Jul 2018 13:52:20 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fkV4T-0007m6-9u for pgsql-general@postgresql.org; Tue, 31 Jul 2018 13:52:18 +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 w6VDptm0007210; Tue, 31 Jul 2018 09:51:55 -0400 From: Tom Lane To: "Lu, Dan" cc: "David G. Johnston" , "Alvaro Aguayo Garcia-Rada" , "pgsql-general@postgresql.org" Subject: Re: Question on postgresql.conf In-reply-to: <873ebcfde31c4aa5ad71bd2f8225a311@msx.bala.susq.com> References: <364bc889f8634b5a811a603a3ff725df@msx.bala.susq.com> <1725191888.48995.1533013367672.JavaMail.zimbra@adriana.opensysperu.com> <873ebcfde31c4aa5ad71bd2f8225a311@msx.bala.susq.com> Comments: In-reply-to "Lu, Dan" message dated "Tue, 31 Jul 2018 11:27:36 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <7208.1533045115.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 31 Jul 2018 09:51:55 -0400 Message-ID: <7209.1533045115@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk "Lu, Dan" writes: > Say, I want to put the config file on a share drive so all my postgres c= onfiguration file can be seen in one location. > /nfs/global/postgres-.cnf What I'd do is make each data directory's postgresql.conf contain just this: include /nfs/global/postgres-.cnf and then just start the postmaster without any weird switches. In this way you will avoid breaking PG-specific tools that expect to find the config file at its standard location. regards, tom lane