Tom Lane wrote:

I wrote:


win32 hackers, anyone know why it's like this?



Looking through the code, it seems that it's because someone thought that breaking SSL would be easier than replacing the pqGetpwuid() calls that are used to find out the user's home directory.

Does Windows even have a concept of home directory?  What would be a
reasonable equivalent to ~/.postgresql/ ?


The versions of windows that the port supports (NT4, 2000, 2003, XP) do have home directories. The "Documents and Settings" (except NT 4 which uses "Profiles") directory in windows is like /home in Unix. Using my XP Pro box, I see two relevant environment variables HOMEDRIVE, and HOMEPATH. On my box they are set as follows:
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\matthew
So: ~/.postgresql/ = C:\Documents and Settings\matthew\.postgresql\


Hope that helps.

Matthew


---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster

Reply via email to