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

Re: Support for integrated tsearch configuration

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: Support for integrated tsearch configuration
Date: 2008-08-01 10:05:46
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgadmin-hackers
Dave Page a écrit :
> On Sat, Jun 28, 2008 at 1:54 PM, Guillaume Lelarge
> [...]
>> I was sure I was following the "collection nodes and objects nodes" way of
>> doing. Here are some ascii artwork:
>> - Databases (3)
>>  + DB1
>>  + DB2
>>  - DB3
>>    + Catalogs (2)
>>    + Casts (0)
>>    + Languages (0)
>>    + Schemas (1)
>>    + Replication (0)
>>    - Text Search
>>      + Configurations (2)
>>      + Dictionaries (2)
>>      + Parsers (2)
>>      + Templates (2)
>> Seems you're right. The Text search node is neither a collection neither an
>> object one. Unfortunately, I don't have a better one.
> Logically I think the design is correct - the only 'more correct' way
> would be to put the objects directly under a database, but that would
> be quite ugly I think.
> What you propose should work - it just might need a little thought.
> Maybe we need a 'pgGroupObject' node type. Something to ponder on in
> spare minutes rather than your 5 days I suspect :-)

I worked three days on it. The fourth was more about testing it on 
different platforms (GTK, Windows, Mac). Now, It's working. I don't 
attach the patch because it's really big, but here is a URL to get it 

I was wrong on the layout of the text search objects inside the 
treeview. They all belong to a schema, so they are part of a schema 
node. You can see some screenshots on my blog:

  * the treeview:

  * text search configuration dialog:
    (not uptodate screenshot, it lacks the Tokens tab)

  * text search dictionary dialog:
    (not uptodate screenshot, the add and changes buttons merge in a
    single one)

  * text search parser dialog:

  * text search template dialog:

They all are resizable, so the ones that use wxListCtrl widget suffer 
the Mac issue.



In response to


pgadmin-hackers by date

Next:From: svnDate: 2008-08-01 12:06:11
Subject: SVN Commit by mha: r7395 - in trunk/pgadmin3/pgadmin: frm ui
Previous:From: Guillaume LelargeDate: 2008-08-01 09:46:09
Subject: Re: Minimum height of server status dialog

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