copy/duplicate database schemas

From: Jamie Kahgee <jamie(dot)kahgee(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: copy/duplicate database schemas
Date: 2010-06-23 19:21:51
Message-ID: AANLkTillxq9Ee1DAzWKwh1a9TFPQXKSB6knPb6QC3EWz@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have an application in a schema and now i need to create other schemas b/c
the app needs to support different languages, is there an easy way to copy
an entire schema to a new one (tables, contents, trigges, functions, etc..)?

right now i just have

- schema

what I want is

- schema
- schema_ar
- schema_ru
- etc...

Thanks,
Jamie K.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2010-06-23 19:31:23 Re: No PL/PHP ? Any reason?
Previous Message Adrian Klaver 2010-06-23 19:07:51 Re: unexpected effect of FOREIGN KEY ON CASCADE DELETE