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

Поиск
Список
Период
Сортировка
От mha@postgresql.org (Magnus Hagander)
Тема pgsql: Don't crash initdb when we fail to get the current username.
Дата
Msg-id 20090331185816.742CC754ADE@cvs.postgresql.org
обсуждение исходный текст
Список 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.

Modified Files:
--------------
    pgsql/src/bin/initdb:
        initdb.c (r1.168 -> r1.169)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/initdb/initdb.c?r1=1.168&r2=1.169)

В списке pgsql-committers по дате отправления:

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Add a "relistemp" boolean column to pg_class, which is true for
Следующее
От: mha@postgresql.org (Magnus Hagander)
Дата:
Сообщение: pgsql: Don't crash initdb when we fail to get the current username.