> -----Original Message-----
> From: pgsql-hackers-owner@postgresql.org
> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of
> Magnus Hagander
> Sent: 06 July 2004 21:46
> Cc: pgsql-hackers@postgresql.org
> Subject: [HACKERS] Initdb error
>
> Hi!
>
> I'm getting this error whenever I try to change the superuser of my
> database to anything != postgres.
>
> The same error shows up if I do "-U <someuser>" on Unix and "someuser"
> does not exist in /etc/passwd. Probably the same reason - since win32
> will not have any users in /etc/passwd..
>
> It works on 7.4, so probably related to the initdb-in-C rewrite?
The attached patch fixes this problem.
Regards, Dave.