Re: dumping a pg_* table - Mailing list pgsql-general

From Johnson, Shaunn
Subject Re: dumping a pg_* table
Date
Msg-id 73309C2FDD95D11192E60008C7B1D5BB04C73FB8@snt452.corp.bcbsm.com
Whole thread Raw
In response to dumping a pg_* table  ("Johnson, Shaunn" <SJohnson6@bcbsm.com>)
List 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@sss.pgh.pa.us]

>"Johnson, Shaunn" <SJohnson6@bcbsm.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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: rotatelog / logrotate with PostgreSQL
Next
From: Neil Conway
Date:
Subject: Re: Prepared statement performance...