How to make a copy of schema

Поиск
Список
Период
Сортировка
От Andrus
Тема How to make a copy of schema
Дата
Msg-id egtml3$m2n$1@news.hub.org
обсуждение исходный текст
Ответы Re: How to make a copy of schema  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Список pgsql-general
I have a five company Postgres 8.1 database.

Each company data is stored in a different schema named Company1, Company2,
..., Company5
There is also public schema which contains common data.

Now customer wants to add sixth company to database.

In need to add some routine to my application which can create schema copy ?

How to make a copy of schema Company5 so that schema called Company6 is
created ?
Is there any sample code available ?

Andrus



В списке pgsql-general по дате отправления:

Предыдущее
От: Chris Mair
Дата:
Сообщение: Re: Triggers
Следующее
От: "Merlin Moncure"
Дата:
Сообщение: Re: more anti-postgresql FUD