Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f2UENTK50867 for ; Fri, 30 Mar 2001 09:23:29 -0500 (EST) (envelope-from pgsql-admin-owner@postgresql.org) Received: from news.tht.net (news.hub.org [216.126.91.242]) by mail.postgresql.org (8.11.3/8.11.1) with ESMTP id f2S7eDw97796 for ; Wed, 28 Mar 2001 02:40:13 -0500 (EST) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.1/8.11.1) id f2S7b3394302 for pgsql-admin@postgresql.org; Wed, 28 Mar 2001 02:37:03 -0500 (EST) (envelope-from news) From: Marcin Kowalski X-Newsgroups: comp.databases.postgresql.admin Subject: Re: pg_dump potential bug Date: Wed, 28 Mar 2001 09:37:21 +0200 Organization: Datrix Solutions Lines: 54 Message-ID: <99s4an$2s1i$1@news.tht.net> References: <99pkvj$2are$1@news.tht.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: scrappy@hub.org User-Agent: KNode/0.4 To: pgsql-admin@postgresql.org X-Archive-Number: 200103/257 X-Sequence-Number: 1113 Hi I would have expected this problem to have been brought up long ago with people doing database backups and restores. Anyway below are the details I am running PostgreSQL v 7.0.3 (upgraded yesterday from 7.0.2) on SuSE 6.3 with 2.2.17(SMP) kernel with S/W raid patch. The actual database is running on a 40 GIG Software RAID0 Ext2fs partition. It has approximately 13million records in 9 tables with most of the data residing in 2 tables(+- 6Mill Each). The machine is a Dual PII-350 with 256 meg of Ram. Each table has two indices, both on two fields. Is it possible that one of the system tables has been corrupted and shows multiple entries for the tables?? This makes me a bit worried about system integrity. When I do a simple select * from tablename it works fine, what does pg_dump do that I don't ??? Thanks in ADvance MarCin > Marcin Kowalski writes: > > kowalski@dagoba > pg_dump -t bob testdatabase > > \connect - kowalski > > CREATE TABLE "bob" ( > > "number" int4, > > "description" text > > ); > > CREATE TABLE "bob" ( > > "number" int4, > > "description" text > > ); > > COPY "bob" FROM stdin; > > 4453 This is just a test of pg_dump > > \. > > COPY "bob" FROM stdin; > > 4453 This is just a test of pg_dump > > \. > > Strange. I can't duplicate this (and neither can anyone else, or we'd > have heard about it long since). What platform are you on? How did you > build or obtain your executables? > > regards, tom lane -- ----------------------------- Marcin Kowalski Linux/Perl Developer Datrix Solutions Cel. 082-400-7603 ***Open Source Kicks Ass*** -----------------------------