pgsql: Fix compilation with older OpenSSL versions

2019-09-28 Thread Peter Eisentraut
Fix compilation with older OpenSSL versions Some older OpenSSL versions (0.9.8 branch) define TLS*_VERSION macros but not the corresponding SSL_OP_NO_* macro, which causes the code for handling ssl_min_protocol_version/ssl_max_protocol_version to fail to compile. To fix, add more #ifdefs and erro

pgsql: Fix compilation with older OpenSSL versions

2019-09-28 Thread Peter Eisentraut
Fix compilation with older OpenSSL versions Some older OpenSSL versions (0.9.8 branch) define TLS*_VERSION macros but not the corresponding SSL_OP_NO_* macro, which causes the code for handling ssl_min_protocol_version/ssl_max_protocol_version to fail to compile. To fix, add more #ifdefs and erro

pgsql: Improve stability of partition_prune regression test.

2019-09-28 Thread Tom Lane
Improve stability of partition_prune regression test. This test already knew that, to get stable test output, it had to hide "loops" counts in EXPLAIN ANALYZE results. But that's not nearly enough: if we get a smaller number of workers than we planned for, then the "Workers Launched" number will

pgsql: Improve stability of partition_prune regression test.

2019-09-28 Thread Tom Lane
Improve stability of partition_prune regression test. This test already knew that, to get stable test output, it had to hide "loops" counts in EXPLAIN ANALYZE results. But that's not nearly enough: if we get a smaller number of workers than we planned for, then the "Workers Launched" number will

pgsql: Improve stability of partition_prune regression test.

2019-09-28 Thread Tom Lane
Improve stability of partition_prune regression test. This test already knew that, to get stable test output, it had to hide "loops" counts in EXPLAIN ANALYZE results. But that's not nearly enough: if we get a smaller number of workers than we planned for, then the "Workers Launched" number will