docs: synchronized void readFromCopy(CopyOperationImpl op, boolean block) throws SQLException {
      if (!hasLock(op)) {
        throw new PSQLException(GT.tr("Tried to read from inactive copy"),
            PSQLState.OBJECT_NOT_IN_STATE);
      }
  
      try {
        processCopyResults(op, block); // expect a call to handleCopydata() to store the data
      } catch (IOException ioe) {
        throw new PSQLException(GT.tr("Database connection failed when reading from copy"),
            PSQLState.CONNECTION_FAILURE, ioe);
      }
    }