Michael Monnerie <michael(dot)monnerie(at)it-management(dot)at> writes:
> On Donnerstag, 17. April 2008 Tom Lane wrote:
>> Before you zap the database, would you be willing to make the actual
>> database files (not a dump, but the stored files) available? I'd
>> be interested to take a closer look at that index.
> Yes, could you please give me the quick hint how to find out which
> SELECT I must do to find the correct directory to a database? I saw it
> once, but... many other things got stored in my brain in between, so I
> VACUUMed that information out ;-)
SELECT oid, datname FROM pg_database;
The stuff I need to look at is under $PGDATA/base/OID/.
Please also send the results of
SELECT relfilenode, relname FROM pg_class;
in the busted database --- that'll save trying to claw it out of
pg_class by hand.
regards, tom lane
In response to
pgsql-admin by date
|Next:||From: Tom Lane||Date: 2008-04-18 00:18:05|
|Subject: Re: Vacuumdb error |
|Previous:||From: Michael Monnerie||Date: 2008-04-17 23:28:14|
|Subject: Re: duplicate primary index in bayes db from SpamAssassin|