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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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(-)

Browse pgadmin-hackers by date

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