Re: Error Message: ERROR: UNIQUE constraint matching given keys for referenced table "item" not found - Mailing list pgadmin-support

From Hiroshi Saito
Subject Re: Error Message: ERROR: UNIQUE constraint matching given keys for referenced table "item" not found
Date
Msg-id 013d01c37312$d54e4d30$1f324d80@w2k
Whole thread Raw
In response to Error Message: ERROR: UNIQUE constraint matching given keys for referenced table "item" not found  ("Robert T. Meneses" <rtmeneses@7-eleven.com.ph>)
List pgadmin-support
Dear Robert.

I thinks that you must specify UNIQUE or PRIMARY KEY in "column of item" 
so that it should refer to it in the constraint "column of item".

Regards,
Hiroshi Saito

From: "Robert T. Meneses" <rtmeneses@7-eleven.com.ph>
(snip)

> -- Error Information --
>
> Description: ERROR:  UNIQUE constraint matching given keys for referenced
> table "item" not found
> Number: -2147467259
> Routine: pgAdmin II:frmTable.cmdOK_Click
>
> Insert your comment:
> Im having trouble creating foreign key for this table (itemsupp) both have
> itemcode column but when I created this error occur telling UNIQUE contraint
> matching. What shall I do?


pgadmin-support by date:

Previous
From: "Robert T. Meneses"
Date:
Subject: Error Message: ERROR: UNIQUE constraint matching given keys for referenced table "item" not found
Next
From: "Dave Page"
Date:
Subject: Re: Error Message: ERROR: UNIQUE constraint matching given keys for referenced table 'item' not found