diff --git a/src/binding.cc b/src/binding.cc index 2333e1f..0d39722 100644 --- a/src/binding.cc +++ b/src/binding.cc @@ -659,7 +659,9 @@ protected: ExecStatusType status = PQresultStatus(result); switch(status) { case PGRES_TUPLES_OK: +#ifdef SINGLE_ROW_SUPPORTED case PGRES_SINGLE_TUPLE: +#endif { EmitRowDescription(result); HandleTuplesResult(result);