Checks the result of a call to the PostgreSQL.
Syntax:
function CheckOpen(Status: DBIResult): Boolean;
Description:
Call CheckOpen to determine if a call to the PostgreSQL returns an error when an attempt
is made to access a dataset. Status is the return result of a previous call.
CheckOpen returns True if access is successful.
Otherwise CheckOpen returns False, indicating that dataset access failed.