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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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 Content-Type Size
0001-Add-support-for-invalid-foreign-key-constraints.patch text/x-diff 18.9 KB

Responses

Browse pgadmin-hackers by date

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