*/
  public static boolean pg_send_query_params(Env env,                                             @NotNull Postgres conn,                                             String query,                                             ArrayValue params)  {    try {      ArrayValueImpl arrayImpl = (ArrayValueImpl)params;      int sz = arrayImpl.size();      for (int i=0; i<sz; i++) {        StringValue p = arrayImpl.get(LongValue.create(i)).toStringValue();        String pi = conn.realEscapeString(p).toString();        pi = pi.replaceAll("\\\\", "\\\\\\\\");        query = query.replaceAll("\\$"+(i+1), "\\'"+pi+"\\'");      }      pg_send_query(env, conn, query);      return true;    } catch (Exception ex) {      log.log(Level.FINE, ex.toString(), ex);      return false;    }  }