This is a new (as in 9.1) feature we have to support in pgAdmin.
From the git log on https://github.com/gleu/pgadmin3/tree/ticket304:
Add support for invalid foreign key constraints
This patch adds a checkbox in the dlgForeignKey dialog, so that the
user can create an "not validated" foreign key. Each foreign key of
this kind is displayed with the usual icon with a red cross on it. A
contextual menu allows the user to force the validation of the
constraint. The user can also do this via the dlgForeignKey dialog.
Patch attached. Comments welcomed :)
pgadmin-hackers by date
|Next:||From: pgAdmin Trac||Date: 2011-03-06 22:38:00|
|Subject: Re: [pgAdmin III] #304: Add support for invalid FK constraints|
|Previous:||From: Serhat Sevki Dincer||Date: 2011-03-06 18:44:53|
|Subject: Re: pgadmin 1.10.5 crash|