Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bouxc-00038R-Nh for pgsql-admin@arkaria.postgresql.org; Tue, 27 Sep 2016 16:10:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bouxb-0004ZE-PC for pgsql-admin@arkaria.postgresql.org; Tue, 27 Sep 2016 16:10:23 +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 1bouvv-0002I5-Ot for pgsql-admin@postgresql.org; Tue, 27 Sep 2016 16:08:39 +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 1bouvt-00045R-7x for pgsql-admin@postgresql.org; Tue, 27 Sep 2016 16:08:39 +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 u8RG8TUR012761; Tue, 27 Sep 2016 12:08:29 -0400 From: Tom Lane To: Alvaro Herrera cc: Scott Whitney , Poul Kristensen , "pgsql-admin@postgresql.org" Subject: Re: /var/run/postgresql/.s.PGSQL.5432 should be 5433 In-reply-to: <20160927145100.GA306029@alvherre.pgsql> References: <20160927145100.GA306029@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Tue, 27 Sep 2016 11:51:00 -0300" Date: Tue, 27 Sep 2016 12:08:29 -0400 Message-ID: <12760.1474992509@sss.pgh.pa.us> X-Pg-Spam-Score: -4.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 Alvaro Herrera writes: > your suggested procedure seems sound ... in a pre-systemd world. I am > not familiar with systemd enough to know what, if anything, should be > done differently there (I don't know whether RHEL 7.2 is systemd or > not). RHEL7 is systemd. It's been several years since I touched those packages, but I have some vague recollection that the systemd unit files for PG insist on setting the port for themselves, overriding whatever you might put into postgresql.conf. So you'd need to make a second unit file and adjust the port setting in it. 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