public LargeObjectManager(Connection conn) throws SQLException {  this.fp = ((org.postgresql.PGConnection)conn).getFastpathAPI();      ResultSet res = conn.createStatement().executeQuery("select proname, oid from pg_proc" + " where proname = 'lo_open'" + "    or proname = 'lo_close'" + "    or proname = 'lo_creat'" + "    or proname = 'lo_unlink'" + "    or proname = 'lo_lseek'" + "    or proname = 'lo_tell'" + "    or proname = 'loread'" + "    or proname = 'lowrite'");  if (res == null) throw new PSQLException("postgresql.lo.init");  fp.addFunctions(res); res.close(); if (Driver.logDebug) Driver.debug("Large Object initialised"); }
private LargeObjectManager() {}
	public LargeObjectManager(Connection conn) throws SQLException	{		// We need Fastpath to do anything		this.fp = ((org.postgresql.PGConnection)conn).getFastpathAPI();		// Now get the function oid's for the api		//		// This is an example of Fastpath.addFunctions();		//		ResultSet res = conn.createStatement().executeQuery("select proname, oid from pg_proc" +						" where proname = 'lo_open'" +						"    or proname = 'lo_close'" +						"    or proname = 'lo_creat'" +						"    or proname = 'lo_unlink'" +						"    or proname = 'lo_lseek'" +						"    or proname = 'lo_tell'" +						"    or proname = 'loread'" +						"    or proname = 'lowrite'");		if (res == null)			throw new PSQLException("postgresql.lo.init");		fp.addFunctions(res);		res.close();		if (Driver.logDebug)			Driver.debug("Large Object initialised");	}