Re: [FEATURE] Add schema option to all relevant objects

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Thom Brown <thom(at)linux(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [FEATURE] Add schema option to all relevant objects
Date: 2011-07-08 18:46:52
Message-ID: 1310150812.2902.43.camel@laptop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Thu, 2011-07-07 at 23:24 +0100, Thom Brown wrote:
> On 7 July 2011 23:20, Guillaume Lelarge <guillaume(at)lelarge(dot)info> wrote:
> > On Wed, 2011-07-06 at 11:59 +0100, Thom Brown wrote:
> >> add_schemas_to_all_items_filtered.patch - same patch as before, but
> >> with the above patch contents removed or adjusted to assume the fixes
> >> have been applied.
> >>
> >
> > Not yet done. I'll try to take care of this tomorrow.
>
> Awesomes. Thanks Guillaume. Please ensure I haven't sneaked anything
> in I shouldn't have, and that I don't break anything for previous
> versions.
>

OK, just a few things that I fixed on your patch:
* pgadmin/schema/pgIndex.cpp contained reversed change of one of your
previous patches, I don't keep that.
* all extension changes are wrong according to me because they aren't
schema objects, but database objects. I don't keep them.
* you added possibility to change a type, and a sequence, but forgot to
add the code to detect the changes in CheckChange. I fixed that
* in dlgForeignTable.cpp, you declare a direction variable, but don't
use it. Fixed that too.
* still in dlgForeignTable.cpp, you enable the schema widget only when
the user is connected in 9.1 but this guy can have this window only
when he's on 9.1. Fixed that.

And that should be all. The fixed patch is attached. There is one
remaining issue: how to refresh the object's parent node in the new
schema?

--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com

Attachment Content-Type Size
add_schemas_v2.patch.bz2 application/x-bzip 8.0 KB

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Thom Brown 2011-07-08 19:06:07 Re: [FEATURE] Add schema option to all relevant objects
Previous Message Thom Brown 2011-07-08 15:01:02 Re: Overhaul of type attributes modification