Skip site navigation (1) Skip section navigation (2)

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

From: mha(at)postgresql(dot)org (Magnus Hagander)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Don't crash initdb when we fail to get the current username.
Date: 2009-03-31 18:58:20
Message-ID: 20090331185820.7FEE6754ADE@cvs.postgresql.org (view raw or flat)
Thread:
Lists: 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_0_STABLE

Modified Files:
--------------
    pgsql/src/bin/initdb:
        initdb.c (r1.73.4.4 -> r1.73.4.5)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/initdb/initdb.c?r1=1.73.4.4&r2=1.73.4.5)

pgsql-committers by date

Next:From: Magnus HaganderDate: 2009-03-31 18:58:26
Subject: pgsql: Don't crash initdb when we fail to get the current username.
Previous:From: Magnus HaganderDate: 2009-03-31 18:58:16
Subject: pgsql: Don't crash initdb when we fail to get the current username.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group