Re: pgadmin3 query tools

From: efesar <efesar(at)nmia(dot)com>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>, pgadmin-hackers(at)postgresql(dot)org
Subject: Re: pgadmin3 query tools
Date: 2003-03-31 23:04:52
Message-ID: NGBBKFMOILMAGDABPFEGCEBPEBAA.efesar@nmia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers


> > 1. I just got time to try this build. There is a new bug
> > where if it can't connect to the server it goes into an
> > infinite loop (ok, ok, ok, ok, etc. -- for instance, if the
> > server is not running). Starting the server does not help,
> > you have to kill the PGA3 process. Then restart PGA3.
>
> Yes, I noticed that as well.

Submitting patch for that.

> I've been thinking about that, and the majority of places we use such
> info, we only need to oid & identifier. I wonder if it would be easier
> to build some fast, dedicated caches for that instead. We do acctually
> have some of these internally in pgSchema (pga2), but in this code they
> could be globally accessible within a pgDatabase.

There are pros/cons. The tree is slower than a dedicated cache, but the
dedicated cache would have to be refreshed in the same refreshes as the
tree. And it would basically end up being a linked list, so we might end up
doing double duty.

> Done (cvs currently at 193.195.77.163). I believe Andreas did get your
> memory fixes in, but please check.

Okay, updated and compiled. No memory leaks as far as I can see.

-Keith

Attachment Content-Type Size
frmMain.cpp.patch application/octet-stream 676 bytes

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Andreas Pflug 2003-03-31 23:19:53 pgadmin3: present and future
Previous Message Andreas Pflug 2003-03-31 22:57:01 Re: pgadmin3 query tools