]> 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:26 +0000 (18:58 +0000)
committerMagnus Hagander <magnus@hagander.net>
Tue, 31 Mar 2009 18:58:26 +0000 (18:58 +0000)
commit7daa32daa9b28668ac12dac2d779df2648448cdc
treef2e52a6d13f45fc08553ed92f394c9e6915ac8f8
parent199d8bb60a12def69ad54c11ea26325a48c9a2ad
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