From: Martijn van Oosterhout <kleptog@svana.org>
To: Ed L. <pgsql@bluepolka.net>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-general@postgresql.org
Cc: Joshua D. Drake <jd@commandprompt.com>
Subject: Re: vacuum error
Date: Thu, 8 Mar 2007 19:25:11 +0100
Message-ID: <20070308182511.GA13790@svana.org> (raw)
In-Reply-To: <200703071907.45462.pgsql@bluepolka.net>
References: <200703061110.08896.pgsql@bluepolka.net>
<200703070229.08796.pgsql@bluepolka.net>
<20070307101335.GC1482@svana.org>
<200703071907.45462.pgsql@bluepolka.net>
On Wed, Mar 07, 2007 at 07:07:45PM -0700, Ed L. wrote:
> How would I go about correctly creating the missing file? That
> sounds appealing, as if it were something I could do without
> taking downtime. Is it?
Depends if it's because the file got deleted prematurly, or because
it's the result of corruption in the table. If it's just that it got
deleted prematurely, you should just be able to create the file with
256KB of zeros.
> In reviewing the release notes between 8.1.2 and 8.1.8, there are
> a number of vacuum fixes along with many others. It is unclear
> if any of them are related.
There definitly was a bug related to this and you should upgrade to the
latest minor release anyway, because it will probably bite you again.
> Given this error is occurring while doing a "VACUUM FREEZE" of
> the template0 database, I wonder if that creates any options for
> me? Frankly, I'd be happy to simply drop the template0 DB if I
> could, since I'm not aware that we ever need it for anything.
You can drop and recreate the template0 database, instructions are
somewhere. I don't think you can do without because I beleive pg_dump
needs it.
Have a nice day,
--
Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/> From each according to his ability. To each according to his ability to litigate.
Attachments:
signature.asc (application/pgp-signature, 188B) download
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: kleptog@svana.org, pgsql@bluepolka.net, peter_e@gmx.net, jd@commandprompt.com
Subject: Re: vacuum error
In-Reply-To: <20070308182511.GA13790@svana.org>
References: <200703061110.08896.pgsql@bluepolka.net> <200703070229.08796.pgsql@bluepolka.net> <20070307101335.GC1482@svana.org> <200703071907.45462.pgsql@bluepolka.net> <20070308182511.GA13790@svana.org>
* 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