Re: [HACKERS] Re: initdb.sh fixed7 - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] Re: initdb.sh fixed7
Date
Msg-id Pine.GSO.4.02A.9912242235260.11069-100000@Hamster.DoCS.UU.SE
Whole thread Raw
In response to Re: [HACKERS] Re: initdb.sh fixed7  (Keith Parks <emkxp01@mtcc.demon.co.uk>)
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] Re: initdb.sh fixed
Next
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] Source code format votes