Re: ToDo: pg_backup - using a conditional DROP

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: ToDo: pg_backup - using a conditional DROP
Дата
Msg-id 1321454566.30837.1.camel@fsopti579.F-Secure.com
обсуждение исходный текст
Ответ на Re: ToDo: pg_backup - using a conditional DROP  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On tis, 2011-11-15 at 22:27 -0500, Tom Lane wrote:
> Now, --clean using DROP IF EXISTS would be targeted at, um, what case?
> I guess the idea is to be able to load into a database that sort of
> mostly shares the same schema as the one you dumped from, only it's
> not the same (if it were the same, you'd not need IF EXISTS). 

What about a schema that is nominally the same, but some object is
missing, because some earlier attempt to clean things up, or because
it's an earlier version of the schema, or because of some batch jobs
make things come and go.



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: includeifexists in configuration file
Следующее
От: Yeb Havinga
Дата:
Сообщение: Re: [PATCH] Unremovable tuple monitoring