Support for invalid foreign keys - Mailing list pgadmin-hackers

From Guillaume Lelarge
Subject Support for invalid foreign keys
Date
Msg-id 4D740A70.1020301@lelarge.info
Whole thread Raw
Responses Re: Support for invalid foreign keys
List pgadmin-hackers
Hi,

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 :)


--
Guillaume
 http://www.postgresql.fr
 http://dalibo.com

Attachment

pgadmin-hackers by date:

Previous
From: Serhat Sevki Dincer
Date:
Subject: Re: pgadmin 1.10.5 crash
Next
From: "pgAdmin Trac"
Date:
Subject: Re: [pgAdmin III] #304: Add support for invalid FK constraints