Received: from smtp0.telegraaf.net (smtp0.telegraaf.net [217.196.45.130]) by postgresql.org (Postfix) with ESMTP id 60C89475452 for ; Thu, 18 Apr 2002 06:18:03 -0400 (EDT) Received: from server9.telegraafnet.nl (server9.telegraafnet.nl [192.168.1.9]) by smtp0.telegraaf.net (Postfix) with ESMTP id 3E367439BC for ; Thu, 18 Apr 2002 12:18:00 +0200 (CEST) Received: from there (c22601.ws.tem.nl [192.168.1.61]) by server9.telegraafnet.nl (8.11.1/8.11.1/Debian 8.11.0-6) with SMTP id g3IAI2B06761 for ; Thu, 18 Apr 2002 12:18:02 +0200 Message-Id: <200204181018.g3IAI2B06761@server9.telegraafnet.nl> X-Authentication-Warning: server9.telegraafnet.nl: Host c22601.ws.tem.nl [192.168.1.61] claimed to be there Content-Type: text/plain; charset="iso-8859-15" From: Ferdinand Smit To: pgsql-admin@postgresql.org Subject: How to repair a corrupt database Date: Thu, 18 Apr 2002 12:17:59 +0200 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archive-Number: 200204/171 X-Sequence-Number: 4059 Hi, Sometimes when i import a psql dump, i found out that the original dabases had fault values (NULL value where NULL is not allowd, dubble primary keys ...). This cost me a lot of time to correct everything. So, how kan i repair a postgres database before i make an export ? Regards, Ferdinand