Re: [pgadmin-hackers] extending functionality strategy

2008-10-20 Thread Gevik Babakhani
Hereby a v1.0 patch implementing basic ordering for a wxListCtrl: - The patch is developed using MSVC 2008. - 2 new source files ctl\ListItemArranger.cpp and include\ListItemArranger.h are added. - 4 new image file are added in include\images (wxListItemArranger*.xpm) - For demo the dlgType.xrc an

[pgadmin-hackers] Re: [GENERAL] [HACKERS] Hot Standby utility and administrator functions

2008-10-20 Thread Simon Riggs
On Mon, 2008-10-20 at 17:44 -0300, Alvaro Herrera wrote: > Simon Riggs escribió: > > > > On Mon, 2008-10-20 at 16:22 -0400, Robert Haas wrote: > > > > * pg_last_recovered_xact_xid() > > > > Will throw an ERROR if *not* executed in recovery mode. > > > > returns bigint > > > > > > > > * pg_last_co

[pgadmin-hackers] Re: [GENERAL] [HACKERS] Hot Standby utility and administrator functions

2008-10-20 Thread Alvaro Herrera
Simon Riggs escribió: > > On Mon, 2008-10-20 at 16:22 -0400, Robert Haas wrote: > > > * pg_last_recovered_xact_xid() > > > Will throw an ERROR if *not* executed in recovery mode. > > > returns bigint > > > > > > * pg_last_completed_xact_xid() > > > Will throw an ERROR *if* executed in recovery mod

Re: [pgadmin-hackers] [HACKERS] Hot Standby utility and administrator functions

2008-10-20 Thread Simon Riggs
On Mon, 2008-10-20 at 16:22 -0400, Robert Haas wrote: > > * pg_last_recovered_xact_xid() > > Will throw an ERROR if *not* executed in recovery mode. > > returns bigint > > > > * pg_last_completed_xact_xid() > > Will throw an ERROR *if* executed in recovery mode. > > returns bigint > > Should thes

Re: [pgadmin-hackers] [HACKERS] Hot Standby utility and administrator functions

2008-10-20 Thread Robert Haas
> * pg_last_recovered_xact_xid() > Will throw an ERROR if *not* executed in recovery mode. > returns bigint > > * pg_last_completed_xact_xid() > Will throw an ERROR *if* executed in recovery mode. > returns bigint Should these return xid? ...Robert -- Sent via pgadmin-hackers mailing list (pgad

Re: [pgadmin-hackers] extending functionality strategy

2008-10-20 Thread Dave Page
On Mon, Oct 20, 2008 at 1:52 PM, Gevik Babakhani <[EMAIL PROTECTED]> wrote: >> Having never used QT, I have no idea. I have little doubt you >> would better measuring in man-months though. > > I can do an impact analysis if you are remotely considering moving away from > wxWidgets :) I can't hones

Re: [pgadmin-hackers] extending functionality strategy

2008-10-20 Thread Gevik Babakhani
> Having never used QT, I have no idea. I have little doubt you > would better measuring in man-months though. I can do an impact analysis if you are remotely considering moving away from wxWidgets :) Regards, Gevik -- Sent via pgadmin-hackers mailing list ([email protected]) To

Re: [pgadmin-hackers] extending functionality strategy

2008-10-20 Thread Dave Page
On Mon, Oct 20, 2008 at 12:13 PM, Gevik Babakhani <[EMAIL PROTECTED]> wrote: >> D'oh! Well, if it hadn't had such nasty licencing when we >> started pgAdmin 3, we might have used it. As for pgAdmin IV, >> let us know when you're 95% done :-p > > I read QT4 for Windows needs no licensing to build o

Re: [pgadmin-hackers] extending functionality strategy

2008-10-20 Thread Gevik Babakhani
> Why not just derive a new control from wxListView? I haven't experimented with deriving from wxListView because I didn't want to do custom drawing within wxListCtrl. It seems to be very hard to get it working for all the platforms. Especially when I am limited in platforms to test it on. > D'oh

Re: [pgadmin-hackers] extending functionality strategy

2008-10-20 Thread Dave Page
On Mon, Oct 20, 2008 at 10:51 AM, Gevik Babakhani <[EMAIL PROTECTED]> wrote: >> Well the other way is to remove the item to be moved, and >> re-insert it with a new index. > > I am actually experimenting with this. So far I have a custom widget > (wxListItemArranger) which takes a wxListCtrl as cto

Re: [pgadmin-hackers] extending functionality strategy

2008-10-20 Thread Gevik Babakhani
> Well the other way is to remove the item to be moved, and > re-insert it with a new index. I am actually experimenting with this. So far I have a custom widget (wxListItemArranger) which takes a wxListCtrl as ctor argument, and has 4 ordering buttons. There is some event handing that are dynami

[pgadmin-hackers] Hot Standby utility and administrator functions

2008-10-20 Thread Simon Riggs
I'm looking to implement the following functions for Hot Standby, to allow those with administrative tools or management applications to have more control during recovery. Please let me know if other functions are required. What else do we need? * pg_is_in_recovery() returns bool (true if in rec

Re: [pgadmin-hackers] extending functionality strategy

2008-10-20 Thread Dave Page
On Sat, Oct 18, 2008 at 10:43 PM, Gevik Babakhani <[EMAIL PROTECTED]> wrote: >> I think the first thing to do is a quick inventory of the >> lists where we might need to do this. > > This is of course needed to be done in order to continue with an item > ordering/arranging solution. But before we c