"Zhang, Anna" <azhang@verisign.com> writes:
> ERROR: RelationBuildTriggers: 2 record(s) not found for rel domain.
> I deleted triggers that referenced domain before vacuum, is this the cause?
If you deleted them via "delete from pg_trigger" and not by DROP
TRIGGER, then yes.
You'll need to manually fix the value of pg_class.reltriggers for that
table.
regards, tom lane