Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 02022633CA2 for ; Thu, 1 Apr 2010 17:19:45 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 95658-04 for ; Thu, 1 Apr 2010 20:19:34 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from madmax.bizintegrators.com (madmax.bizintegrators.com [64.94.184.54]) by mail.postgresql.org (Postfix) with ESMTP id 7935A633C8C for ; Thu, 1 Apr 2010 17:19:34 -0300 (ADT) Received: from shelca (p65-147.acedsl.com [66.114.65.147]) (authenticated bits=0) by madmax.bizintegrators.com (8.13.4/8.13.4) with ESMTP id o31KJULo029525 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Apr 2010 16:19:31 -0400 (EDT) References: <30B673D7B5844B4394E188D9FFAEF0990160F94B@mx01.corp.castsoftware.com> Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: Francisco Reyes To: Julio Leyva Cc: pgsql-admin@postgresql.org Subject: Re: pg_restore : change schema Date: Thu, 01 Apr 2010 16:20:01 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Loftmail-Check: No X-Scanned-By: MIMEDefang 2.57 on 64.94.184.88 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201004/5 X-Sequence-Number: 34099 Julio Leyva writes: > What about  alter schema  ? How would that help? If I understand correctly, the original poster is trying to do something like: Source DB schema1.table1 And restore it to schema2.table1