docs: public synchronized void truncate(long len) throws SQLException {
      checkFreed();
      if (!conn.haveMinimumServerVersion(ServerVersion.v8_3)) {
        throw new PSQLException(
            GT.tr("Truncation of large objects is only implemented in 8.3 and later servers."),
            PSQLState.NOT_IMPLEMENTED);
      }
  
      if (len < 0) {
        throw new PSQLException(GT.tr("Cannot truncate LOB to a negative length."),
            PSQLState.INVALID_PARAMETER_VALUE);
      }
      if (len > Integer.MAX_VALUE) {
        if (support64bit) {
          getLo(true).truncate64(len);
        } else {
          throw new PSQLException(GT.tr("PostgreSQL LOBs can only index to: {0}", Integer.MAX_VALUE),
              PSQLState.INVALID_PARAMETER_VALUE);
        }
      } else {
        getLo(true).truncate((int) len);
      }
    }