Mark Gibson <[EMAIL PROTECTED]> writes: > I kept getting the following error: > ERROR: cache lookup failed for relation 4667548
This implies that something someplace still has a link to the table with that OID. You could do "\set VERBOSITY verbose" so that the code location the error occurs at gets reported; that might be enough information to guess what sort of thing is linking to the table. Or you could just dig through the system catalogs looking for 4667548 in an OID column that links to pg_class. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster