summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2000-01-10 05:20:26 +0000
committerBruce Momjian <bruce@momjian.us>2000-01-10 05:20:26 +0000
commita040281787a5916603c8114a050d3f5b5db56bf5 (patch)
tree7121d48c8e0790d3e3f7aacafa3452e916ae1957 /src/include
parentb99f3006756e6fe32f411533bc40d9cd9987b009 (diff)
downloadpostgresql-a040281787a5916603c8114a050d3f5b5db56bf5.tar.gz
Move fixes for >8 indexed fields.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/config.h.in5
-rw-r--r--src/include/postgres.h4
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];