pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: rsimeon@ebms.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #13999: pg_upgrade failing with FATAL: unrecognized configuration parameter "unix_socket_directory"
Date: Fri, 04 Mar 2016 10:48:53 -0500
Message-ID: <6322.1457106533@sss.pgh.pa.us> (raw)
In-Reply-To: <20160303233859.17924.40855@wrigleys.postgresql.org>
References: <20160303233859.17924.40855@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

rsimeon@ebms.com writes:
> When running pg_upgrade it appears that the call to the old pg_ctl binary
> has wrong parameters set. Can I upload a screenshot for you?

If it's complaining about "unix_socket_directory", the reason must be that
pg_upgrade is guessing wrong about whether the old server expects that
parameter to be named unix_socket_directory or unix_socket_directories.

Am I right in guessing that you are using Red Hat's packaging rather than
straight community sources?  In the community version, that parameter
change happened in 9.3, but I recall that Red Hat back-ported the
unix_socket_directories feature into an earlier version in order to have
a reasonable way of coping with SELinux restrictions.  So what this is
sounding like is that they need to carry a patch that adjusts pg_upgrade's
start_postmaster() function to have the right Red-Hat-specific cutoff
version for which way to spell the parameter.

In short, you need to file this issue with Red Hat not the PG community.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (2+ messages)

Message-ID: <6322.1457106533@sss.pgh.pa.us>
Permalink:  ../6322.1457106533@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6322.1457106533@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, rsimeon@ebms.com
  Subject: Re: BUG #13999: pg_upgrade failing with FATAL: unrecognized configuration parameter "unix_socket_directory"
  In-Reply-To: <6322.1457106533@sss.pgh.pa.us>
  References: <20160303233859.17924.40855@wrigleys.postgresql.org> <6322.1457106533@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