Re: inconsistent backup?

Поиск
Список
Период
Сортировка
От Ralf Schuchardt
Тема Re: inconsistent backup?
Дата
Msg-id 129E7FF8-10F4-459F-8301-05B9061478B6@gmx.de
обсуждение исходный текст
Ответ на inconsistent backup?  (Andreas Kretschmer <andreas@a-kretschmer.de>)
Ответы Re: inconsistent backup?
Список pgsql-general
Am 19.Dez. 2013 um 09:41 schrieb Andreas Kretschmer <andreas@a-kretschmer.de>:

> hello all,
>
> don't ask why, but a customer created tables with foreign key constraints but
> with inconsistent data.
>
> Because of this he disabled all triggers (alter table foo disable trigger all).
> So far, so bad ...
> (he can't clean the data at the moment)
>
> In the dump there are the constraints, but NOT the disable triggers. In other
> words: no way to restore.
>
> What can we do now?

pg_restore has a --disable-triggers option, that could be of some help. Or you add the command to the top of the sql
dumpfile. 


Ralf



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

Предыдущее
От: wd
Дата:
Сообщение: Re: unexpected pageaddr error in db log
Следующее
От: Laurentius Purba
Дата:
Сообщение: Re: Is it advisable to pg_upgrade directly from 9.0 to 9.3?