X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 426C3D1C9EB for ; Thu, 31 Jul 2003 08:21:54 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 32027-08 for ; Thu, 31 Jul 2003 05:20:51 -0300 (ADT) Received: from cosimo.hosting365.ie (sprocket.hosting365.ie [217.114.166.205]) by svr1.postgresql.org (Postfix) with ESMTP id 92B35D1C9FF for ; Thu, 31 Jul 2003 05:21:51 -0300 (ADT) Received: from cosimo.hosting365.ie (localhost.localdomain [127.0.0.1]) by cosimo.hosting365.ie (8.12.8/8.12.8) with ESMTP id h6V8LXGg012221; Thu, 31 Jul 2003 09:21:33 +0100 Received: (from john@localhost) by cosimo.hosting365.ie (8.12.8/8.12.8/Submit) id h6V8LV31012219; Thu, 31 Jul 2003 09:21:31 +0100 X-Authentication-Warning: cosimo.hosting365.ie: john set sender to valen@tuatha.org using -f Subject: Re: Postgres db corrupted ? From: "John P. Looney" To: Tom Lane Cc: Mendola Gaetano , postgres In-Reply-To: <9583.1059575218@sss.pgh.pa.us> References: <1059470890.5588.41.camel@cosimo.hosting365.ie> <00ac01c3562c$18a76840$10d4a8c0@mm.eutelsat.org> <9583.1059575218@sss.pgh.pa.us> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-3LCP0MFjwAet7kLMOrPE" Organization: Message-Id: <1059639691.7984.2405.camel@cosimo.hosting365.ie> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 31 Jul 2003 09:21:31 +0100 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/352 X-Sequence-Number: 9692 --=-3LCP0MFjwAet7kLMOrPE Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2003-07-30 at 15:26, Tom Lane wrote: > "Mendola Gaetano" writes: > > ""John P. Looney"" writes: > >> bbadmin | | SQL_ASCII >=20 > > For sure a way to obtain this inconsistence is delete the owner of=20 > > a db and voila' a DB result to have no owner. >=20 > Nope. I don't know how John got into this state, but it most definitely > was not that way. Try it. OK, it turns out that the cause was the shared hosting admin software that was trying to add users and databases had some wierd problems (hidden obscure shell scripts crashing out when it couldn't find an up to date text dump of the pg_shadow file), which resulted in tables being created, given specific sysids for users that weren't created. Anyway, it looks like it wasn't a postgres bug that caused the problems. If any field should be considered "not null" though, it's that owner field! John --=-3LCP0MFjwAet7kLMOrPE Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA/KNGLYBVPvqzGrWgRAhMqAJ9POtgUfMVyZHJcqfDnEa0UjhJHCACfR677 NNjiZ0Xm4R6zjIdE3GPpo7s= =EWrX -----END PGP SIGNATURE----- --=-3LCP0MFjwAet7kLMOrPE--