This takes a ResultSet containing two columns. Column 1 contains the
function name, Column 2 the oid.
It reads the entire ResultSet, loading the values into the function
REMEMBER to close() the resultset after calling this!!
Implementation note about function name lookups:
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 Hashtable is used. Also, only
the function's required are entered into this table, keeping connection
times as fast as possible.
The org.postgresql.largeobject.LargeObject class performs a query upon it's startup,
and passes the returned ResultSet to the addFunctions() method here.
Once this has been done, the LargeObject api refers to the functions by
Dont 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.