]> granicus.if.org Git - postgresql/commit
Don't crash initdb when we fail to get the current username.
authorMagnus Hagander <magnus@hagander.net>
Tue, 31 Mar 2009 18:58:34 +0000 (18:58 +0000)
committerMagnus Hagander <magnus@hagander.net>
Tue, 31 Mar 2009 18:58:34 +0000 (18:58 +0000)
commitb251244f856710bed9593dfcfd64d78c01f14901
tree1a13644a8aa30855590afa8f7b57fab049737662
parentac3c59cc805e30d69d1932d2b3e6a03bfea56908
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.
src/bin/initdb/initdb.c