Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cz5DK-0005I2-IR for pgsql-admin@arkaria.postgresql.org; Fri, 14 Apr 2017 17:40:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cz5DK-0005do-19 for pgsql-admin@arkaria.postgresql.org; Fri, 14 Apr 2017 17:40:54 +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 1cz5DJ-0005dG-Ah for pgsql-admin@postgresql.org; Fri, 14 Apr 2017 17:40:53 +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 1cz5DC-0004Fw-PT for pgsql-admin@postgresql.org; Fri, 14 Apr 2017 17:40:52 +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 v3EHef84008474; Fri, 14 Apr 2017 13:40:41 -0400 From: Tom Lane To: Santiago DIEZ cc: "David G. Johnston" , Andres Freund , PostgreSQL LIST Subject: Re: Change Unix Socket directory at build time In-reply-to: References: <20170414162129.mirqxh3atafs54fi@alap3.anarazel.de> Comments: In-reply-to Santiago DIEZ message dated "Fri, 14 Apr 2017 19:12:23 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <8472.1492191641.1@sss.pgh.pa.us> Date: Fri, 14 Apr 2017 13:40:41 -0400 Message-ID: <8473.1492191641@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 Santiago DIEZ writes: > no no, if I set -t to 60 seconds (or even 1000), it's the same problem. David's right though: any reasonably modern version of pg_ctl (since about 9.1 I believe) gets everything it needs to know out of the postmaster.pid file. Compiling in a different default unix_socket_directory might save some effort when using psql or other clients, but it should make no difference to pg_ctl. It might be useful to strace pg_ctl to see what it's doing in the problem case. 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