Re: [pgadmin-hackers] Support for constraint trigger (8.2 feature)

2011-03-24 Thread Guillaume Lelarge
Le 22/03/2011 23:57, Dave Page a écrit : > Go for it. > Done, and commited. Thanks. -- Guillaume http://www.postgresql.fr http://dalibo.com -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pga

[pgadmin-hackers] pgAdmin III commit: Implements support for constraint trigger

2011-03-24 Thread Guillaume Lelarge
Implements support for constraint trigger 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. Report from Dan S. Branch -- ma

Re: [pgadmin-hackers] User mapping

2011-03-24 Thread Guillaume Lelarge
Le 24/03/2011 11:21, Dave Page a écrit : > On Wed, Mar 23, 2011 at 10:10 PM, Guillaume Lelarge > wrote: >> Hi, >> >> I'm looking at adding user mapping support. My first idea was to add >> them as children of foreign servers, but it doesn't seem this was a >> really good idea. They have no OIDs, n

Re: [pgadmin-hackers] Debugger crashes when setting a value with quotes

2011-03-24 Thread Dave Page
On Thu, Mar 24, 2011 at 2:54 PM, Heikki Linnakangas wrote: > Steps to reproduce: > > 1. Create a function: > > CREATE OR REPLACE FUNCTION barfunc() >  RETURNS integer AS > $BODY$ >  DECLARE >   var int4; >  BEGIN >   var := 1; >   IF 1=2 THEN NULL; END IF; >   RETURN var; >  END > $BODY$ >  LANGUA

[pgadmin-hackers] pgAdmin III commit: Properly quote values being deposited in the debugg

2011-03-24 Thread Dave Page
Properly quote values being deposited in the debugger, per a report from Heikki Linnakangas. Branch -- master Details --- http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=6fe0f783fc6a9e85a00df211b25195eb3f3ac29e Modified Files -- pgadmin/debugger/ctlCodeWindow.c

[pgadmin-hackers] Debugger crashes when setting a value with quotes

2011-03-24 Thread Heikki Linnakangas
Steps to reproduce: 1. Create a function: CREATE OR REPLACE FUNCTION barfunc() RETURNS integer AS $BODY$ DECLARE var int4; BEGIN var := 1; IF 1=2 THEN NULL; END IF; RETURN var; END $BODY$ LANGUAGE plpgsql; 2. Start debugging on the function. 3. Change the value of variable '

Re: [pgadmin-hackers] User mapping

2011-03-24 Thread Dave Page
On Wed, Mar 23, 2011 at 10:10 PM, Guillaume Lelarge wrote: > Hi, > > I'm looking at adding user mapping support. My first idea was to add > them as children of foreign servers, but it doesn't seem this was a > really good idea. They have no OIDs, no owners, no comments... geez, no > nothing actual

Re: [pgadmin-hackers] copy / paste object - preliminary part

2011-03-24 Thread Dave Page
On Wed, Mar 23, 2011 at 2:28 PM, Vladimir Kokovic wrote: > Hi, > > I did a preliminary part of the functions for copy / paste object and now > I expect confirmation that the implementation is correct. I think you should implement the copying of a single individual object first, and when that's co