BUG #3684: After dump/restore, schema PUBLIC always exists

Поиск
Список
Период
Сортировка
От Pedro Gimeno
Тема BUG #3684: After dump/restore, schema PUBLIC always exists
Дата
Msg-id 200710200937.l9K9b7Am038251@wwwmaster.postgresql.org
обсуждение исходный текст
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      3684
Logged by:          Pedro Gimeno
Email address:      pgsql-001@personal.formauri.es
PostgreSQL version: 8.2.4
Operating system:   Debian Etch + Backports
Description:        After dump/restore, schema PUBLIC always exists
Details:

In default installations (meaning those having unaltered 'template0'
databases), schema PUBLIC will exist after restoring (via psql) a pg_dump in
text mode done with -C option, even if that schema was deleted in the
original database, since it exists by default and there's no command in the
dump that deletes it. I have not tried using pg_restore or binary dumps,
though.

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

Предыдущее
От: "Heikki Linnakangas"
Дата:
Сообщение: Re: BUG #3682: Incomplete database restore
Следующее
От: "Heikki Linnakangas"
Дата:
Сообщение: Re: BUG #3682: Incomplete database restore