From: Arnau <arnaulist@andromeiberica.com>
To: pgsql-admin@postgresql.org
Subject: Re: Error dropping tables: "ERROR: could not find tuple
Date: Tue, 09 May 2006 15:04:21 +0200
Message-ID: <44609355.4090102@andromeiberica.com> (raw)
In-Reply-To: <4460544A.7060606@andromeiberica.com>
References: <4460544A.7060606@andromeiberica.com>
Arnau wrote:
> Hi all,
>
> I have problems droppping some tables in a DB running on postgreSQL
> 7.4.2. Below you have an example of what is happening:
>
> coltr_demo=# drop table agenda_users_groups;
> ERROR: could not find tuple for trigger 112070831
>
> I haven't found anything about how to solve this, anybody knows?
>
> Thanks
The solution I have done is:
select oid from pg_class where relname = 'agenda_users_groups';
oid
----------
27970458
(1 row)
begin;
delete from pg_class where oid = 27970458;
delete from pg_depend where objid = 27970458;
delete from pg_constraint where conrelid = 27970458;
commit;
Anybody knows if I should delete anything else?
--
Arnau
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: arnaulist@andromeiberica.com
Subject: Re: Error dropping tables: "ERROR: could not find tuple
In-Reply-To: <44609355.4090102@andromeiberica.com>
References: <4460544A.7060606@andromeiberica.com> <44609355.4090102@andromeiberica.com>
* 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