Re: Detaching a partition with a FK on itself is not possible

Поиск
Список
Период
Сортировка
От Arne Roland
Тема Re: Detaching a partition with a FK on itself is not possible
Дата
Msg-id 666ad9554f9d4781aa45c4613544075d@index.de
обсуждение исходный текст
Ответ на Detaching a partition with a FK on itself is not possible  (Christophe Courtois <christophe.courtois@dalibo.com>)
Список pgsql-bugs

Hi,


I don't think this a bug, but a feature request. I therefore think hackers would be more appropriate.


I don't see how an additional syntax to modify the constraint should help.


If I'd want to fix this, I'd try to teach the detach partition code about self referencing foreign keys. It seems to me like that would be the cleanest solution, because the user doesn't need to care about this at all.

I don't think, I'll spend time on this in the near future though.


Regards
Arne

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

Предыдущее
От: Christophe Courtois
Дата:
Сообщение: Detaching a partition with a FK on itself is not possible
Следующее
От: hubert depesz lubaczewski
Дата:
Сообщение: Re: Logical replication stops dropping used initial-sync replication slots