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

pgAdmin III commit: Add support for invalid foreign key constraints

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin III commit: Add support for invalid foreign key constraints
Date: 2011-03-07 20:58:03
Message-ID: 201103072058.p27Kw3JW031429@gothos.postgresql.org (view raw or flat)
Thread:
Lists: pgadmin-hackers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=112dd93036897a4dd286195112df5d027bcb3142

Modified Files
--------------
pgadmin/dlg/dlgForeignKey.cpp            |   27 ++++++++
pgadmin/frm/frmMain.cpp                  |    2 +
pgadmin/include/dlg/dlgForeignKey.h      |    1 +
pgadmin/include/images/foreignkeybad.xpm |  105 ++++++++++++++++++++++++++++++
pgadmin/include/schema/pgForeignKey.h    |   29 ++++++++-
pgadmin/pgAdmin3.vcproj                  |    4 +
pgadmin/schema/pgForeignKey.cpp          |   91 +++++++++++++++++++++----
pgadmin/ui/dlgForeignKey.xrc             |   18 +++++-
8 files changed, 259 insertions(+), 18 deletions(-)

pgadmin-hackers by date

Next:From: pgAdmin TracDate: 2011-03-07 20:58:32
Subject: Re: [pgAdmin III] #304: Add support for invalid FK constraints
Previous:From: Guillaume LelargeDate: 2011-03-07 20:41:43
Subject: Re: Feature: visual feedback of disabled triggers

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