Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aROiF-0006Kg-3h for pgsql-bugs@arkaria.postgresql.org; Thu, 04 Feb 2016 18:33:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aROiE-00058U-H1 for pgsql-bugs@arkaria.postgresql.org; Thu, 04 Feb 2016 18:33:02 +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 1aROhc-0004Ov-95 for pgsql-bugs@postgresql.org; Thu, 04 Feb 2016 18:32:24 +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 1aROhZ-0001P5-DX for pgsql-bugs@postgresql.org; Thu, 04 Feb 2016 18:32:23 +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 u14IWCkd024394; Thu, 4 Feb 2016 13:32:12 -0500 From: Tom Lane To: John R Pierce cc: pgsql-bugs@postgresql.org Subject: Re: BUG #13911: pg_upgrade from 8.4 to 9.5 broken In-reply-to: <56B39404.1070702@hogranch.com> References: <20160204030603.2782.10257@wrigleys.postgresql.org> <22861.1454609035@sss.pgh.pa.us> <56B39404.1070702@hogranch.com> Comments: In-reply-to John R Pierce message dated "Thu, 04 Feb 2016 10:10:12 -0800" Date: Thu, 04 Feb 2016 13:32:12 -0500 Message-ID: <24393.1454610732@sss.pgh.pa.us> X-Pg-Spam-Score: -2.4 (--) 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 John R Pierce writes: > On 2/4/2016 10:03 AM, Tom Lane wrote: >> Before 9.2, pg_upgrade never worked at all for setups with config-only >> data directories, since it couldn't figure out where the real data >> directory was. Now it does work, but only if the old postmaster supports -C. > would a (hacky) workaround be to copy the 8.4 postgresql.conf and > pg_hba.conf to the actual data directory, then point to that as the source ? Yeah, something like that is the solution. You need to make it look like a traditional data directory setup. 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