Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 807329FBE85 for ; Thu, 8 Mar 2007 14:25:23 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 02627-03 for ; Thu, 8 Mar 2007 14:25:16 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from svana.org (calyx.svana.org [125.62.87.134]) by postgresql.org (Postfix) with ESMTP id 0A0F29FBDB4 for ; Thu, 8 Mar 2007 14:25:17 -0400 (AST) Received: from kleptog by svana.org with local (Exim 4.50) id 1HPNId-0003cF-Aq; Fri, 09 Mar 2007 05:25:11 +1100 Date: Thu, 8 Mar 2007 19:25:11 +0100 From: Martijn van Oosterhout To: "Ed L." Cc: Peter Eisentraut , pgsql-general@postgresql.org, "Joshua D. Drake" Subject: Re: vacuum error Message-ID: <20070308182511.GA13790@svana.org> Reply-To: Martijn van Oosterhout Mail-Followup-To: "Ed L." , Peter Eisentraut , pgsql-general@postgresql.org, "Joshua D. Drake" References: <200703061110.08896.pgsql@bluepolka.net> <200703070229.08796.pgsql@bluepolka.net> <20070307101335.GC1482@svana.org> <200703071907.45462.pgsql@bluepolka.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Nq2Wo0NMKNjxTN9z" Content-Disposition: inline In-Reply-To: <200703071907.45462.pgsql@bluepolka.net> X-PGP-Key-ID: Length=1024; ID=0x0DC67BE6 X-PGP-Key-Fingerprint: 295F A899 A81A 156D B522 48A7 6394 F08A 0DC6 7BE6 X-PGP-Key-URL: User-Agent: Mutt/1.5.9i X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: kleptog@svana.org X-SA-Exim-Scanned: No (on svana.org); SAEximRunCond expanded to false X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.066 tagged_above=0 required=5 tests=AWL, BAYES_50 X-Spam-Level: X-Archive-Number: 200703/448 X-Sequence-Number: 110638 --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 07, 2007 at 07:07:45PM -0700, Ed L. wrote: > How would I go about correctly creating the missing file? That=20 > sounds appealing, as if it were something I could do without=20 > 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=20 > a number of vacuum fixes along with many others. It is unclear=20 > 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=20 > the template0 database, I wonder if that creates any options for=20 > me? Frankly, I'd be happy to simply drop the template0 DB if I=20 > 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, --=20 Martijn van Oosterhout http://svana.org/kleptog/ > From each according to his ability. To each according to his ability to l= itigate. --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFF8FUHIB7bNG8LQkwRAjTwAJ9zaPfIlgpg/NHik86UNLwVIAMKIwCffrNY khEykY02bjOAE0Z9oE7AchM= =wMq4 -----END PGP SIGNATURE----- --Nq2Wo0NMKNjxTN9z--