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

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: scldad(at)sdc(dot)com(dot)au (Stephen Davies)
Cc: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] Limit on multi-field indexes?
Date: 1998-09-22 19:19:32
Message-ID: 199809221920.PAA26913@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
http://www.op.net/~candle | (610) 353-9879(w)
+ If your life is a hard drive, | (610) 853-3000(h)
+ Christ can be your backup. |

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Brian 1998-09-22 20:00:41 Few simple questions
Previous Message David Hartwig 1998-09-22 19:09:39 Re: [GENERAL] SPI and Libpq