From: | "Rajesh Kumar Mallah(dot)" <mallah(at)trade-india(dot)com> |
---|---|
To: | "Lex" <groups(at)homerlex(dot)mailshell(dot)com>, <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: How Copy 7.3 Schemas? |
Date: | 2003-01-16 06:57:34 |
Message-ID: | 200301161227.34086.mallah@trade-india.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
A drity method could be.
create table schema2.table2 as select * from schema1.table1 ;
in a loop that uses system catalogs.
regds
mallah.
On Wednesday 15 January 2003 06:08 pm, Lex wrote:
> I am playing with the new Schema feature in 7.3. I would like to copy
> the public schema into a new schema. Is there an easy way to do this?
> Something I can do with pg_dump (I dont see a switch to specify which
> schema) Right now I an only interested in copying the structures
> later on it would be nice if I could copy the data as well.
>
>
>
> Regards
--
Rajesh Kumar Mallah,
Project Manager (Development)
Infocom Network Limited, New Delhi
phone: +91(11)6152172 (221) (L) ,9811255597 (M)
Visit http://www.trade-india.com ,
India's Leading B2B eMarketplace.
From | Date | Subject | |
---|---|---|---|
Next Message | shreedhar | 2003-01-16 09:36:32 | Is There any function to get Difference of Dates |
Previous Message | Tom Lane | 2003-01-15 16:19:29 | Re: Problems with PGOPTIONS |