Break most of AbstractJdbc2ResultSet.findColumn out into a separate findColumnIndex() method that does not throw if the column isn't found.  Use that method directly in isUpdateable() when looking for the OID column to avoid creating/throwing/catching/discarding an exception unnecessarily. As suggested by Kevin Grittner.
Break most of AbstractJdbc2ResultSet.findColumn out into a
separate findColumnIndex() method that does not throw if the column
isn't found.  Use that method directly in isUpdateable() when looking
for the OID column to avoid creating/throwing/catching/discarding an
exception unnecessarily. As suggested by Kevin Grittner.

Clean up redundant try/catch and unnecessary nesting in updateRow().

tivv/pgjdbc,amozhenin/pgjdbc,davecramer/pgjdbc,amozhenin/pgjdbc,phillipross/pgjdbc,alexismeneses/pgjdbc,lonnyj/pgjdbc,underyx/pgjdbc,pgjdbc/pgjdbc,marschall/pgjdbc,zapov/pgjdbc,jkutner/pgjdbc,jkutner/pgjdbc,schlosna/pgjdbc,whitingjr/pgjdbc,amozhenin/pgjdbc,jamesthomp/pgjdbc,zemian/pgjdbc,pgjdbc/pgjdbc,thkoch2001/libpostgresql-jdbc-java,jamesthomp/pgjdbc,tivv/pgjdbc,golovnin/pgjdbc,davecramer/pgjdbc,phillipross/pgjdbc,zapov/pgjdbc,jorsol/pgjdbc,thkoch2001/libpostgresql-jdbc-java,panchenko/pgjdbc,panchenko/pgjdbc,AlexElin/pgjdbc,rjmac/pgjdbc,bocap/pgjdbc,Gordiychuk/pgjdbc,AlexElin/pgjdbc,sehrope/pgjdbc,jkutner/pgjdbc,zemian/pgjdbc,schlosna/pgjdbc,lordnelson/pgjdbc,bocap/pgjdbc,lonnyj/pgjdbc,rjmac/pgjdbc,ekoontz/pgjdbc,AlexElin/pgjdbc,whitingjr/pgjdbc,underyx/pgjdbc,sehrope/pgjdbc,jorsol/pgjdbc,Gordiychuk/pgjdbc,marschall/pgjdbc,pgjdbc/pgjdbc,Gordiychuk/pgjdbc,lordnelson/pgjdbc,jamesthomp/pgjdbc,golovnin/pgjdbc,thkoch2001/libpostgresql-jdbc-java,sehrope/pgjdbc,bocap/pgjdbc,davecramer/pgjdbc,jorsol/pgjdbc,marschall/pgjdbc,ekoontz/pgjdbc,panchenko/pgjdbc,golovnin/pgjdbc,zemian/pgjdbc,sehrope/pgjdbc,zapov/pgjdbc,lordnelson/pgjdbc,phillipross/pgjdbc,whitingjr/pgjdbc,alexismeneses/pgjdbc,marschall/pgjdbc,pgjdbc/pgjdbc,davecramer/pgjdbc,underyx/pgjdbc,jorsol/pgjdbc,rjmac/pgjdbc