Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aLDnr-0002xR-NF for pgsql-bugs@arkaria.postgresql.org; Mon, 18 Jan 2016 17:41:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aLDnr-0007ac-6l for pgsql-bugs@arkaria.postgresql.org; Mon, 18 Jan 2016 17:41:19 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aLDnq-0007aW-Pf for pgsql-bugs@postgresql.org; Mon, 18 Jan 2016 17:41:18 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1aLDnn-000819-TN for pgsql-bugs@postgresql.org; Mon, 18 Jan 2016 17:41:17 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1aLDnm-0004J3-Fm; Mon, 18 Jan 2016 12:41:14 -0500 Date: Mon, 18 Jan 2016 12:41:14 -0500 From: Bruce Momjian To: igal@lucee.org Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #13859: pg_upgrade permissions on Windows Message-ID: <20160118174114.GK31313@momjian.us> References: <20160110182301.7615.96066@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160110182301.7615.96066@wrigleys.postgresql.org> User-Agent: Mutt/1.5.20 (2009-06-14) 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 On Sun, Jan 10, 2016 at 06:23:01PM +0000, igal@lucee.org wrote: > The following bug has been logged on the website: > > Bug reference: 13859 > Logged by: Igal Sapir > Email address: igal@lucee.org > PostgreSQL version: 9.5.0 > Operating system: Windows 2008R2 > Description: > > I'm not sure if this is a known issue or not, but in order to run pg_upgrade > on Windows to upgrade from pgsql-9.4 to pgsql-9.5 I had to: > > 1) Give Write permissions to Everyone for the working directory, old-data > directory, and new-data directory. > > * please note that I was running pg_upgrade as Administrator but still had > to add those permissions That is odd. We document: For Windows users, you must be logged into an administrative account, and then start a shell as the postgres user and set the proper path: I have not heard anyone else have this issue. > 2) Set method to trust in pg_hba.conf for both the old database and the new > database. > The documentation suggests pg_pass, though "trust" works too: Adjust authentication pg_upgrade will connect to the old and new servers several times, so you might want to set authentication to peer in pg_hba.conf or use a ~/.pgpass file (see ). > If those are the requirements then it should be documented better in my > opinion, though it might be better to make it less restrictive if possible. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Roman grave inscription + -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs