creating an index on numeric type

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема creating an index on numeric type
Дата
Msg-id 000b01beb8a3$fa8a4be0$2801007e@cadzone.tpf.co.jp
обсуждение исходный текст
Ответы Re: [HACKERS] creating an index on numeric type  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-hackers
Hi all,

I couldn't create a table which has a primary key on numeric type.

create table t (id numeric(7,2) primary key);
NOTICE:  CREATE TABLE/PRIMARY KEY will create implicit index
't_pkey' for table 't'
ERROR:  Can't find a default operator class for type 1700. 

How can I create an index on numeric type ? 

Regards.

Hiroshi Inoue
Inoue@tpf.co.jp


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

Предыдущее
От: Vadim Mikheev
Дата:
Сообщение: Re: [HACKERS] Savepoints...
Следующее
От: gravity
Дата:
Сообщение: (don't know who else to tell) 6.5 gets build on LinuxPPCR5 but fails a lot of regr. tests