Re: PGAdmin 3 Patch // Memory Leaks Fixed // Ignore last patch - Mailing list pgadmin-hackers

From Dave Page
Subject Re: PGAdmin 3 Patch // Memory Leaks Fixed // Ignore last patch
Date
Msg-id 03AF4E498C591348A42FC93DEA9661B885CB@mail.vale-housing.co.uk
Whole thread Raw
In response to PGAdmin 3 Patch // Memory Leaks Fixed // Ignore last patch  (efesar <efesar@nmia.com>)
Responses Re: PGAdmin 3 Patch // Memory Leaks Fixed // Ignore last patch
List pgadmin-hackers

> -----Original Message-----
> From: efesar [mailto:efesar@nmia.com]
> Sent: 06 March 2003 05:51
> To: Dave Page; Pgadmin-Hackers
> Subject: PGAdmin 3 Patch // Memory Leaks Fixed // Ignore last patch
>
>
>
> Dave,
>
> Nevermind that last patch if you haven't patched it yet.
>
> I got seriously bored of looking at memory leaks in VCC so I
> went through and patched all the memory leaks that I could
> find. Also, there are a couple of updates on the Query Builder.
>
> Here is a synopsis of changes:

Hi Keith,

Nice work, thanks. You must have been bored :-). As you can probably
tell I'm fairly new to C++ and still get a little confused with
references & pointers from time to time.

Anyway, I've applied this patch to my copy of the tree, and once I found
the wx2.4 change you commented (downloading it now), it built OK.
Unfortunately, I still can't get the QueryBuilder to do anything. When I
try to add a table there are none listed - I've tried a few databases,
all of which have a number of tables. I haven't had a chance to figure
out what's wrong. Also, if I click the Data tab I get a parse error,
even if I manually type in a valid query (which then vanishes).

> because using the one from pgServer was choosing random
connections/databases.

The one from pgServer should *always* be the master connection (ie. The
database in the login dialogue). Is this not the case?

On another note, how did you generate the patch? I had a heck of a job
applying it as it found files in /src but not any of the others. It's
probably me though - I often end up battling with patch....

Regards, Dave.

pgadmin-hackers by date:

Previous
From: efesar
Date:
Subject: PGAdmin 3 Patch // Memory Leaks Fixed // Ignore last patch
Next
From: "Dave Page"
Date:
Subject: Re: reindex action