pgsql: Fix documentation of "must be vacuumed within" warning.

2020-06-27 Thread Noah Misch
Fix documentation of "must be vacuumed within" warning. Warnings start 10M transactions before xidStopLimit, which is 11M transactions before wraparound. The sample WARNING output showed a value greater than 11M, and its HINT message predated commit 25ec228ef760eb91c094cc3b6dea7257cc22ffb5. Henc

pgsql: Fix documentation of "must be vacuumed within" warning.

2020-06-27 Thread Noah Misch
Fix documentation of "must be vacuumed within" warning. Warnings start 10M transactions before xidStopLimit, which is 11M transactions before wraparound. The sample WARNING output showed a value greater than 11M, and its HINT message predated commit 25ec228ef760eb91c094cc3b6dea7257cc22ffb5. Henc

pgsql: Fix documentation of "must be vacuumed within" warning.

2020-06-27 Thread Noah Misch
Fix documentation of "must be vacuumed within" warning. Warnings start 10M transactions before xidStopLimit, which is 11M transactions before wraparound. The sample WARNING output showed a value greater than 11M, and its HINT message predated commit 25ec228ef760eb91c094cc3b6dea7257cc22ffb5. Henc

pgsql: Fix documentation of "must be vacuumed within" warning.

2020-06-27 Thread Noah Misch
Fix documentation of "must be vacuumed within" warning. Warnings start 10M transactions before xidStopLimit, which is 11M transactions before wraparound. The sample WARNING output showed a value greater than 11M, and its HINT message predated commit 25ec228ef760eb91c094cc3b6dea7257cc22ffb5. Henc

pgsql: Fix documentation of "must be vacuumed within" warning.

2020-06-27 Thread Noah Misch
Fix documentation of "must be vacuumed within" warning. Warnings start 10M transactions before xidStopLimit, which is 11M transactions before wraparound. The sample WARNING output showed a value greater than 11M, and its HINT message predated commit 25ec228ef760eb91c094cc3b6dea7257cc22ffb5. Henc

pgsql: Fix documentation of "must be vacuumed within" warning.

2020-06-27 Thread Noah Misch
Fix documentation of "must be vacuumed within" warning. Warnings start 10M transactions before xidStopLimit, which is 11M transactions before wraparound. The sample WARNING output showed a value greater than 11M, and its HINT message predated commit 25ec228ef760eb91c094cc3b6dea7257cc22ffb5. Henc

pgsql: Fix documentation of "must be vacuumed within" warning.

2020-06-27 Thread Noah Misch
Fix documentation of "must be vacuumed within" warning. Warnings start 10M transactions before xidStopLimit, which is 11M transactions before wraparound. The sample WARNING output showed a value greater than 11M, and its HINT message predated commit 25ec228ef760eb91c094cc3b6dea7257cc22ffb5. Henc

pgsql: Fix list of SSL error codes for older OpenSSL versions.

2020-06-27 Thread Tom Lane
Fix list of SSL error codes for older OpenSSL versions. Apparently 1.0.1 lacks SSL_R_VERSION_TOO_HIGH and SSL_R_VERSION_TOO_LOW. Per buildfarm. Branch -- REL_13_STABLE Details --- https://git.postgresql.org/pg/commitdiff/e5f63db995514473f7b3421bc80f8e7715cd6d35 Modified Files -

pgsql: Fix list of SSL error codes for older OpenSSL versions.

2020-06-27 Thread Tom Lane
Fix list of SSL error codes for older OpenSSL versions. Apparently 1.0.1 lacks SSL_R_VERSION_TOO_HIGH and SSL_R_VERSION_TOO_LOW. Per buildfarm. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/e1cc25f59a8a90d821aaf894e1691575ed94454e Modified Files -- s

pgsql: Change libpq's default ssl_min_protocol_version to TLSv1.2.

2020-06-27 Thread Tom Lane
Change libpq's default ssl_min_protocol_version to TLSv1.2. When we initially created this parameter, in commit ff8ca5fad, we left the default as "allow any protocol version" on grounds of backwards compatibility. However, that's inconsistent with the backend's default since b1abfec82; protocol v

pgsql: Add hints about protocol-version-related SSL connection failures

2020-06-27 Thread Tom Lane
Add hints about protocol-version-related SSL connection failures. OpenSSL's native reports about problems related to protocol version restrictions are pretty opaque and inconsistent. When we get an SSL error that is plausibly due to this, emit a hint message that includes the range of SSL protoco

pgsql: Add hints about protocol-version-related SSL connection failures

2020-06-27 Thread Tom Lane
Add hints about protocol-version-related SSL connection failures. OpenSSL's native reports about problems related to protocol version restrictions are pretty opaque and inconsistent. When we get an SSL error that is plausibly due to this, emit a hint message that includes the range of SSL protoco

pgsql: Change libpq's default ssl_min_protocol_version to TLSv1.2.

2020-06-27 Thread Tom Lane
Change libpq's default ssl_min_protocol_version to TLSv1.2. When we initially created this parameter, in commit ff8ca5fad, we left the default as "allow any protocol version" on grounds of backwards compatibility. However, that's inconsistent with the backend's default since b1abfec82; protocol v