Patrick.FICHE@xxxxxxxxxxx writes: > classid | objid | objsubid | refclassid | refobjid | refobjsubid | deptype > ---------+--------+----------+------------+----------+-------------+-------- > - > 1247 | 463559 | 0 | 1259 | 463558 | 0 | i > 1259 | 463558 | 0 | 16672 | 440012 | 0 | n > (2 rows) Well, what I'd recommend is to manually delete those two rows in pg_depend and then delete the row in pg_type. This may not clean things up 100% but it should be close enough. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org