diff options
| author | Bruce Momjian <bruce@momjian.us> | 2000-01-10 05:20:26 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2000-01-10 05:20:26 +0000 |
| commit | a040281787a5916603c8114a050d3f5b5db56bf5 (patch) | |
| tree | 7121d48c8e0790d3e3f7aacafa3452e916ae1957 /src/include | |
| parent | b99f3006756e6fe32f411533bc40d9cd9987b009 (diff) | |
| download | postgresql-a040281787a5916603c8114a050d3f5b5db56bf5.tar.gz | |
Move fixes for >8 indexed fields.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/config.h.in | 5 | ||||
| -rw-r--r-- | src/include/postgres.h | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/include/config.h.in b/src/include/config.h.in index 00713b0b70..c5a55a5fb3 100644 --- a/src/include/config.h.in +++ b/src/include/config.h.in @@ -93,6 +93,11 @@ #define INDEXSCAN_PATCH /* + * Maximum number of columns in an index. + */ +#define INDEX_MAX_KEYS 8 + +/* * Enables debugging print statements in the date/time support routines. * Particularly useful for porting to a new platform/OS combination. */ diff --git a/src/include/postgres.h b/src/include/postgres.h index 6d9c2bfd81..4c51ceea42 100644 --- a/src/include/postgres.h +++ b/src/include/postgres.h @@ -6,7 +6,7 @@ * * Copyright (c) 1995, Regents of the University of California * - * $Id: postgres.h,v 1.32 2000/01/10 04:36:36 momjian Exp $ + * $Id: postgres.h,v 1.33 2000/01/10 05:20:26 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -101,8 +101,6 @@ struct varlena typedef struct varlena bytea; typedef struct varlena text; -#define INDEX_MAX_KEYS 8 /* maximum number of keys in an index - * definition */ typedef int2 int28[INDEX_MAX_KEYS]; typedef Oid oid8[INDEX_MAX_KEYS]; |
