Re: yowch: dumpRules(): SELECT failed for table website.
От | Alfred Perlstein |
---|---|
Тема | Re: yowch: dumpRules(): SELECT failed for table website. |
Дата | |
Msg-id | 20000524025959.T28097@fw.wintelcom.net обсуждение исходный текст |
Ответ на | Re: yowch: dumpRules(): SELECT failed for table website. (Alfred Perlstein <bright@wintelcom.net>) |
Список | pgsql-hackers |
* Hiroshi Inoue <Inoue@tpf.co.jp> [000524 02:58] wrote: > > -----Original Message----- > > From: Alfred Perlstein [mailto:bright@wintelcom.net] > > > > * Hiroshi Inoue <Inoue@tpf.co.jp> [000524 02:40] wrote: > > > > -----Original Message----- > > > > From: pgsql-hackers-owner@hub.org > > [mailto:pgsql-hackers-owner@hub.org]On > > > > Behalf Of Alfred Perlstein > > > > > > > > while doing a pg_dump of a table after postgresql made a mess > > of itself: > > > > > > > > dumpRules(): SELECT failed for table website. Explanation from > > > > backend: 'ERROR: cache lookup of attribute 1 in relation > > 9892634 failed > > > > '. > > > > > > > > Guys, there has to be a simple command to fix a corrupted database. > > > > > > > > I'm really killing myself over here trying to mix REINDEX, VACUUM > > > > along with creating temp tables and reinserting the data > > which gives me: > > > > > > > > > > How did you issue REINDEX command ? > > > > postmaster -p 1080 -o "-O -P" > > was run > > then: > > > > psql -p 1080 webcounter > > REINDEX DATABASE webcounter force; > > > > Hmm,shutdown postmaster and invoke standalone postgres. > > postgres -O -P webmaster > REINDEX DATABASE webcounter force; > ^D gah! ~/scripts % postgres -O -P webmaster DEBUG: Data Base System is starting up at Wed May 24 02:24:49 2000 DEBUG: Data Base System was shut down at Wed May 24 02:24:46 2000 DEBUG: Data Base System is in production state at Wed May 24 02:24:49 2000 FATAL 1: Database "webmaster" does not exist in the system catalog. FATAL 1: Database "webmaster" does not exist in the system catalog. not good :( -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk."
В списке pgsql-hackers по дате отправления: