Add get_home_path() to use USERPROFILE on Win32 and HOME on Unix.
Bruce Momjian <bruce@momjian.us>
Add get_home_path() to use USERPROFILE on Win32 and HOME on Unix.
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/psql/common.c | modified | +6 −6 |
| src/bin/psql/input.c | modified | +5 −7 |
| src/bin/psql/startup.c | modified | +3 −3 |
| src/include/port.h | modified | +8 −4 |
| src/interfaces/libpq/fe-connect.c | modified | +3 −4 |
| src/port/path.c | modified | +22 −1 |