Re: TRUNCATE ONLY with foreign keys and triggers disabled

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: TRUNCATE ONLY with foreign keys and triggers disabled
Дата
Msg-id 6776dc7beaf591a684d089db4c77407b7a2866c4.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: TRUNCATE ONLY with foreign keys and triggers disabled  (Dimitrios Apostolou <jimis@gmx.net>)
Ответы Re: TRUNCATE ONLY with foreign keys and triggers disabled
Список pgsql-general
On Mon, 2025-04-14 at 17:05 +0200, Dimitrios Apostolou wrote:
> I meant the *referencing* table has just been
> populated. I'm trying to delete the *referenced* table and I get the
> error.

That would break the foreign key constraint, right?
PostgreSQL cannot allow that.

Yours,
Laurenz Albe



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