pgAdmin III commit: Lots of work on domains, and check constraints

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin III commit: Lots of work on domains, and check constraints
Date: 2012-05-01 09:03:45
Message-ID: E1SP8zp-0001zJ-3t@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Lots of work on domains, and check constraints

Check constraints on domains are now sub-nodes. A user can add as many check
constraints as he wants. He can rename and validate them on 9.2. He can add
a not-yet-valid check constraint. He can also add a NO INHERIT check constraint
on a new table.

Branch
------
master

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

Modified Files
--------------
pgadmin/dlg/dlgCheck.cpp | 44 ++++--
pgadmin/dlg/dlgDomain.cpp | 214 ++++++++++++++++++++++------
pgadmin/dlg/dlgProperty.cpp | 13 +-
pgadmin/frm/events.cpp | 8 +-
pgadmin/include/dlg/dlgCheck.h | 6 +-
pgadmin/include/dlg/dlgDomain.h | 6 +
pgadmin/include/schema/pgCheck.h | 42 ++++--
pgadmin/include/schema/pgConstraints.h | 10 +-
pgadmin/include/schema/pgDomain.h | 1 +
pgadmin/include/schema/pgForeignKey.h | 6 +-
pgadmin/include/schema/pgIndex.h | 14 +-
pgadmin/include/schema/pgIndexConstraint.h | 16 +-
pgadmin/include/utils/misc.h | 1 +
pgadmin/schema/pgCheck.cpp | 80 +++++++----
pgadmin/schema/pgConstraints.cpp | 51 +++++---
pgadmin/schema/pgDomain.cpp | 95 ++++++++-----
pgadmin/schema/pgForeignKey.cpp | 15 ++-
pgadmin/schema/pgIndex.cpp | 28 ++--
pgadmin/schema/pgTable.cpp | 2 +
pgadmin/ui/dlgCheck.xrc | 14 ++
pgadmin/ui/dlgDomain.xrc | 95 ++++++++-----
21 files changed, 517 insertions(+), 244 deletions(-)

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Guillaume Lelarge 2012-05-01 09:05:24 Re: Weird code in pgDomain.cpp
Previous Message Thom Brown 2012-04-30 15:02:51 Re: pgAdmin III commit: Add support for range types (9.2+)