pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Gamache <cgg007@yahoo.com>
To: pgsql-sql@postgresql.org
Subject: SCHEMA's the easy way?
Date: Wed, 19 May 2004 09:38:32 -0700 (PDT)
Message-ID: <20040519163832.88907.qmail@web13806.mail.yahoo.com> (raw)
In-Reply-To: <40AB7272.2090605@mk-os.de>

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:

SELECT * INTO new.tablename FROM public.tablename;
CREATE SEQUENCE ...;
CREATE INDEX ...;
ALTER TABLE ...;
BLAH ...;
BLAH ...;
BLAH ...;
DROP public.tablename;
REPEAT ...;
REPEAT ...;
REPEAT ...;
VOMIT;

Is there an easier, faster, less user-error-prone way around this? 


	
		
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/



view thread (2+ messages)  latest in thread

Message-ID: <20040519163832.88907.qmail@web13806.mail.yahoo.com>
Permalink:  ../20040519163832.88907.qmail@web13806.mail.yahoo.com/
Also on:    postgresql.org/message-id/20040519163832.88907.qmail@web13806.mail.yahoo.com

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: cgg007@yahoo.com
  Subject: Re: SCHEMA's the easy way?
  In-Reply-To: <20040519163832.88907.qmail@web13806.mail.yahoo.com>

* 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