pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jérome Knobl <jknobl@mandanet.ch>
To: pgsql-admin@postgresql.org
Subject: How to recreate index of a pg table
Date: Wed, 01 Nov 2000 09:54:51 +0100
Message-ID: <39FFDA5B.4BA9E74@mandanet.ch> (raw)

Hi,

When I make a vacuum on my data base, I have the following NOTICE:

NOTICE:  Index pg_attrdef_adrelid_index: NUMBER OF INDEX' TUPLES (36) IS
NOT THE SAME AS HEAP' (34).
        Recreate the index.
NOTICE:  Index pg_attrdef_adrelid_index: NUMBER OF INDEX' TUPLES (36) IS
NOT THE SAME AS HEAP' (34).
        Recreate the index.

I had the same trouble on my own talbe, and to recreate the index, I
drop the index and recreate it.

But with an pg table I have the following message when I try to drop the
index :

ERROR:  class "pg_attrdef_adrelid_index" is a system catalog index

How can I recreate my pg_attrdef_adrelid_index?

Thanks.

Best regards, Jérome Knobl, Lausanne, Switzerland




Message-ID: <39FFDA5B.4BA9E74@mandanet.ch>
Permalink:  ../39FFDA5B.4BA9E74@mandanet.ch/
Also on:    postgresql.org/message-id/39FFDA5B.4BA9E74@mandanet.ch

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jknobl@mandanet.ch
  Subject: Re: How to recreate index of a pg table
  In-Reply-To: <39FFDA5B.4BA9E74@mandanet.ch>
  References: <39FFDA5B.4BA9E74@mandanet.ch>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox