pgsql: Don't crash initdb when we fail to get the current username. - Mailing list pgsql-committers

From [email protected] (Magnus Hagander)
Subject pgsql: Don't crash initdb when we fail to get the current username.
Date
Msg-id [email protected]
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Don't crash initdb when we fail to get the current username.
Give an error message and exit instead, like we do elsewhere...

Per report from Wez Furlong and Robert Treat.

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
    pgsql/src/bin/initdb:
        initdb.c (r1.152.2.4 -> r1.152.2.5)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/initdb/initdb.c?r1=1.152.2.4&r2=1.152.2.5)

pgsql-committers by date:

Previous
From: [email protected] (Magnus Hagander)
Date:
Subject: pgsql: Don't crash initdb when we fail to get the current username.
Next
From: [email protected] (Tom Lane)
Date:
Subject: pgsql: Modify the relcache to record the temp status of both local and