Re: Functions not dropped.

Поиск
Список
Период
Сортировка
От Gary Doades
Тема Re: Functions not dropped.
Дата
Msg-id 4185EF8E.30585.A317D5A2@localhost
обсуждение исходный текст
Ответ на Functions not dropped.  (Glen Eustace <geustace@godzone.net.nz>)
Список pgsql-general
On 1 Nov 2004 at 20:45, Glen Eustace wrote:

> When I tried to reload the production database dump, I got a series of
> errors relating to functions. I repeated the exercise but this time did
> a \df prior to trying to load the database. In the public schema for the
> newly created admin database where all the functions from the old one.
> It seems that the drop database doesn't drop all of the functions. Is it
> supposed to ? I am using 7.4.2 on FC2.
>
> If it isn't is there a way to clean them all out before the load ?
>

It's more likely that the functions are defined in the template1 database
and so get copied to every new database. You should remove them
from there if you don't want this behaviour.

Cheers,
Gary.


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

Предыдущее
От: Glen Eustace
Дата:
Сообщение: Functions not dropped.
Следующее
От: Sim Zacks
Дата:
Сообщение: Re: Functions not dropped.