Gregory Stark <[EMAIL PROTECTED]> writes: > On the other hand the problem does not occur if the CREATE TABLE is in the > same session. Nor if the REINDEX DATABASE is skipped.
It appears that you have to do the RENAME TABLE in the same session as the REINDEX DATABASE. Furthermore, the failure then persists into subsequent sessions. There is a "yyy" entry in pg_class, but index searches using pg_class_relname_nsp_index don't find it. Also, I can still reproduce it with just REINDEX TABLE pg_class instead of REINDEX DATABASE. What I suspect is we've broken the logic that manages REINDEX applied to pg_class itself. There's a mighty delicate dance that goes on there, and we haven't tested it too much lately. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs