From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | Re: [HACKERS] Number of index fields configurable |
Date: | 2000-01-10 05:17:49 |
Message-ID: | 200001100517.AAA20027@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> > -----Original Message-----
> > From: owner-pgsql-hackers(at)postgreSQL(dot)org
> > [mailto:owner-pgsql-hackers(at)postgreSQL(dot)org]On Behalf Of Bruce Momjian
> >
> > I have moved INDEX_MAX_KEYS to postgres.h, and have removed the
> > hard-coded limits that it is 8 fields. I hope I got all of them. The
> > default is still 8.
> >
> > There were only a few places left that had the 8 hard-coded.
> >
> > I haven't tested non-8 values but they should work.
> >
>
> Shouldn't the following catalog be changed ?
>
> CATALOG(pg_index)
> {
> ....
> int28 indkey;
> ^^^^^
> oid8 indclass;
> ^^^^^
The underlying definitions of the types are now based in the #define
parameter. Not sure if this is going to work so I have not change the
actual type names yet. I have a few more changes to commit now.
Also, what should the new names be? Can't call it int16. Does anyone
outside the source tree rely on those type names?
--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2000-01-10 05:24:13 | oid8in and int28in |
Previous Message | Bruce Momjian | 2000-01-10 05:16:26 | Re: [HACKERS] Re: Postgres Features for 7.X |