Re: Some questions on the backup window - Mailing list pgadmin-hackers

From Guillaume Lelarge
Subject Re: Some questions on the backup window
Date
Msg-id 200912151006.01053.guillaume@lelarge.info
Whole thread Raw
In response to Re: Some questions on the backup window  (Guillaume Lelarge <guillaume@lelarge.info>)
Responses Re: Some questions on the backup window
List pgadmin-hackers
Le jeudi 10 décembre 2009 à 17:05:44, Guillaume Lelarge a écrit :
> Le jeudi 10 décembre 2009 à 16:40:32, Dave Page a écrit :
> > On Thu, Dec 10, 2009 at 3:34 PM, Guillaume Lelarge
> >
> > <guillaume@lelarge.info> wrote:
> [...]
> > If you want a treeview with checkboxes, you could look at what I
> > did for StackBuilder - for example the AppTreeCtrl in
> > http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/stackbuilder/wizard/AppSelect
> >io nPage.cpp?rev=1.10&content-type=text/x-cvsweb-markup. It's pretty
> > simple - we just toggle the node image as the user clicks.
>
> Didn't know you already did it, in another project. I will get a look at
>  it. Thanks.
>

And so did I. I now have a new tab with the list of objects one can save.
You'll find attached a screenshot showing this.

I still have a few questions:

 * Do you have any ideas for a better name on the tabs?
 * Instead of "Database x", "Schema y", or "Table z", I can probably add the
   icon with the checkbox. Not sure if it's really interesting, but it'll help
   me to get ride of a dirty hack to get back the object's name.
 * A user can set schema's restriction on a database. Should a user see (and
   so backup) only the allowed schemas or should the backup bypass this
   specific configuration? (I mean, if he tries to backup the whole database,
   this configuration is already bypassed)

This patch is in the git repository, but still needs some work, for example to
allow the use of some 8.4 specific options. Moreover the schema and table
backup are actually broken. But it will be quite easy to fix. Expect a
complete patch tonight.


--
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com

Attachment

pgadmin-hackers by date:

Previous
From: Jean-Michel Pouré
Date:
Subject: Re: pgAdmin3 icon
Next
From: Dave Page
Date:
Subject: Re: Some questions on the backup window