pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Seeber <thomas.seeber@gmail.com>
Cc: PostgreSQL <pgsql-sql@postgresql.org>
Subject: Re: Wierd Error on update
Date: Fri, 13 Aug 2004 13:54:12 -0400
Message-ID: <25181.1092419652@sss.pgh.pa.us> (raw)
In-Reply-To: <578aa3f704081309222548a2e@mail.gmail.com>
References: <578aa3f7040811132151bb6f41@mail.gmail.com>
	<20891.1092264526@sss.pgh.pa.us>
	<578aa3f704081309222548a2e@mail.gmail.com>

Thomas Seeber <thomas.seeber@gmail.com> 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



view thread (5+ messages)

Message-ID: <25181.1092419652@sss.pgh.pa.us>
Permalink:  ../25181.1092419652@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25181.1092419652@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, thomas.seeber@gmail.com
  Subject: Re: Wierd Error on update
  In-Reply-To: <25181.1092419652@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox