* Make sure we don't crash if this function is fed a bogus OID * rename idx1, idx2 variables for clarity * tweak query against pg_class to specify reltype = 0 * CommandCounterIncrement() is probably unnecessary, removed