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

From mha@postgresql.org (Magnus Hagander)
Subject pgsql: Don't crash initdb when we fail to get the current username.
Date
Msg-id 20090331185826.7C26C754ADE@cvs.postgresql.org
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_1_STABLE

Modified Files:
--------------
    pgsql/src/bin/initdb:
        initdb.c (r1.99.2.3 -> r1.99.2.4)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/initdb/initdb.c?r1=1.99.2.3&r2=1.99.2.4)

pgsql-committers by date:

Previous
From: mha@postgresql.org (Magnus Hagander)
Date:
Subject: pgsql: Don't crash initdb when we fail to get the current username.
Next
From: mha@postgresql.org (Magnus Hagander)
Date:
Subject: pgsql: Don't crash initdb when we fail to get the current username.