From: Bruce Momjian <bruce@momjian.us>
To: Ankush Chawla <ankushchawla03@gmail.com>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: Postgres Upgrades could not open version file PG_VERSIOn
Date: Thu, 14 May 2020 12:06:27 -0400
Message-ID: <20200514160627.GB8862@momjian.us> (raw)
In-Reply-To: <CAOY8JhDdf5LfcK01ysbhAq7yL3Y19fS3oeWSLO_Ck965io5ndw@mail.gmail.com>
References: <CAOY8JhDdf5LfcK01ysbhAq7yL3Y19fS3oeWSLO_Ck965io5ndw@mail.gmail.com>
On Thu, May 14, 2020 at 09:02:47PM +0530, Ankush Chawla wrote:
> Hello
>
> I tried Upgrading Postgres in linux and then on Windows both gave same error
> message
>
> C:\Program Files\edb\as11\bin>pg_upgrade -c -b "C:\Program Files\PostgreSQL\10\
> bin" -B "C:\Program Files\edb\as11\bin" -d "C:\Program Files\PostgreSQL\10\
> data" -D "C:\Program Files\edb\as11\data1"
>
> could not open version file: C:\Program Files\edb\as11\data1/PG_VERSION
> Failure, exiting
Well, did you run initdb for that directory? Is there a PG_VERSION file
in there?
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EnterpriseDB https://enterprisedb.com
+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +
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-admin@postgresql.org
Cc: bruce@momjian.us, ankushchawla03@gmail.com
Subject: Re: Postgres Upgrades could not open version file PG_VERSIOn
In-Reply-To: <20200514160627.GB8862@momjian.us>
References: <CAOY8JhDdf5LfcK01ysbhAq7yL3Y19fS3oeWSLO_Ck965io5ndw@mail.gmail.com> <20200514160627.GB8862@momjian.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