From b99f3006756e6fe32f411533bc40d9cd9987b009 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 10 Jan 2000 04:36:37 +0000 Subject: Move INDEX_MAX_KEYS to postgres.h, and make it configurable for users. --- src/include/postgres.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/include/postgres.h') diff --git a/src/include/postgres.h b/src/include/postgres.h index e03922ceda4..6d9c2bfd81e 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.31 1999/12/21 00:06:41 wieck Exp $ + * $Id: postgres.h,v 1.32 2000/01/10 04:36:36 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -101,8 +101,10 @@ struct varlena typedef struct varlena bytea; typedef struct varlena text; -typedef int2 int28[8]; -typedef Oid oid8[8]; +#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]; /* -- cgit v1.2.3