Re: Problems with initdb 8.0.1 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Problems with initdb 8.0.1
Date
Msg-id 29140.1107360688@sss.pgh.pa.us
Whole thread Raw
In response to Problems with initdb 8.0.1  (Rafael Martinez Guerrero <r.m.guerrero@usit.uio.no>)
List pgsql-hackers
Rafael Martinez Guerrero <r.m.guerrero@usit.uio.no> writes:
> If we install the binaries for postgres under /local/opt/postgresql/bin,
> initdb in this directory will be a symblink to
> "/local/store/bbking/.postgresql/ver-8.0.1/opt/postgresql/bin/initdb@386lin=
> uxlibc63=20
> and=20

> /local/opt/postgresql/bin/postgres will we a symblink to
> /local/store/bbking/.postgresql/ver-8.0.1/opt/postgresql/bin/postgres@386li=
> nuxlibc63.

This naming convention is broken.  Fix it by putting the platform info
into the path instead, perhaps
/local/store/bbking/.postgresql/ver-8.0.1/opt/postgresql/386linuxlibc63/bin/postgres

The symlink following code is necessary to support relocatable
installations, and we aren't going to change it.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [NOVICE] Last ID Problem
Next
From: Andrew Dunstan
Date:
Subject: Re: Problems with initdb 8.0.1