Re: dump/restore with a hidden dependency?

Поиск
Список
Период
Сортировка
От Shaun Thomas
Тема Re: dump/restore with a hidden dependency?
Дата
Msg-id 53E3C758.90802@optionshouse.com
обсуждение исходный текст
Ответ на dump/restore with a hidden dependency?  (Chris Curvey <ccurvey@zuckergoldberg.com>)
Список pgsql-general
On 08/07/2014 01:09 PM, Chris Curvey wrote:

> The "disable trigger" statement runs without error, but does not seem
> to have any effect.

:(

Apparently this trick only works for disabling foreign keys. I'm not
sure how to temporarily disable check constraints. You might have to
drop the constraints after initializing the schemas and re-add them at
the end after the data import is complete.

--
Shaun Thomas
OptionsHouse, LLC | 141 W. Jackson Blvd. | Suite 800 | Chicago IL, 60604
312-676-8870
sthomas@optionshouse.com

______________________________________________

See http://www.peak6.com/email_disclaimer/ for terms and conditions related to this email


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: The dangers of streaming across versions of glibc: A cautionary tale
Следующее
От: Chris Curvey
Дата:
Сообщение: Re: dump/restore with a hidden dependency?