Re: more corruption

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tim Perdue <tperdue(at)valinux(dot)com>
Cc: The Hermit Hacker <scrappy(at)hub(dot)org>, pgsql-hackers(at)hub(dot)org
Subject: Re: more corruption
Date: 2000-07-10 03:36:12
Message-ID: 200007100336.XAA10105@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

You have recreated what pg_upgrade does. It is for upgrading system
tables. If only your system tables were hosed, you are fine now.

> The Hermit Hacker wrote:
> > just a quick thought ... have you tried shutting down and restrating the
> > postmaster? basically, "reset" the shared memory? v7.x handles
> > corruptions like that alot cleaner, but previous versions caused odd
> > results if shared memory got corrupted ...
>
> Well, I've rebooted twice. In fact, it was a hard lock that caused the
> problems. When the machine was brought back up, the db was foobar.
>
> I'm doing something really really evil to avoid losing the last days'
> data:
>
> -I created a new db
> -used the old db schema to create all new blank tables
> -copied the physical table files from the old data directory into the
> new database directory
> -currently vacuuming the new db - nothing is barfing yet
> -now hopefully I can create my indexes and be back in business
>
> Tim
>
> --
> Founder - PHPBuilder.com / Geocrawler.com
> Lead Developer - SourceForge
> VA Linux Systems
> 408-542-5723
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Philip Warner 2000-07-10 03:42:36 pg_backup symlink?
Previous Message Tim Perdue 2000-07-10 03:26:33 Re: more corruption