]> granicus.if.org Git - postgresql/commit
Make the various places that determine the user's "home directory"
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 6 Jan 2005 01:00:12 +0000 (01:00 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 6 Jan 2005 01:00:12 +0000 (01:00 +0000)
commitd97ae8230e0c5be122e71341fd65d3e3553ed010
treed4b903a3f144b52e20cc5c0235177d12805a8817
parentfdbeaaf90a07c6703ec482c3f1bb3fb04882a64f
Make the various places that determine the user's "home directory"
consistent.  On Unix we now always consult getpwuid(); $HOME isn't used
at all.  On Windows the code currently consults $USERPROFILE, or $HOME
if that's not defined, but I expect this will change as soon as the win32
hackers come to a consensus.  Nothing done yet about changing the file
names used underneath $USERPROFILE.
src/include/port.h
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/fe-secure.c
src/interfaces/libpq/libpq-int.h
src/port/path.c