Re: FK violation on (emtpy) parent table

Поиск
Список
Период
Сортировка
От Jasen Betts
Тема Re: FK violation on (emtpy) parent table
Дата
Msg-id j3vhsc$abf$1@reversiblemaps.ath.cx
обсуждение исходный текст
Ответ на FK violation on (emtpy) parent table  (Louis-David Mitterrand <vindex+lists-pgsql-general@apartia.org>)
Список pgsql-general
On 2011-08-11, Louis-David Mitterrand <vindex+lists-pgsql-general@apartia.org> wrote:
> Hi,
>
> I have an empty parent 'price' table with several partitioned child
> tables that contain the actual data.
>
> How can I reference the parent 'price' table in a FK? When I try I get a
> FK violation. Is that expected behavior? Is there another way to do it?

AFAIK "you can't" and "no".


--
⚂⚃ 100% natural

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

Предыдущее
От: Sim Zacks
Дата:
Сообщение: Re: md5 of table
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Parameterized prepared statements