PQconnectionNeedsPassword Function

public function PQconnectionNeedsPassword(conn)

Retuens true if the connection authentication method required a password, but none was available. Returns false if not.

This function can be applied after a failed connection attempt to decide whether to prompt the user for a password.

cf. PostgreSQL Documentation

Arguments

Type IntentOptional Attributes Name
type(c_ptr), intent(in) :: conn

Return Value logical


Contents