Re: vacuum error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Zhang, Anna" <azhang(at)verisign(dot)com>
Cc: "'pgsql-admin(at)postgresql(dot)org'" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: vacuum error
Date: 2002-03-08 20:05:05
Message-ID: 21089.1015617905@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Zhang, Anna" <azhang(at)verisign(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Felipe Nascimento 2002-03-09 00:21:18 column name length
Previous Message Stephan Szabo 2002-03-08 18:53:29 Re: vacuum error