shanker singh <shankers@xxxxxxxxx> writes: > I am trying to delete an extension db2_fdw but getting > ERROR: cache lookup failed for user mapping 476444 Hmm, seems like there must be a pg_depend entry claiming that that user mapping depends on the extension; which it shouldn't, but ... Is there a pg_depend row having objid = 476444? What's in it? regards, tom lane