X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 39D985E46C0 for ; Fri, 13 Aug 2004 14:58:20 -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 33636-04 for ; Fri, 13 Aug 2004 17:58:12 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 9A11F5E37D0 for ; Fri, 13 Aug 2004 14:58:12 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i7DHsCW8025182; Fri, 13 Aug 2004 13:54:12 -0400 (EDT) To: Thomas Seeber Cc: PostgreSQL Subject: Re: Wierd Error on update In-reply-to: <578aa3f704081309222548a2e@mail.gmail.com> References: <578aa3f7040811132151bb6f41@mail.gmail.com> <20891.1092264526@sss.pgh.pa.us> <578aa3f704081309222548a2e@mail.gmail.com> Comments: In-reply-to Thomas Seeber message dated "Fri, 13 Aug 2004 11:21:53 -0500" Date: Fri, 13 Aug 2004 13:54:12 -0400 Message-ID: <25181.1092419652@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/121 X-Sequence-Number: 18618 Thomas Seeber writes: >>> I am getting two errors which are a bit confounding. >>> ERROR: pg_class_aclcheck:relation 474653086 not found >> How about triggers? Foreign keys? Rules? > Neither of the updates touch any rules. > sis_system_id has a foreign key constaint to another table that does > in it contain a value of 9 for sis_system_id in that table, but the > first isnt touching anything that has a trigger or foreign key > constraint attached to the column. > The table school_info_l has many contraints that affect other tables however I would guess that one or another of these foreign-key constraints is broken. I'd suggest looking through pg_trigger to see if there are any entries with tgconstrrelid = 474653086. I wouldn't necessarily recommend just deleting such an entry, mind you, but finding where the problem is is the first step... regards, tom lane