Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group