Re: Problem upgrading PGSQL7.3.2 from PGSQL6.5 under RHLinux6.5 - Mailing list pgsql-admin

From Stephan Szabo
Subject Re: Problem upgrading PGSQL7.3.2 from PGSQL6.5 under RHLinux6.5
Date
Msg-id 20030514082942.S44794-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Problem upgrading PGSQL7.3.2 from PGSQL6.5 under RHLinux6.5 - missing global/pg_control  ("Jason Kosowan" <jasonkosowan@yahoo.com>)
List 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.



pgsql-admin by date:

Previous
From: "Bernie LaSalle"
Date:
Subject: Re: Pg_hba and dynamic dns
Next
From: Stephan Szabo
Date:
Subject: Re: Query About vacuum and pg_dump