pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: JT Kirkpatrick <jt-kirkpatrick@mpsllc.com>
To: 'pgsql-sql@hub.org' <pgsql-sql@hub.org>
To: 'pgsql-interfaces@hub.org' <pgsql-interfaces@hub.org>
To: 'pgsql-general@hub.org' <pgsql-general@hub.org>
To: 'pgsql-admin@hub.org' <pgsql-admin@hub.org>
To: 'pgsql-hackers@hub.org' <pgsql-hackers@hub.org>
Subject: TUPLES <> HEAP
Date: Tue, 20 Apr 1999 14:58:48 -0400
Message-ID: <01BE8B3E.4C03C020.jt-kirkpatrick@mpsllc.com> (raw)

Hi all.  Head hanging a little low, even though system still seems to work 
fine.  Here is what I did:

- update pg_class set relname = lower(relname);
- update pg_attribute set attname = lower(attname);
- (why did I do that?  Following something I read, not really having 
problems in the first place and  not really knowing the effects).

Now when I vacuum I get the error messages:
NOTICE:  Index pg_class_relname_index: NUMBER OF INDEX' TUPLES (108) IS NOT 
THE SAME AS HEAP' (82)
NOTICE:  Index pg_class_oid_index: NUMBER OF INDEX' TUPLES (108) IS NOT THE 
SAME AS HEAP' (82)

I'd like to drop these indexes and re-create them, hoping that would solve 
the problem.  But I tried to drop them and postgres wouldn't let me - 
claiming they were system catalog indexes.  Would dropping and recreating 
the indexes get rid of the error messages?  If so, how can I drop them and 
what is the proper way to recreate them?

Newbie mistakes aren't much fun.  Thanks for helping. . .

jt




view thread (3+ messages)  latest in thread

Message-ID: <01BE8B3E.4C03C020.jt-kirkpatrick@mpsllc.com>
Permalink:  ../01BE8B3E.4C03C020.jt-kirkpatrick@mpsllc.com/
Also on:    postgresql.org/message-id/01BE8B3E.4C03C020.jt-kirkpatrick@mpsllc.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: jt-kirkpatrick@mpsllc.com, pgsql-sql@hub.org, pgsql-interfaces@hub.org, pgsql-general@hub.org, pgsql-admin@hub.org, pgsql-hackers@hub.org
  Subject: Re: TUPLES <> HEAP
  In-Reply-To: <01BE8B3E.4C03C020.jt-kirkpatrick@mpsllc.com>

* 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