Re: pgadmin3 query tools

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Andreas Pflug" <Andreas(dot)Pflug(at)web(dot)de>, <pgadmin-hackers(at)postgresql(dot)org>, "efesar" <efesar(at)nmia(dot)com>
Cc: "Mark Yeatman" <myeatman(at)vale-housing(dot)co(dot)uk>
Subject: Re: pgadmin3 query tools
Date: 2003-04-02 09:42:55
Message-ID: 03AF4E498C591348A42FC93DEA9661B885FF@mail.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi guys,

> -----Original Message-----
> From: Andreas Pflug [mailto:Andreas(dot)Pflug(at)web(dot)de]
> Sent: 02 April 2003 01:50
> To: pgadmin-hackers(at)postgresql(dot)org
> Subject: Re: [pgadmin-hackers] pgadmin3 query tools
>
> >Here are my two cents. We put a "view" menu in BOTH our
> tools.

> That's not far from my solution, switching from one to the
> other with a
> menu/toolbar. We would have two tools, I wouldn't really bother about
> that. As I wrote, the core code could be wrapped into a
> control, either
> derived from wxNotebook or wxListView, whatever is more
> useful.

That's fine with me. My major concern is that the code that drives the
grid is only written once. This is likely to get quite complex once
editting features are added, and I don't want to maintain 2 copies. I
always want to keep the look and feel consistant.

So, how about we create a class derived from the wxNotebook as Andreas
suggests, which can just be passed the completed query to display the
results and allow editting thereof (where possible), and display explain
output (and hopefully one day we can add a visual explain tab).

There might be another argument towards two distinct
> tools: Porting to
> **ix might be easier.

The biggest problem we're finding in *nix is that the ctor for wxString
doesn't like taking an initial value (iirc).

Mark, I know you're busy, but if you get 5 minutes, can you do an update
and try rebuilding on Linux please? It's possible that there are one or
two source files missing from the Makefile...

> Just tell me where you find something. And I'll find out who's at my
> machine adding that leaks while I'm off-site. Just reviewed all
> ExecuteSet and found two missing pgSet deletes in pgColumn
> and pgSequence.

Ahh, those pesky code pixies....

Regards, Dave.

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2003-04-02 09:43:48 Re: pgadmin3: present and future
Previous Message Christopher Kings-Lynne 2003-04-02 01:32:19 Re: View definition formatting