Postgres module

tls_failure_text

procedure · 1 overloadsince 0.27.0Source

What libpq prints for a failed handshake, or a TLS failure afterwards.

tls_failure_text :: (error: Tls.Tls_Error) -> string

What libpq prints for a failed handshake, or a TLS failure afterwards.

Parameters

error: Tls.Tls_Error
the TLS error.

Returns

string

See also