]> granicus.if.org Git - postgresql/commit
Change rather bizarre code ordering in get_id(). This isn't strictly
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 3 Jun 2009 16:17:49 +0000 (16:17 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 3 Jun 2009 16:17:49 +0000 (16:17 +0000)
commita7a7f5caaaf97665c07d0323a339277c92a8fc83
tree3375686d9a41a884c95498d5581ada0740a6b22f
parente5507631219392d08f327194c840e042e3577fc5
Change rather bizarre code ordering in get_id().  This isn't strictly
cosmetic --- I'm wondering if geteuid could have side effects on errno,
thus possibly resulting in a misleading error message after failure of
getpwuid.
src/bin/initdb/initdb.c