Re: Manual trigger removal [WAS] Flushing Postgres Function Cache

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Raf <rafiq(at)joshua(dot)dreamthought(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Manual trigger removal [WAS] Flushing Postgres Function Cache
Date: 2007-05-17 13:42:43
Message-ID: 23181.1179409363@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Raf <rafiq(at)joshua(dot)dreamthought(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Raf 2007-05-17 13:54:40 Re: Manual trigger removal [WAS] Flushing Postgres Function Cache
Previous Message Johann Spies 2007-05-17 13:20:33 Re: ERROR: invalid memory alloc request size