Re: Upgrade: 9.0.5->9.3.3 - Mailing list pgsql-general

From Rich Shepard
Subject Re: Upgrade: 9.0.5->9.3.3
Date
Msg-id alpine.LNX.2.11.1403180743000.898@localhost
Whole thread Raw
In response to Upgrade: 9.0.5->9.3.3  (Rich Shepard <rshepard@appl-ecosys.com>)
Responses Re: Upgrade: 9.0.5->9.3.3
List pgsql-general
On Mon, 17 Mar 2014, Rich Shepard wrote:

>  Now, -9.0.5 is installed in /usr/local/pgsql/ and -9.3.3 is installed in
> /opt/pgsql-9.3.3. I want to use pg_upgrade and have read the Web page with
> the instructions.

   I am having problems initializing the new version in /opt/pgsql-9.3.3. I
kill the postgres-9.0.5 process, and as user 'postgres' I tried to initdb
with this result:

initdb -D /opt/pgsql-9.3.3/9.3/data/
The program "postgres" was found by "/bin/initdb"
but was not the same version as initdb.
Check your installation.

   When I ask which postgres I find:

[root@salmo ~]# ll /usr/bin/postgres
lrwxrwxrwx 1 root root 34 Mar 17 06:50 /usr/bin/postgres ->
../lib/postgresql/9.3/bin/postgres*

so I am confused on how I need to run initdb, or what I need to
rename/remove to initialize the new cluster so I can run pg_upgrade and move
the databases over.

Rich


pgsql-general by date:

Previous
From: Simon Riggs
Date:
Subject: Re: High Level Committers Wanted
Next
From: Tom Lane
Date:
Subject: Re: Upgrade: 9.0.5->9.3.3