Builds with the attached patch. Tested the following:
>>>>> Given that decision it seems like the best names are
>>>>>
>>>>> APPDATA/postgresql/pgpass.txt
Works.
>>>>> APPDATA/postgresql/psqlrc.txt
Works.
>>>>> APPDATA/postgresql/psql_history
Does not appear to work. Do I need to do anything to make psql create
this file?
A quick look at input.c makes it seem like this is only used when
READLINE is enabled. And READLINE is disabled on win32 because it
breaks.
>>>>> APPDATA/postgresql/postgresql.crt
>>>>> APPDATA/postgresql/postgresql.key
Not sure exactly how to test these :-(
>>>>> APPDATA/postgresql/root.crt
Works insofar that it prevents me to connect if I put an invalid
certificate in that file, and permits me to connect if I put the correct
cert there. AFAIK, that should be all there is to it :-)
Also verified that it still passes installcheck-parallel.
//Magnus