PQconnectionUsedPassword Function

public function PQconnectionUsedPassword(conn)

Returns true if the connection authentication method used a password. 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