Ticket 119: handling opclass in dlgIndex - Mailing list pgadmin-hackers

From Guillaume Lelarge
Subject Ticket 119: handling opclass in dlgIndex
Date
Msg-id 4B323B02.9060700@lelarge.info
Whole thread Raw
Responses Re: Ticket 119: handling opclass in dlgIndex
List pgadmin-hackers
Hi,

This patch adds a combobox in dlgIndex to allow a user to change the
operator class for each column. I added a new column in the columns's
list to show the non default opclass.

Comments?

BTW, I was wondering why the index's type is not set to btree by
default. It is set to "", which really means btree. But the opclass code
and the ASC/DESC and NULL FIRST/LAST code treat it as non btree, which
is weird. I wonder if we can delete the blank type option.

Another question. There is right now no way to change an index. We can
alter its name, tablespace, stuff like that. But we can't really change
its definition. I wonder if there would be a way to allow someone to
change it with first dropping the old object and creating the new one.
That would be better, for the user, than to make him drop the index and
then recreate it completely. Not sure that my explanation is really clear :)


--
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com

Attachment

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: import: source code is pushed to git repository
Next
From: Dave Page
Date:
Subject: Re: Ticket 119: handling opclass in dlgIndex