Force the switch of ExecStatusType to an int, so we don't get complaints from older versions of libpq that do not know what PGRES_COPY_BOTH is.