Do not attempt to PQclear a null PQresult*
Merge pull request #2176 from strk/2.3.x-segfault-on-execute

Do not attempt to PQclear a null PQresult*