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

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

From
Heikki Linnakangas
Date:
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
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/eadd80c08ddfc485db84b9af7cca54a0d50ebe6d

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