Ticket 119: handling opclass in dlgIndex

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Ticket 119: handling opclass in dlgIndex
Дата
Msg-id 4B323B02.9060700@lelarge.info
обсуждение исходный текст
Ответы Re: Ticket 119: handling opclass in dlgIndex  (Dave Page <dpage@pgadmin.org>)
Список 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

Вложения

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: import: source code is pushed to git repository
Следующее
От: Dave Page
Дата:
Сообщение: Re: Ticket 119: handling opclass in dlgIndex