Re: [HACKERS] Re: initdb.sh fixed7

From: Peter Eisentraut <e99re41(at)DoCS(dot)UU(dot)SE>
To: Keith Parks <emkxp01(at)mtcc(dot)demon(dot)co(dot)uk>
Cc: pgman(at)candle(dot)pha(dot)pa(dot)us, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Re: initdb.sh fixed7
Date: 1999-12-24 21:35:57
Message-ID: Pine.GSO.4.02A.9912242235260.11069-100000@Hamster.DoCS.UU.SE
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)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(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 1999-12-24 21:40:50 Re: [HACKERS] Source code format votes
Previous Message Peter Eisentraut 1999-12-24 21:29:37 Re: [HACKERS] Re: initdb.sh fixed