SCHEMA's the easy way? - Mailing list pgsql-sql

From Chris Gamache
Subject SCHEMA's the easy way?
Date
Msg-id 20040519163832.88907.qmail@web13806.mail.yahoo.com
Whole thread Raw
In response to Function valid only for one table  (Martin Knipper <knipper@mk-os.de>)
Responses Re: SCHEMA's the easy way?
List pgsql-sql
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/


pgsql-sql by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Function valid only for one table
Next
From: Tom Lane
Date:
Subject: Re: SCHEMA's the easy way?