X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id C93C1D1B182 for ; Wed, 19 May 2004 14:00:33 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 10595-01 for ; Wed, 19 May 2004 14:00:13 -0300 (ADT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 7AFECD1B248 for ; Wed, 19 May 2004 14:00:12 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i4JH0Cul018196; Wed, 19 May 2004 13:00:12 -0400 (EDT) To: cgg007@yahoo.com Cc: pgsql-sql@postgresql.org Subject: Re: SCHEMA's the easy way? In-reply-to: <20040519163832.88907.qmail@web13806.mail.yahoo.com> References: <20040519163832.88907.qmail@web13806.mail.yahoo.com> Comments: In-reply-to Chris Gamache message dated "Wed, 19 May 2004 09:38:32 -0700" Date: Wed, 19 May 2004 13:00:12 -0400 Message-ID: <18195.1084986012@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=1.1 tagged_above=0.0 required=5.0 tests=MAILTO_TO_SPAM_ADDR X-Spam-Level: * X-Archive-Number: 200405/167 X-Sequence-Number: 17881 Chris Gamache writes: > I'm planning on dipping my toes into the world of schemata. I have tables, > created in the Public schema, that I'd like to move to the new schema: > Is there an easier, faster, less user-error-prone way around this? pg_dump, edit the "set search_path" commands in the dump script, reload. regards, tom lane