CREATE INDEX...USING

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема CREATE INDEX...USING
Дата
Msg-id CAMkU=1zhCpC7hottyMWM5Pimr9vRLprSwzLg+7PgajWhKZqRzw@mail.gmail.com
обсуждение исходный текст
Ответы Re: CREATE INDEX...USING  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-docs
This was recently added to CREATE INDEX reference page:

+        The optional <literal>USING</literal> clause specifies an index
+        type as described in <xref linkend="indexes-types"/>.  If not
+        specified, a default index type will be used based on the
+        data types of the columns.

But I think this is wrong, the default type is BTREE, it does not depend on the data type.  Or at least, I've never witnessed the claimed behavior.  The claim also conflicts with what is said at https://www.postgresql.org/docs/10/indexes-types.html

Cheers,

Jeff

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: nicer examples for aggregate calls
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: CREATE INDEX...USING