Surround PGRES_SINGLE_TUPLE with an #ifdef for single row mode support.