From: Andrew Sullivan <andrew@libertyrms.info>
To: pgsql-admin@postgresql.org
Subject: Re: exclude a table from pg_dump
Date: Fri, 27 Sep 2002 10:10:51 -0400
Message-ID: <20020927101051.B18633@mail.libertyrms.com> (raw)
In-Reply-To: <000201c2622b$1b180530$cfa9cdd4@fish>
References: <000201c2622b$1b180530$cfa9cdd4@fish>
On Sun, Sep 22, 2002 at 02:27:52PM +0300, Kostis Mentzelos wrote:
> Hi all,
> is it possible to exclude a table from being pg_dumped?
Not really. If you knew there were no connections (and therefore
no-one changing data) you could do it in a shell script, passing the
-t option to pg_dump for each table except the one you want. But
that won't provide you with a truly guaranteed-consistent dump like a
normal pg_dump does.
I thought someone said something about adding a multiple-table
feature to the 7.3 pg_dump, but I just tried it on the beta, and it
didn't work differently than in 7.2.
A
--
----
Andrew Sullivan 204-4141 Yonge Street
Liberty RMS Toronto, Ontario Canada
<andrew@libertyrms.info> M2P 2A8
+1 416 646 3304 x110
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: andrew@libertyrms.info
Subject: Re: exclude a table from pg_dump
In-Reply-To: <20020927101051.B18633@mail.libertyrms.com>
References: <000201c2622b$1b180530$cfa9cdd4@fish> <20020927101051.B18633@mail.libertyrms.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox