pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Scott Whitney <scott@journyx.com>
Cc: Poul Kristensen <bcc5226@gmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: /var/run/postgresql/.s.PGSQL.5432 should be 5433
Date: Tue, 27 Sep 2016 12:08:29 -0400
Message-ID: <12760.1474992509@sss.pgh.pa.us> (raw)
In-Reply-To: <20160927145100.GA306029@alvherre.pgsql>
References: <20160927145100.GA306029@alvherre.pgsql>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

Alvaro Herrera <alvherre@2ndquadrant.com> 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



view thread (9+ messages)  latest in thread

Message-ID: <12760.1474992509@sss.pgh.pa.us>
Permalink:  ../12760.1474992509@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12760.1474992509@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, scott@journyx.com, bcc5226@gmail.com
  Subject: Re: /var/run/postgresql/.s.PGSQL.5432 should be 5433
  In-Reply-To: <12760.1474992509@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox