Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1abrz0-0004gO-CB for pgsql-bugs@arkaria.postgresql.org; Fri, 04 Mar 2016 15:49:38 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1abryz-0002yL-Ul for pgsql-bugs@arkaria.postgresql.org; Fri, 04 Mar 2016 15:49:37 +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) (envelope-from ) id 1abryN-0002Gv-M4 for pgsql-bugs@postgresql.org; Fri, 04 Mar 2016 15:48:59 +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) (envelope-from ) id 1abryL-0004mc-36 for pgsql-bugs@postgresql.org; Fri, 04 Mar 2016 15:48:59 +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 u24Fmrhw006323; Fri, 4 Mar 2016 10:48:53 -0500 From: Tom Lane To: rsimeon@ebms.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #13999: pg_upgrade failing with FATAL: unrecognized configuration parameter "unix_socket_directory" In-reply-to: <20160303233859.17924.40855@wrigleys.postgresql.org> References: <20160303233859.17924.40855@wrigleys.postgresql.org> Comments: In-reply-to rsimeon@ebms.com message dated "Thu, 03 Mar 2016 23:38:59 +0000" Date: Fri, 04 Mar 2016 10:48:53 -0500 Message-ID: <6322.1457106533@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-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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