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


Mon, 20 Dec 1999 20:57:14 +0000 (GMT)
Keith Parks <emkxp01@mtcc.demon.co.uk>
Re: [HACKERS] Re: initdb.sh fixed7
pg_id converts from username to uid, we need the other way.

On Mon, 20 Dec 1999, Keith Parks wrote:

> 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
> 
> 

-- 
Peter Eisentraut                  Sernanders vaeg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden


Fri, 24 Dec 1999 22:35:57 +0100 (MET)
Peter Eisentraut <e99re41@DoCS.UU.SE>
Re: [HACKERS] Re: initdb.sh fixed7