Re: Composite Indexes with a function and a column

Поиск
Список
Период
Сортировка
От Christian Hammers
Тема Re: Composite Indexes with a function and a column
Дата
Msg-id 20121221131214.692c1aaa@sys-251.netcologne.de
обсуждение исходный текст
Ответ на Composite Indexes with a function and a column  (Alex Pires de Camargo <acamargo@gmail.com>)
Ответы Re: Composite Indexes with a function and a column
Список pgsql-general
Hello

On Fri, 21 Dec 2012 08:46:14 -0200
Alex Pires de Camargo <acamargo@gmail.com> wrote:

> Is it possible?
>
>    Thanks!

Why not?

 devel_np=# CREATE TABLE t (i int);
 CREATE TABLE

 devel_np=# CREATE INDEX ON t (length(i::text), i);
 CREATE INDEX

bye,

-christian-


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

Предыдущее
От: Alex Pires de Camargo
Дата:
Сообщение: Composite Indexes with a function and a column
Следующее
От: Alex Pires de Camargo
Дата:
Сообщение: Re: Composite Indexes with a function and a column