Re: [NOVICE] Boolean column in multicolumn index

Поиск
Список
Период
Сортировка
Искать
От
Gerald Cheves
Тема
Re: [NOVICE] Boolean column in multicolumn index
Дата
Msg-id
c82b71a2-571d-f2ae-2f80-fb398f29ce04@verizon.net
Ответ на
Список
Дерево обсуждения
[NOVICE] Boolean column in multicolumn index Dima Pavlov <imyfess@gmail.com>
Re: [NOVICE] Boolean column in multicolumn index Tom Lane <tgl@sss.pgh.pa.us>
Re: [NOVICE] Boolean column in multicolumn index Gerald Cheves <gcheves@verizon.net>
Re: [NOVICE] Boolean column in multicolumn index Thomas Kellerer <spam_eater@gmx.net>
Re: [NOVICE] Boolean column in multicolumn index Dima Pavlov <imyfess@gmail.com>
Re: [NOVICE] Boolean column in multicolumn index Tom Lane <tgl@sss.pgh.pa.us>
Re: [NOVICE] Boolean column in multicolumn index Gerald Cheves <gcheves@verizon.net>
On 12/10/2016 7:04 PM, Tom Lane wrote:
CREATE INDEX "right" ON public.t USING btree (ci, cb, co);
CREATE INDEX wrong ON public.t USING btree (ci, co);
CREATE INDEX right_hack ON public.t USING btree (ci, (cb::integer), co);
The problem is that I can't force PostgreSQL to use the "right" index.

I meant why is right in quotes but the other indices are not in quotes?

-- 
siamo arrivati sani e salvi
В списке pgsql-novice по дате отправления
От: Gerald Cheves
Дата:
От: Thomas Kellerer
Дата:
FAQ