Re: Create Public Schema

Поиск
Список
Период
Сортировка
От Andreas Kretschmer
Тема Re: Create Public Schema
Дата
Msg-id 20051120084939.GA1692@kaufbach.delug.de
обсуждение исходный текст
Ответ на Create Public Schema  (<rsosnowski@cableone.net>)
Список pgsql-sql
rsosnowski@cableone.net <rsosnowski@cableone.net> schrieb:

> Hello all,
> 
> I'm trying to create a schema that contains the default tables, functions,
> etc. of the public schema.  Using pgAdmin, when I create a schema, it is blank

1. make a dump from the public-schema
2. edit the dump and change 'public' to 'foobar' (the new schema-name)
3. restore the schema from dump

Now you have a exactly copy from 'public' with name 'foobar'.



HTH, Andreas
-- 
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°


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

Предыдущее
От:
Дата:
Сообщение: Create Public Schema
Следующее
От: Joost Kraaijeveld
Дата:
Сообщение: Trigger / rule question