Check for pg version >= 90200 before using PGRES_SINGLE_TUPLE