Create index on user defined type

Поиск
Список
Период
Сортировка
От aditya desai
Тема Create index on user defined type
Дата
Msg-id CAN0SRDHgW+5-yGdLE-y6eCpWdffV7iexabGL1PmZOb7BU=QeWg@mail.gmail.com
обсуждение исходный текст
Ответы Re: Create index on user defined type  (Christophe Pettus <xof@thebuild.com>)
Список pgsql-sql
Hi,
Is there any way to create index on user defined type in Postgresql? Need to create index on bug_status in bug table.

CREATE TYPE bug_status AS ENUM ('new', 'open', 'closed');

CREATE TABLE bug (
    id serial,
    description text,
    status bug_status
);

Regards,
Aditya.

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

Предыдущее
От: João Paulo Almeida
Дата:
Сообщение: Understanding SQL queries
Следующее
От: Christophe Pettus
Дата:
Сообщение: Re: Create index on user defined type