Search Postgresql Archives

Re: Really strange foreign key constraint problem blocking delete

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx> 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@xxxxxxxxxxxxxx)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux