return LongValue.create(conn.getPort());
return (StringValue) StringValue.create(conn.getPort());
  public static LongValue pg_port(Env env,                                  @Optional Postgres conn)  {    try {      if (conn == null)        conn = getConnection(env);      return LongValue.create(conn.getPort());    } catch (Exception ex) {      log.log(Level.FINE, ex.toString(), ex);      return null;    }  }