pgsql: Cope with a deficiency in OpenSSL 3.x's error reporting.

2024-03-07 Thread Tom Lane
Cope with a deficiency in OpenSSL 3.x's error reporting. In OpenSSL 3.0.0 and later, ERR_reason_error_string randomly refuses to provide a string for error codes representing system errno values (e.g., "No such file or directory"). There is a poorly-documented way to extract the errno from the SS

pgsql: Cope with a deficiency in OpenSSL 3.x's error reporting.

2024-03-07 Thread Tom Lane
Cope with a deficiency in OpenSSL 3.x's error reporting. In OpenSSL 3.0.0 and later, ERR_reason_error_string randomly refuses to provide a string for error codes representing system errno values (e.g., "No such file or directory"). There is a poorly-documented way to extract the errno from the SS

pgsql: Cope with a deficiency in OpenSSL 3.x's error reporting.

2024-03-07 Thread Tom Lane
Cope with a deficiency in OpenSSL 3.x's error reporting. In OpenSSL 3.0.0 and later, ERR_reason_error_string randomly refuses to provide a string for error codes representing system errno values (e.g., "No such file or directory"). There is a poorly-documented way to extract the errno from the SS

pgsql: Cope with a deficiency in OpenSSL 3.x's error reporting.

2024-03-07 Thread Tom Lane
Cope with a deficiency in OpenSSL 3.x's error reporting. In OpenSSL 3.0.0 and later, ERR_reason_error_string randomly refuses to provide a string for error codes representing system errno values (e.g., "No such file or directory"). There is a poorly-documented way to extract the errno from the SS

pgsql: Cope with a deficiency in OpenSSL 3.x's error reporting.

2024-03-07 Thread Tom Lane
Cope with a deficiency in OpenSSL 3.x's error reporting. In OpenSSL 3.0.0 and later, ERR_reason_error_string randomly refuses to provide a string for error codes representing system errno values (e.g., "No such file or directory"). There is a poorly-documented way to extract the errno from the SS

pgsql: Cope with a deficiency in OpenSSL 3.x's error reporting.

2024-03-07 Thread Tom Lane
Cope with a deficiency in OpenSSL 3.x's error reporting. In OpenSSL 3.0.0 and later, ERR_reason_error_string randomly refuses to provide a string for error codes representing system errno values (e.g., "No such file or directory"). There is a poorly-documented way to extract the errno from the SS