pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Error dropping tables: "ERROR:  could not find tuple for trigger "
2+ messages / 1 participants
[nested] [flat]

* Error dropping tables: "ERROR:  could not find tuple for trigger "
@ 2006-05-09 08:35  Arnau <arnaulist@andromeiberica.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Arnau @ 2006-05-09 08:35 UTC (permalink / raw)
  To: pgsql-admin

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
-- 
Arnau



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Error dropping tables: "ERROR:  could not find tuple
@ 2006-05-09 13:04  Arnau <arnaulist@andromeiberica.com>
  parent: Arnau <arnaulist@andromeiberica.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Arnau @ 2006-05-09 13:04 UTC (permalink / raw)
  To: pgsql-admin

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-05-09 13:04 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-05-09 08:35 Error dropping tables: "ERROR:  could not find tuple for trigger " Arnau <arnaulist@andromeiberica.com>
2006-05-09 13:04 ` Re: Error dropping tables: "ERROR:  could not find tuple Arnau <arnaulist@andromeiberica.com>

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