Re: Problem upgrading PGSQL7.3.2 from PGSQL6.5 under RHLinux6.5

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Jason Kosowan <jasonkosowan(at)yahoo(dot)com>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Problem upgrading PGSQL7.3.2 from PGSQL6.5 under RHLinux6.5
Date: 2003-05-14 15:32:53
Message-ID: 20030514082942.S44794-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


On Sun, 11 May 2003, Jason Kosowan wrote:

> # ./configure --prefix=/usr/local/pgsql_7.3.2 --datadir=/mnt/huge/postgresql

--datadir=DIR read-only architecture-independent data in DIR
[PREFIX/share]

> $ ./bin/initdb -D /mnt/huge/postgresql
>
> The files belonging to this database system will be owned by user
> "postgres".
> This user must also own the server process.
>
> The database cluster will be initialized with locale en_US.
> This locale setting will prevent the use of indexes for pattern matching
> operations. If that is a concern, rerun initdb with the collation order
> set to "C". For more information see the Administrator's Guide.
>
> initdb: The directory /mnt/huge/postgresql/ exists but is not empty.
> If you want to create a new database system, either remove or empty
> the directory /mnt/huge/postgresql/ or run initdb with
> an argument other than /mnt/huge/postgresql/.

See the above. Most of the rest of this is due to the fact that initdb
didn't run. The --datadir isn't the database structure directory.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Stephan Szabo 2003-05-14 15:34:41 Re: Query About vacuum and pg_dump
Previous Message tlr 2003-05-14 13:06:22 download mirror :Cannot find server or DNS Error