Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 170E42E1E93 for ; Tue, 11 Mar 2008 10:25:13 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 81365-06 for ; Tue, 11 Mar 2008 10:24:44 -0300 (ADT) X-Greylist: delayed 00:29:53.184194 by SQLgrey-1.7.5 Received: from smtp1.betherenow.co.uk (smtp1.betherenow.co.uk [87.194.0.68]) by postgresql.org (Postfix) with SMTP id 99A662E2A31 for ; Tue, 11 Mar 2008 10:24:41 -0300 (ADT) Received: from kwest2.local (87-194-9-96.bethere.co.uk [87.194.9.96]) by smtp1.betherenow.co.uk (Postfix) with SMTP id 48EAB981CA for ; Tue, 11 Mar 2008 12:54:40 +0000 (GMT) Received: from [192.168.0.43] (unknown [192.168.0.43]) by kwest2.local (Postfix) with ESMTP id DB46CF28068 for ; Tue, 11 Mar 2008 12:54:12 +0000 (GMT) Message-ID: <47D68111.1000101@kwest.info> Date: Tue, 11 Mar 2008 12:54:41 +0000 From: Kieran McCusker User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Perform an action on schema drop Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.152 tagged_above=0 required=5 tests=AWL=0.152 X-Spam-Level: X-Archive-Number: 200803/82 X-Sequence-Number: 28565 Hi We use schemas to partition the database into client jobs, with public tables knowing about client. I would like to update the public tables if we remove a schema but cannot find a way to do it - I have tried triggers (not allowed) and a delete rule but all to no avail. Is this possible? Many Thanks Kieran