Make the various places that determine the user's "home directory"

Tom Lane <tgl@sss.pgh.pa.us>

Commit: d97ae8230e0c5be122e71341fd65d3e3553ed010
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-01-06T01:00:12Z
Releases: 8.0.0
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.

Files

PathChange+/−
src/include/port.h modified +1 −7
src/interfaces/libpq/fe-connect.c modified +41 −25
src/interfaces/libpq/fe-secure.c modified +2 −31
src/interfaces/libpq/libpq-int.h modified +2 −1
src/port/path.c modified +25 −11