Re: Missing chunk number on a view?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Keaton Adams <kadams(at)mxlogic(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Missing chunk number on a view?
Date: 2008-06-11 23:02:36
Message-ID: 20783.1213225356@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Keaton Adams <kadams(at)mxlogic(dot)com> writes:
> Sorry. Good point. I always try to remember to include that important info:
> PostgreSQL 8.1.4 on RHEL 4 (we're moving to 8.3.x on RHEL 5 this summer)

okay, in 8.1 I get

regression=# select reltoastrelid from pg_class where relname = 'pg_rewrite';
reltoastrelid
---------------
10305
(1 row)

regression=# select reltoastidxid::regclass from pg_class where oid = 10305;
reltoastidxid
------------------------------
pg_toast.pg_toast_2618_index
(1 row)

So it looks like you want to try

regression=# reindex index pg_toast.pg_toast_2618_index;
REINDEX

although it wouldn't hurt to redo the first two steps just to be sure
that's the right one on your installation too.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adam Dear 2008-06-11 23:05:05 Re: Unable to dump database using pg_dump
Previous Message Tom Lane 2008-06-11 22:52:45 Re: Unable to dump database using pg_dump