Re: copy schema X to schema Y in the same DB

From: "Shoaib Mir" <shoaibmir(at)gmail(dot)com>
To: johnf <jfabiani(at)yolo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: copy schema X to schema Y in the same DB
Date: 2007-01-24 10:32:44
Message-ID: bf54be870701240232y405068du4e47d30d4563e17a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I think the way of doing that will be taking a schema backup using pg_dump
-n option and then restoring that again in the same database using a
different schema name with psql.

----------------
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)

On 1/24/07, johnf <jfabiani(at)yolo(dot)com> wrote:
>
> Hi,
> I would like to copy a schema X to a new schema Y within the same
> database.
> Is this possible?
> --
> John Fabiani
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bernd Helmle 2007-01-24 11:50:10 Re: Who is Slony Master/Slave + general questions.
Previous Message Shoaib Mir 2007-01-24 10:12:30 Re: how to read bytea field