Re: [GENERAL] Limit on multi-field indexes?

Поиск
Список
Период
Сортировка
От Stephen Davies
Тема Re: [GENERAL] Limit on multi-field indexes?
Дата
Msg-id 199809230001.JAA11368@mustang.sdc.com.au
обсуждение исходный текст
Ответ на Re: [GENERAL] Limit on multi-field indexes?  (Bruce Momjian <maillist@candle.pha.pa.us>)
Ответы How do I read postgres's logs?  (Jeremy Hansen <jeremy@xxedgexx.com>)
Re: [GENERAL] Limit on multi-field indexes?  (darcy@druid.net (D'Arcy J.M. Cain))
Re: [GENERAL] Limit on multi-field indexes?  (Bruce Momjian <maillist@candle.pha.pa.us>)
Re: [GENERAL] Limit on multi-field indexes?  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-general
> > Am I correct in believing that there is a limit of seven columns in a
> > multi-filed index?
> >
> > If so, is it possible to increase this limit (to at least eight) ?
> >
> > Cheers and thanks,
>
> Not easily.  The columns are stored in an int28 column, that holds 8
> two-byte integer.  We would have to change that to a larger field.  Very
> few people have asked for this.
>
Getting desperate here.

If it holds 8 integers, why can't I have 8 columns in a multi-field index?

I am currently writing a tool to replicate any database to a PostgreSQL mirror
and the very first customer for this tool has several tables with 8 fields in
their primary key. Sod's Law:-((

Cheers and thanks,
Stephen.



========================================================================
Stephen Davies Consulting                                            scldad@sdc.com.au
Adelaide, South Australia.                                             Voice: 61-8-82728863
Computing & Network solutions.                                     Fax: 61-8-82741015



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

Предыдущее
От: Brian
Дата:
Сообщение: Few simple questions
Следующее
От: Jeremy Hansen
Дата:
Сообщение: How do I read postgres's logs?