On 4/10/18 08:10, Julian Markwort wrote: >> Attached is an updated patch with these changes. I'd appreciate it if >> you can run it through your tests to confirm that it didn't break any >> of those usecases. > I've tested a couple of things with this and it seems to work as > expected. Unforunately, there are no tests for libpq, afaik. But testing > such features would become complicated quite quickly, with the need to > generate certificates and such...
There are tests in src/test/ssl/ that would probably be a good fit to extend for this. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services