Re: Manual trigger removal [WAS] Flushing Postgres Function Cache - Mailing list pgsql-admin

From Tom Lane
Subject Re: Manual trigger removal [WAS] Flushing Postgres Function Cache
Date
Msg-id 23181.1179409363@sss.pgh.pa.us
Whole thread Raw
In response to Re: Manual trigger removal [WAS] Flushing Postgres Function Cache  (Raf <rafiq@joshua.dreamthought.com>)
Responses Re: Manual trigger removal [WAS] Flushing Postgres Function Cache  (Raf <rafiq@joshua.dreamthought.com>)
List pgsql-admin
Raf <rafiq@joshua.dreamthought.com> writes:
> The final step was the decrement the reltriggers counter for the parent
> table's pg_class entry to 0.  This appears to have resolved the problem.

You should probably have set it to 3 not 0; what you did has disabled
*all* the triggers on that table.  Is that really what you want?

> I'm curious as to whether the problem may have resulted from slony
> corruptting internal pg_<tables> or postgres not correctly respecting the
> integrity of drop-trigger type transactions and their respective
> dependencies.

You'd be better off asking about that on the Slony mailing lists.

            regards, tom lane

pgsql-admin by date:

Previous
From: Johann Spies
Date:
Subject: Re: ERROR: invalid memory alloc request size
Next
From: Raf
Date:
Subject: Re: Manual trigger removal [WAS] Flushing Postgres Function Cache