Search Postgresql Archives

Re: ERROR: could not find tuple for trigger 37463634

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



De : Tom Lane [mailto:tgl@xxxxxxxxxxxxx]
> > pnssi_profiles_bench=# drop SCHEMA _pnssi_slony_bench_profiles_01_110
> cascade;
> > ERROR:  could not find tuple for trigger 37463634
> 
> You might try reindexing pg_trigger before doing anything more invasive,
> just in case the tuple is there but it's not being found because of a
> messed-up index.

  Well, at some point we tried "REINDEX DATABASE pnssi_profiles_bench;" 
and "REINDEX SYSTEM pnssi_profiles_bench;", would that be equivalent?

> 
> >   As you can see, this is a slony setup, but I'm not sure that's
> > relevant.
> 
> It could be --- Slony plays some not-very-nice games with the system
> catalogs, or at least used to.  If reindex doesn't fix things I'd
> suggest asking about this on the Slony lists.

  I'm sorry to say that I ended up taking drastic measures (several 
"delete from pg_depend where refobjid=foo;") before trying something 
else (after some pressure from the-powers-that-are :-P). after that we 
managed to drop the schema. I have the details if you want.

  in any case, this is not the first time we drop a slony schema to 
rebuild everything, but it's the first time we have this kind of 
problems.

  I'm pretty sure after what I have done some objects might still be 
dangling in the db (even more, now that I remember, at some point we did 
"delete from pg_trigger where tgname like '%01_110%';"; yes, I know, 
it's a blunt approach). Is there any way to find those, if they exist?

--
Marcos Dione
SysAdmin
Astek Sud-Est
pour FT/TGPF/OPF/PORTAIL/DOP/HEBEX @ Marco Polo
04 97 12 62 45 - mdione.ext@xxxxxxxxxx

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorization.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified.
Thank you.


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux