Обсуждение: pgsql: Give a proper error message if initdb password file is empty.

Поиск
Список
Период
Сортировка

pgsql: Give a proper error message if initdb password file is empty.

От
Heikki Linnakangas
Дата:
Give a proper error message if initdb password file is empty.

Used to say just "could not read password from file "...": Success", which
isn't very informative.

Mats Erik Andersson. Backpatch to all supported versions.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/198cbe0a0c4b539c9f9f3f2e9169d774d1d39a8e

Modified Files
--------------
src/bin/initdb/initdb.c |    8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)