Re: [HACKERS] Re: initdb.sh fixed7

Keith Parks <emkxp01@mtcc.demon.co.uk>

From: Keith Parks <emkxp01@mtcc.demon.co.uk>
To: pgman@candle.pha.pa.us
Cc: peter_e@gmx.net, pgsql-hackers@postgresql.org
Date: 1999-12-20T20:57:14Z
Lists: pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us>
>
>Oh, this is bad news.  I see what you are saying.  In 6.5.*, we had
>pg_id, which was used to do this.  We still have pg_id, but I assume the
>attempt was to remove reliance ont that in the new initdb.sh. Right
>Peter?
>
>If so, can you suggest a solution under Solaris for getting the user id
>value?


I wonder if pg_id was the result of a similar portability
discussion/problem some years ago ;-)

I'd vote for keeping pg_id, if then we are free'd from all the
portability issues. (getpwent() is portable?)


Keith