Re: [HACKERS] Re: initdb.sh fixed7
Re: [HACKERS] Re: initdb.sh fixed7
От:
Keith Parks <emkxp01@mtcc.demon.co.uk>
Дата:
Bruce Momjian > >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
Re: [HACKERS] Re: initdb.sh fixed7
От:
Peter Eisentraut <e99re41@DoCS.UU.SE>
Дата:
pg_id converts from username to uid, we need the other way. On Mon, 20 Dec 1999, Keith Parks wrote: > Bruce Momjian > > > >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