Re: [GENERAL] Limit on multi-field indexes? - Mailing list pgsql-general

From Bruce Momjian
Subject Re: [GENERAL] Limit on multi-field indexes?
Date
Msg-id 199809221920.PAA26913@candle.pha.pa.us
Whole thread Raw
In response to Limit on multi-field indexes?  (Stephen Davies <scldad@sdc.com.au>)
Responses Re: [GENERAL] Limit on multi-field indexes?
List 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@candle.pha.pa.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.        |

pgsql-general by date:

Previous
From: David Hartwig
Date:
Subject: Re: [GENERAL] SPI and Libpq
Next
From: Brian
Date:
Subject: Few simple questions