Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1a8Yx2-0002u3-K9 for pgsql-bugs@arkaria.postgresql.org; Mon, 14 Dec 2015 19:38:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1a8Yx2-0002dq-6Z for pgsql-bugs@arkaria.postgresql.org; Mon, 14 Dec 2015 19:38:28 +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 1a7yQC-0001ce-KM for pgsql-bugs@postgresql.org; Sun, 13 Dec 2015 04:38:08 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1a7yQ7-0005CQ-Dj for pgsql-bugs@postgresql.org; Sun, 13 Dec 2015 04:38:05 +0000 MIME-Version: 1.0 Subject: BUG #13813: pg_upgrade fails to run pg_ctl To: pgsql-bugs@postgresql.org From: romandashkov@gmail.com Date: Sun, 13 Dec 2015 04:37:29 +0000 Message-ID: <20151213043729.11346.84674@wrigleys.postgresql.org> X-Pg-Spam-Score: -0.3 (/) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 The following bug has been logged on the website: Bug reference: 13813 Logged by: Roman D Email address: romandashkov@gmail.com PostgreSQL version: 9.4.5 Operating system: Windows 10 x64 Description: I ran pg_upgrade as a test, trying to move data files from 9.4.5 to 9.4.5 (same version in two separate directories). Both old and new servers were off. Command issued: pg_upgrade --username postgres --no-paswword -old-datadir... -new-datadir... -old-bindir... -new-bindir... It failed with this a message like this: could not start old postmaster... with this command... "path\to\data-directory/pg_ctl" -option 1 -option 2... I noticed it is using a forward slash as a path to pg_ctl within the data directory. It should be using backward slash in windows. I'm sorry I was not able to record the error message exactly before it was lost (and the logs too). -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs