Re: Can not pg_dumpall

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Somazx Interesting <somazx(at)home(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Can not pg_dumpall
Date: 2001-06-08 20:40:54
Message-ID: 10800.992032854@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Somazx Interesting <somazx(at)home(dot)com> writes:
> Taking that to mean, "try deleting that orphaned trigger" - but since I
> don't know which table that trigger was on - I did it by deleting it
> through pg_trigger, I now get somewhat worse errors:

> getTables(): relation 'lessontable_548_118': 8 Triggers were expected, but
> got 7

Now you know which table it was on ;-)

You can fix this by adjusting the reltriggers field of pg_class for that
table.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dennis 2001-06-08 20:55:17 Cleanly cancel a query.
Previous Message Stephan Szabo 2001-06-08 20:30:51 Re: Can not pg_dumpall