pg_restore --single-transaction and --clean

Поиск
Список
Период
Сортировка
От Takahiro Itagaki
Тема pg_restore --single-transaction and --clean
Дата
Msg-id 20100210134854.4801.52131E4D@oss.ntt.co.jp
обсуждение исходный текст
Ответы Re: pg_restore --single-transaction and --clean  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
As another glitch in pg_restore, a combination of options
--single-transaction and --clean raises errors if we restore data
into an empty database. The reason is pg_restore uses DROP <OBJECT>.
The cleanup command fails if the target object doesn't exist.

Is it a TODO item to replace "DROP" into "DROP IF EXISTS"
for cleanup commands in pg_restore?

Regards,
---
Takahiro Itagaki
NTT Open Source Software Center



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

Предыдущее
От: Takahiro Itagaki
Дата:
Сообщение: Re: TRUNCATE+COPY optimization and --jobs=1 in pg_restore
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Make standby server continuously retry restoring the next WAL