Skip site navigation (1) Skip section navigation (2)

Re: Refresh issue in object tree

From: "Dave Page" <dpage(at)pgadmin(dot)org>
To: "Erwin Brandstetter" <brandstetter(at)falter(dot)at>
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: Refresh issue in object tree
Date: 2008-05-02 09:05:58
Message-ID: 937d27e10805020205v3eaf8c29j5a1a8361303e7a2f@mail.gmail.com (view raw or flat)
Thread:
Lists: pgadmin-hackers
On Mon, Apr 28, 2008 at 7:44 PM, Erwin Brandstetter
<brandstetter(at)falter(dot)at> wrote:
> Hi developers! Hi Dave!
>
> Testing pgAdmin v.1.8.2 (Feb 5 2008), rev: 7050, on WinXP; host: pg 8.2.7
> and 8.3.1 on Debian Etch
>
> A refresh on a collection in the object tree updates all object names under
> it, but a refresh on a single object fails to update its name (while the
> definition in the SQL pane is updated like expected)
> That feels counter-intuitive, one would expect the name to be included. It
> also leads to a state where the object browser contradicts the SQL pane.
>
> I have tested this with trigger functions, functions, tables and views. So I
> assume it is a general issue in the object tree.

Yup, indeed - we never refresh the node text, we just recreate the
nodes under the current one, or reassign the object data to the
current node. I've committed a fix that will also update the text if
the object isn't a collection.

Thanks, Dave.

-- 
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com

In response to

pgadmin-hackers by date

Next:From: svnDate: 2008-05-02 09:17:28
Subject: SVN Commit by guillaume: r7255 - in branches/REL-1_8_0_PATCHES/pgadmin3: pgadmin xtra/pgagent
Previous:From: svnDate: 2008-05-02 09:00:48
Subject: SVN Commit by dpage: r7254 - in branches/REL-1_8_0_EDB/pgadmin3: . pgadmin/frm

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group