if (field == null) {
if ((field == null) || (field == NullValue.NULL)) {
  public static LongValue pg_field_is_null(Env env,                                           @NotNull PostgresResult result,                                           Value row,                                           @Optional("-1") Value fieldNameOrNumber)  {    try {      // NOTE: row is of type Value because there is a case where      // row is optional. In such a case, the row value passed in      // is actually the field number or field name.      int rowNumber = -1;      // Handle the case: optional row with mandatory fieldNameOrNumber.      if (fieldNameOrNumber.isLongConvertible() &&          (fieldNameOrNumber.toInt() == -1)) {        fieldNameOrNumber = row;        rowNumber = -1;      } else {        rowNumber = row.toInt();      }      if (rowNumber >= 0) {        result.seek(env, rowNumber);      }      int fieldNumber = result.getColumnNumber(fieldNameOrNumber, 0);      String field = pg_fetch_result(env,                                     result,                                     LongValue.create(-1),                                     LongValue.create(fieldNumber));      if (field == null) {        return LongValue.create(1);      }      return LongValue.create(0);    } catch (Exception ex) {      log.log(Level.FINE, ex.toString(), ex);      return null;    }  }