SCHEMA's the easy way?

Поиск
Список
Период
Сортировка
От Chris Gamache
Тема SCHEMA's the easy way?
Дата
Msg-id 20040519163832.88907.qmail@web13806.mail.yahoo.com
обсуждение исходный текст
Ответ на Function valid only for one table  (Martin Knipper <knipper@mk-os.de>)
Ответы Re: SCHEMA's the easy way?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Function valid only for one table
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SCHEMA's the easy way?