Re: index problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Marcin Inkielman <marn(at)wsisiz(dot)edu(dot)pl>
Cc: postgres-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: index problem
Date: 2000-06-01 22:13:47
Message-ID: 27535.959897627@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Marcin Inkielman <marn(at)wsisiz(dot)edu(dot)pl> writes:
> I created an index using pgaccess rescently. the name of the index was
> long:
> "oceny_stud_numer_albumu_protokoloceny_stud"
> now i am unable to vacuum my database.

Oh dear :-( ... it seems that when you quote an identifier, the system
forgets to make sure that it's truncated to no more than 31 characters.
You've got a corrupted pg_class entry now for that index.

> my question is:
> ~~~~~~~~~~~~~~~
> how may i delete this index in my original database???

Dropping the table that the index is on should work. Hopefully
restoring just the one table is better than restoring your whole DB.

In the meantime, this is a high-priority bug fix...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Meskes 2000-06-01 22:17:05 Re: PostgreSQL article in LinuxWorld
Previous Message Jerry Lynde 2000-06-01 22:11:30 Re: Postmaster won't -HUP