From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Matt Beauregard <matt(at)designscape(dot)com(dot)au> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Relation 'pg_user' does not exist |
Date: | 2000-11-09 03:03:05 |
Message-ID: | 3811.973738985@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Matt Beauregard <matt(at)designscape(dot)com(dot)au> writes:
>>>> NOTICE: mdopen: couldn't open pg_user: No such file or directory
>>
>> This is strange in itself. There should be an (empty) file named
>> pg_user in your $PGDATA/base/template1 directory --- is there?
>> What about pg_views?
> Neither are there.
Hmm. *Something's* been tromping on your database, then. Hard to tell
what happened from the information at hand ... but I'll bet the
corrupted index on pg_class is related somehow.
Since these are only views, the datafiles underlying them would be empty
anyway --- so you can recreate the datafiles just by doing
"touch $PGDATA/base/template1/pg_user" etc.
You could probably rebuild the corrupted index using REINDEX. I haven't
had to do that myself so I'm not sure about the procedure.
I'd definitely recommend a full dump, initdb, restore once you have
things working well enough to allow a dump. Whatever happened here,
you probably haven't seen all the effects yet :-(
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Stephan Szabo | 2000-11-09 03:49:09 | Re: Text concat Problem |
Previous Message | Matt Beauregard | 2000-11-09 01:58:26 | Re: Relation 'pg_user' does not exist |