X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4ACF352917 for ; Wed, 17 Aug 2005 17:40:31 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 44884-07 for ; Wed, 17 Aug 2005 20:40:29 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 83BE8528DB for ; Wed, 17 Aug 2005 17:40:28 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j7HKeIQA007768; Wed, 17 Aug 2005 16:40:19 -0400 (EDT) To: Craig Servin Cc: pgsql-admin@postgresql.org Subject: Re: Updateing pg_trigger and pg_constraint In-reply-to: <200508161521.23802.cservin@cromagnon.com> References: <200508161521.23802.cservin@cromagnon.com> Comments: In-reply-to Craig Servin message dated "Wed, 17 Aug 2005 13:00:33 -0500" Date: Wed, 17 Aug 2005 16:40:18 -0400 Message-ID: <7767.1124311218@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 required=5 tests=[AWL=0.006] X-Spam-Level: X-Archive-Number: 200508/231 X-Sequence-Number: 18550 Craig Servin writes: > I am trying to make some foreign keys deferrable and initially deferred. > These foreign key constraints already exist so I was going to change them by > updating pg_trigger and pg_constraint. > However the changes do not seem to take affect. Is there something I need to > do to get PostgreSQL to recognize that I have tweaked it's tables? Try starting a fresh backend session. Manual hacking of those tables isn't going to cause a relcache reload ... regards, tom lane