Tom Lane wrote:
> nico...@marchildon.net writes:
> > The man page says:
>
> > RETURN VALUE
> >The getpwnam() and getpwuid() functions return a pointer to a
> > passwd
> >structure, or NULL if the matching entry is not found or an
> > error
> >occurs. If an error
nico...@marchildon.net writes:
> "initdb: could not obtain information about current user: Success"
> The misleading part is the "Success". This comes from errno:
> pw = getpwuid(geteuid());
> if (!pw)
> {
> fprintf(stderr,
> _("%s
The following bug has been logged on the website:
Bug reference: 8139
Logged by: Nicolas Marchildon
Email address: nico...@marchildon.net
PostgreSQL version: 9.2.4
Operating system: RHEL 6
Description:
Running initdb while logged in as a user that has no entry in /etc