Re: dumping a pg_* table

From: "Johnson, Shaunn" <SJohnson6(at)bcbsm(dot)com>
To: 'Tom Lane' <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 'Dave Page' <dpage(at)vale-housing(dot)co(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: dumping a pg_* table
Date: 2002-09-25 16:46:50
Message-ID: 73309C2FDD95D11192E60008C7B1D5BB04C73FB8@snt452.corp.bcbsm.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

--thanks for the reply:

--i'm not really looking to restore it.
--i've been having problems with pgAdmim II;
--i got a request for a dump of that
--table to see where the tool is failing.

--if it's just the data that is needed, i can
--copy to a file, but i'm guessing it's a bit
--more involved than that.

-X

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]

>"Johnson, Shaunn" <SJohnson6(at)bcbsm(dot)com> writes:
> I must be missing something simple: is it written
> somewhere that I can not dump a table that starts
> with pg_*?

Yeah, right in the pg_dump sources, about line 2100 of pg_dump.c
in release 7.2 ;-)

Why would you want to do a pg_dump of a system catalog, anyway?
You couldn't restore it. Perhaps what you really want is pg_dump's
-s (schema only) option.

regards, tom lane

Browse pgsql-general by date

  From Date Subject
Next Message Michelle Konzack 2002-09-25 16:47:26 Problem mit PostgreSQL
Previous Message Tom Lane 2002-09-25 16:45:18 Re: rotatelog / logrotate with PostgreSQL