Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id C3BD21337999 for ; Thu, 31 Mar 2011 23:00:50 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 19335-01 for ; Fri, 1 Apr 2011 02:00:43 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from nazgul.esiway.net (nazgul.esiway.net [193.194.16.154]) by mail.postgresql.org (Postfix) with ESMTP id 0FBF513364DE for ; Thu, 31 Mar 2011 23:00:42 -0300 (ADT) Received: from frodo.lan (Ghost.esi.it [193.194.16.225]) (user=marco mech=CRAM-MD5 bits=0) by nazgul.esiway.net (8.13.8/8.13.8) with ESMTPSA id p3120Z5m007551 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 1 Apr 2011 04:00:35 +0200 Message-ID: <4D9531C3.5080505@esiway.net> Date: Fri, 01 Apr 2011 04:00:35 +0200 From: Marco Colombo User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Thunderbird/3.1.9 MIME-Version: 1.0 To: pgsql-general@postgresql.org Subject: Re: pg_restore References: <4D93A272.9000101@hogranch.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (nazgul.esiway.net [193.194.16.131]); Fri, 01 Apr 2011 04:00:41 +0200 (CEST) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201103/1095 X-Sequence-Number: 174356 On 03/31/2011 01:08 AM, Mike Orr wrote: > That might be a better solution. I was hoping to use the same pgdump > file for this that I also use for routine offline backup, but maybe > this is such a special case that a separate dump file would be better. Why don't you post the exact mysqldump/mysql commands you are using? It would be easier to provide equivalent pgdump/psql commands. Meanwhile, have a look at the pg_restore man page, -t and/or -L options. Maybe -c as well. Oh, and -1. .TM.