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

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 (view raw or flat)
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

pgadmin-hackers by date

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

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