Skip site navigation (1) Skip section navigation (2)

Support for invalid foreign keys

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: Support for invalid foreign keys
Date: 2011-03-06 22:28:00
Message-ID: 4D740A70.1020301@lelarge.info (view raw or flat)
Thread:
Lists: 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: 0001-Add-support-for-invalid-foreign-key-constraints.patch
Description: text/x-diff (18.9 KB)

Responses

pgadmin-hackers by date

Next:From: pgAdmin TracDate: 2011-03-06 22:38:00
Subject: Re: [pgAdmin III] #304: Add support for invalid FK constraints
Previous:From: Serhat Sevki DincerDate: 2011-03-06 18:44:53
Subject: Re: pgadmin 1.10.5 crash

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group