Re: Support for constraint trigger (8.2 feature) - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Support for constraint trigger (8.2 feature)
Date
Msg-id AANLkTin2GnSXarOyQorBUt9A_av6h0_bvjmDxvYfayh6@mail.gmail.com
Whole thread Raw
In response to Support for constraint trigger (8.2 feature)  (Guillaume Lelarge <guillaume@lelarge.info>)
Responses Re: Support for constraint trigger (8.2 feature)  (Guillaume Lelarge <guillaume@lelarge.info>)
List pgadmin-hackers


On Sun, Mar 20, 2011 at 4:12 PM, Guillaume Lelarge <guillaume@lelarge.info> wrote:
Hi,

Here is a patch that adds support for the constraint trigger, a feature
available since 8.2.

This patch adds a Constraint checkbox and the deferrable and deferred
checkboxes. Note that the "FROM referenced_table_name" clause is not
implemented as it "is not recommended for general use" according to the
manual.

I'm not sure the design is really good as I had to increase the dialog's
height quite a lot. It would probably be a good idea to add a new tab
and push some controls over there.

It's certainly far too high, but then the WHEN and Comment boxes could be reduced significantly.

FYI, moving forward I think we should make a concerted effort to ensure that all dialogues can be used on an 800x600 screen, allowing for some sort of task bar. 

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin III commit: Ensure that png2c is available before building pgAd
Next
From: Guillaume Lelarge
Date:
Subject: Re: Support for constraint trigger (8.2 feature)