Re: [BUGS] vacuum analyze corrupts db with larger tuples (< 8k)

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Dirk Lutzebaeck <lutzeb(at)aeccom(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: [BUGS] vacuum analyze corrupts db with larger tuples (< 8k)
Date: 2000-01-05 17:46:17
Message-ID: 200001051746.MAA26430@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> Tom Lane writes:
>
> > I have applied the attached patch to the REL6_5 branch. (There is
> > already similar code in the current branch.) I'm afraid it won't
> > help you recover from an already-corrupted pg_statistic table, though.
>
> How can I recover from this? Simply delete the entries in pg_statistic?
> Is this possible?

The only fix I know is pg_upgrade. You may have to enable the script.
--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Karl DeBisschop 2000-01-06 15:35:13 Re: [BUGS] problem creating index in 6,5,3
Previous Message Tom Lane 2000-01-05 14:38:50 Re: [BUGS] vacuum analyze corrupts db with larger tuples (< 8k)