X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 2E143476438 for ; Tue, 6 May 2003 13:56:44 -0400 (EDT) Received: from carbon.webpack.hosteurope.de (carbon.one-2-one.net [217.115.142.94]) by postgresql.org (Postfix) with ESMTP id C86184763C4 for ; Tue, 6 May 2003 13:56:41 -0400 (EDT) Received: from developer (p5083D3B3.dip.t-dialin.net [80.131.211.179]) by carbon.webpack.hosteurope.de (8.11.6/8.11.6) with ESMTP id h46HucF00950 for ; Tue, 6 May 2003 19:56:39 +0200 From: "Daniel Seichter" To: pgsql-admin@postgresql.org Date: Tue, 06 May 2003 19:55:30 +0200 MIME-Version: 1.0 Subject: Re: pg_dumpall / pg_dump Message-ID: <3EB81332.24438.7F6358@localhost> In-reply-to: <20030506170230.GE23761@libertyrms.info> References: <3EB7F3BC.7648.47F7F@localhost> X-mailer: Pegasus Mail for Windows (v4.02a, DE v4.02 R1a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Spam-Status: No, hits=-24.3 required=5.0 tests=BAYES_01,IN_REP_TO,QUOTED_EMAIL_TEXT,RCVD_IN_NJABL, RCVD_IN_OSIRUSOFT_COM,REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/63 X-Sequence-Number: 8625 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 elephant http://postgresql.dseichter.org