minor bug...

Поиск
Список
Период
Сортировка
От Don Baccus
Тема minor bug...
Дата
Msg-id 3.0.1.32.20000208183105.0108bd60@mail.pacifier.com
обсуждение исходный текст
Ответы Re: [HACKERS] minor bug...  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
create table foo(b boolean);
create index foo_index on foo(b);

You get a "no default operator for type 16." error...

This ecommerce datamodel I'm porting over uses such indices 
frequently, apparently to grab small subsets of large tables which
have few rows with the predicate set to one state.  Even if such
an index might be of dubious usefulness in situations where
the table's population is more evenly split, there's no real
reason not to support indexes on booleans, is there?



- Don Baccus, Portland OR <dhogaza@pacifier.com> Nature photos, on-line guides, Pacific Northwest Rare Bird Alert
Serviceand other goodies at http://donb.photo.net.
 


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

Предыдущее
От: Chris Bitmead
Дата:
Сообщение: Regression tests
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: VxWorks ports?