Skip site navigation (1) Skip section navigation (2)

Re: [BUGS] More SSL questions..

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>,<pgsql-hackers-win32(at)postgresql(dot)org>
Cc: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>,"Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>,"Andrew Dunstan" <andrew(at)dunslane(dot)net>,"T(dot)J(dot)" <tjtoocool(at)phreaker(dot)net>
Subject: Re: [BUGS] More SSL questions..
Date: 2005-01-06 21:29:15
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE476507@algol.sollentuna.se (view raw or flat)
Thread:
Lists: pgsql-hackers-win32
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

Attachment: pqhome.patch
Description: application/octet-stream (2.6 KB)

Responses

pgsql-hackers-win32 by date

Next:From: Tom LaneDate: 2005-01-06 21:44:21
Subject: Re: [BUGS] More SSL questions..
Previous:From: Tom LaneDate: 2005-01-06 21:21:08
Subject: Re: [BUGS] More SSL questions..

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group