=?UTF-8?B?UMOpdGVyIEtvdsOhY3M=?= <peter(dot)dunay(dot)kovacs(at)gmail(dot)com> writes:
> I'm confused by the error message. Is a cache miss an error condition?
Well, this isn't a "cache miss", it's more of a "there's no such OID in
the pg_class catalog" condition. Normally you see something more
user-friendly; but in the case of going to remove a cross-table linkage,
the code isn't expecting the other table to not be there, so you get a
pretty low-level error.
regards, tom lane