Re: Almost all access to database hangs (fwd)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org, Sven Fischer <sepreh(at)gmx(dot)de>
Subject: Re: Almost all access to database hangs (fwd)
Date: 2001-04-05 14:23:03
Message-ID: 16545.986480583@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Oliver Elphick" <olly(at)lfix(dot)co(dot)uk> writes:
>> However, if \dt hangs, the problem is probably in a system index;
>> pg_class has two indexes: pg_class_oid_index and pg_class_relname_index.

> I can do a select * on pg_class, but that's it. Anything else I tried
> hangs.

Sounds like a job for REINDEX. I have not had to do this myself, but
I think the procedure is (a) stop postmaster, (b) start a standalone
backend with -O -P, (c) tell it to REINDEX DATABASE. Not sure about
that, especially about the switches to start the backend with. Read
the documentation.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Paul A. Lender 2001-04-05 14:25:28 Data transfer format between UNIX server and Windows client?
Previous Message z.nijmeyers 2001-04-05 14:08:35 Re: Re: compiling on IRIX 6.3 or does anyone hav a tar of the (irix)compiled include dir for me?