Re: pg_dump potential bug

From: Marcin Kowalski <kowalski(at)datrix(dot)co(dot)za>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_dump potential bug
Date: 2001-03-28 07:37:21
Message-ID: 99s4an$2s1i$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

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 <kowalski(at)datrix(dot)co(dot)za> writes:
> > 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
> > \.
>
> 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***
-----------------------------

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Salvador Mainé 2001-03-28 10:51:20 date_part bug?
Previous Message dhninh 2001-03-28 03:48:52

Browse pgsql-bugs by date

  From Date Subject
Next Message Andriy I Pilipenko 2001-03-28 09:56:13 bug in PLPGSQL
Previous Message webmaster 2001-03-28 06:37:31 pq_shadow

Browse pgsql-general by date

  From Date Subject
Next Message Lars Maschke 2001-03-28 10:42:04 stability problems
Previous Message Einar Karttunen 2001-03-28 06:21:58 Re: Out of date security docs

Browse pgsql-hackers by date

  From Date Subject
Next Message Gilmour Rankoe 2001-03-28 07:48:18 drivers for postgresql
Previous Message Hiroshi Inoue 2001-03-28 06:19:05 Re: [HACKERS] Re: possible row locking bug in 7.0.3 & 7.1

Browse pgsql-sql by date

  From Date Subject
Next Message Sondaar Roelof 2001-03-28 08:29:48 Function x returns opaque in error typeidTypeRelid
Previous Message Hiroshi Inoue 2001-03-28 06:19:05 Re: [HACKERS] Re: possible row locking bug in 7.0.3 & 7.1