Re: Really strange foreign key constraint problem blocking delete

Поиск
Список
Период
Сортировка
От Vick Khera
Тема Re: Really strange foreign key constraint problem blocking delete
Дата
Msg-id CALd+dccejgn=jfdMRaM7wi4-ZrF2RowS0jxRF0i3GCjTWKgFHg@mail.gmail.com
обсуждение исходный текст
Ответ на Really strange foreign key constraint problem blocking delete  (Tim Mickelson <tim_mickelson@bigfoot.com>)
Ответы Re: Really strange foreign key constraint problem blocking delete  (Tim Mickelson <tim_mickelson@bigfoot.com>)
Список pgsql-general
Using my magick powers of mind reading, I will guess you made circular
dependencies.

On Fri, Oct 3, 2014 at 12:17 PM, Tim Mickelson
<tim_mickelson@bigfoot.com> wrote:
> Even if I try to delete the data entry in the table channel_mapping with
> idaut 1622, it is not possible to delete from the table
> tmp_autenticazionesocial with the error below. How is this even possible
> since there is no channel_mapping with idaut 1622 any more?? I tried
> this in Java under a transaction, but also in pgAdmin III.
>
>
> ERROR:  update or delete on table "tmp_autenticazionesocial" violates
> foreign key constraint "channel_mapping_idaut_fkey" on table
> "channel_mapping"
> DETAIL:  Key (idautenticazionesocial)=(1622) is still referenced from
> table "channel_mapping".
>
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general


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

Предыдущее
От: Jonathan Vanasco
Дата:
Сообщение: faster way to calculate top "tags" for a "resource" based on a column
Следующее
От: "Andrus"
Дата:
Сообщение: Re: How to find greatest record before known values fast