creating an index on numeric type

Поиск
Список
Период
Сортировка
Искать
От
Hiroshi Inoue
Тема
creating an index on numeric type
Дата
Msg-id
000b01beb8a3$fa8a4be0$2801007e@cadzone.tpf.co.jp
Список
Дерево обсуждения
creating an index on numeric type "Hiroshi Inoue" <Inoue@tpf.co.jp>
Re: [HACKERS] creating an index on numeric type Bruce Momjian <maillist@candle.pha.pa.us>
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
Дата:
FAQ