Re: Index usage when bitwise operator is used

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Index usage when bitwise operator is used
Дата
Msg-id 21403.1190036229@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Index usage when bitwise operator is used  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Ответы Re: Index usage when bitwise operator is used  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Re: Index usage when bitwise operator is used  ("W.Alphonse HAROUNY" <wharouny@gmail.com>)
Re: Index usage when bitwise operator is used  (valgog <valgog@gmail.com>)
Список pgsql-performance
"Kevin Grittner" <Kevin.Grittner@wicourts.gov> writes:
> On Mon, Sep 17, 2007 at  2:49 AM, in message
> <1190015368.148293.56830@y42g2000hsy.googlegroups.com>, valgog
> <valgog@gmail.com> wrote:=20
>> Are you sure you understood what was the question?
>>
>> Is the TBL1.CATEGORY = TBL2.CATEGORY the same as TBL1.CATEGORY &
>> TBL2.CATEGORY > 0?

> Yes, given that he stipulated that one and only one bit would be set.

Really?  In that case, isn't this bit-field just a bad implementation of
an enum-style field?

            regards, tom lane

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

Предыдущее
От: Decibel!
Дата:
Сообщение: Re: [Again] Postgres performance problem
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Index usage when bitwise operator is used