Re: Postgres will not start due to corrupt index

From: Igor Neyman <ineyman(at)perceptron(dot)com>
To: Robert Sosinski <rsosinski(at)ticketevolution(dot)com>, Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, "Spike Grobstein" <spike(at)ticketevolution(dot)com>
Subject: Re: Postgres will not start due to corrupt index
Date: 2012-10-03 18:19:22
Message-ID: A76B25F2823E954C9E45E32FA49D70EC08EB701F@mail.corp.perceptron.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


From: Robert Sosinski [mailto:rsosinski(at)ticketevolution(dot)com]
Sent: Wednesday, October 03, 2012 10:54 AM
To: Merlin Moncure
Cc: pgsql-general(at)postgresql(dot)org; Spike Grobstein
Subject: Re: Postgres will not start due to corrupt index

Hey Merlin,

Thanks.  Starting postgres with -P was something that I did not try.  Does postgres have any GIN or GIST system indexes though?

I would love to try it out, but the database has already been restored.  Will definitely keep this in mind for the future though.

Thanks again for the help,

-- 
Robert Sosinski

I wonder if there is a column in pg catalog, that indicates the type of the index. I couldn't find one.
So, I ran the following sql trying to find system indexes of gin or gist type:

select * from pg_indexes where schemaname = 'pg_catalog' and (indexdef like '%USING gist%' OR indexdef like '%USING gin%');

and it returned zero rows.

Regards,
Igor Neyman

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2012-10-03 18:30:07 Re: Sequence and Schema permissions information schema
Previous Message Ben Chobot 2012-10-03 18:13:30 surprising behavior or nothing to see here?