code: public void addFunctions(ResultSet rs) throws SQLException {
      while (rs.next()) {
        func.put(rs.getString(1), rs.getInt(2));
      }
    }
docs: <p>This takes a ResultSet containing two columns. Column 1 contains the function name, Column 2
  the oid.</p>
  
  <p>It reads the entire ResultSet, loading the values into the function table.</p>
  
  <p><b>REMEMBER</b> to close() the resultset after calling this!!</p>
  
  <p><b><em>Implementation note about function name lookups:</em></b></p>
  
  <p>PostgreSQL stores the function id's and their corresponding names in the pg_proc table. To
  speed things up locally, instead of querying each function from that table when required, a
  HashMap is used. Also, only the function's required are entered into this table, keeping
  connection times as fast as possible.</p>
  
  <p>The org.postgresql.largeobject.LargeObject class performs a query upon it's startup, and passes
  the returned ResultSet to the addFunctions() method here.</p>
  
  <p>Once this has been done, the LargeObject api refers to the functions by name.</p>
  
  <p>Don't think that manually converting them to the oid's will work. Ok, they will for now, but
  they can change during development (there was some discussion about this for V7.0), so this is
  implemented to prevent any unwarranted headaches in the future.</p>
  
  @param rs ResultSet
  @throws SQLException if a database-access error occurs.
  @see org.postgresql.largeobject.LargeObjectManager