Re: Create Public Schema

Поиск
Список
Период
Сортировка
От Mario Splivalo
Тема Re: Create Public Schema
Дата
Msg-id 1132482908.8298.0.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Create Public Schema  (<rsosnowski@cableone.net>)
Список pgsql-sql
On Sat, 2005-11-19 at 20:03 -0700, rsosnowski@cableone.net wrote:
> 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 - has no associated aggregates, tables, etc.  How
> would I create additional schems within a database that mirror the
> public schema.
> 

I guess your best bet would be to manually create all the scripts for
your database/schema objects. Use pg_dump to create a 'database schema
snapshot', and then use pg_restore -L to create scripts for objects you
desire.
Mike



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

Предыдущее
От: Joost Kraaijeveld
Дата:
Сообщение: Trigger / rule question
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Is it possible to redirect an update/insert/delete to a different table?