From: Daniel Seichter <daniel@dseichter.de>
To: pgsql-admin@postgresql.org
Subject: Re: pg_dumpall / pg_dump
Date: Tue, 06 May 2003 19:55:30 +0200
Message-ID: <3EB81332.24438.7F6358@localhost> (raw)
In-Reply-To: <20030506170230.GE23761@libertyrms.info>
References: <3EB7F3BC.7648.47F7F@localhost>
Hello Andrew,
> The most certain way is to do pg_dump in binary mode, and then use the
> catalogue after the fact to import only the target tables. But on a
> live database, three pg_dump -t statements is certain _not_ to get you
> a consistent snapshot. (Of course, if the consistency doesn't matter
> in your case, then it makes no difference.)
I dump the tables at a time, were I am sure, that no user is on the database. The dump
is used for another database, that creates a database with only these three tables.
Daniel
--
postgreSQL on Netware - the red elephanthttp://postgresql.dseichter.org
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: daniel@dseichter.de
Subject: Re: pg_dumpall / pg_dump
In-Reply-To: <3EB81332.24438.7F6358@localhost>
References: <3EB7F3BC.7648.47F7F@localhost> <3EB81332.24438.7F6358@localhost>
* 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