pg_dump potential bug

From: Marcin Kowalski <kowalski(at)datrix(dot)co(dot)za>
To: pgsql-admin(at)postgresql(dot)org(dot)pgsql-bugs(at)postgresql(dot)org(dot)pgsql-general(at)postgresql(dot)org
Subject: pg_dump potential bug
Date: 2001-03-27 09:03:07
Message-ID: 99pkvj$2are$1@news.tht.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-bugs pgsql-general pgsql-hackers pgsql-sql

Hi All...

I've got a slight problem with pg_dump in Postgres v7.0.3, in basically
duplicates all the data that it extracts

I do a
testdatabase>CREATE TABLE bob (number int4,description text);
testdatabase>INSERT INTO TABLE bob VALUES (4453,'This is just a test of
pg_dump');

then

kowalski(at)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
\.

As you can see the records are duplicated. I discovered this when I tried
to migrate from 7.0.3 to 7.1 and found performance suddenly took a terrible
dive. Is there a patch for pg_dump ??

Thanks for any help
MarCin

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message antken 2001-03-27 16:10:15 Starting postgresql on boot
Previous Message Subra Radhakrishnan 2001-03-27 02:22:03 Sorry, too many clients already

Browse pgsql-bugs by date

  From Date Subject
Next Message pgsql-bugs 2001-03-27 09:35:11 Wrong formated date on the first day of the Daylight Saving time.
Previous Message Tom Lane 2001-03-27 01:00:54 Re: [JDBC] Possible large object bug?

Browse pgsql-general by date

  From Date Subject
Next Message gravity 2001-03-27 09:14:57 Re: Free PostgreSQL Database Hosting - Needs Beta Testers
Previous Message Tatsuo Ishii 2001-03-27 08:57:24 Re: Call for platforms

Browse pgsql-hackers by date

  From Date Subject
Next Message Pete Forman 2001-03-27 09:20:07 Fix for possible pg_dump core dump
Previous Message Tatsuo Ishii 2001-03-27 08:57:24 Re: Call for platforms

Browse pgsql-sql by date

  From Date Subject
Next Message juerg.rietmann 2001-03-27 09:20:18 Re: Still don't know how to build this string ? how to concat ??
Previous Message Richard Huxton 2001-03-27 08:26:47 Re: pl/pgsql and returning rows