Re: problem with foreign keys + data-only backup

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: problem with foreign keys + data-only backup
Дата
Msg-id 20080822160241.GA4169@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: problem with foreign keys + data-only backup  (Markus Mehrwald <mehrwald@ira.uka.de>)
Список pgsql-general
Markus Mehrwald wrote:
> Hi,
>
> I do not think this will work. As far as I know foreign key checks are
> not triggers. Postgres is very strict with things concerning referential
> integrity so you cannot turn them off.

Actually you are mistaken -- FKs are triggers, and you can turn them
off.

There is a reason data-only backups are not recommended.



--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Postgresql 8.3 statistic stadistinct value dead wrong even with default_statistics_target=1000
Следующее
От: Decibel!
Дата:
Сообщение: Re: Single character bitfields