head     1.4;
branch   ;
access   ;
symbols  Version_2_1:1.4 Version_2:1.2 C_Demo_1:1.2;
locks    ; strict;
comment  @ * @;


1.4
date     90.08.17.08.50.42;  author cimarron;  state Exp;
branches ;
next     1.3;

1.3
date     90.08.08.08.15.06;  author cimarron;  state Exp;
branches ;
next     1.2;

1.2
date     89.09.05.17.06.10;  author mao;  state Version_2;
branches ;
next     1.1;

1.1
date     89.01.19.22.24.19;  author aoki;  state Stab;
branches ;
next     ;


desc
@functional btree definitions
@


1.4
log
@added pathnames to #include statements
@
text
@/*
 * ftree.h --
 *	Definitions for using functional indexes.
 *	Mostly descriptions of the FUNCINDEX pseudo-catalog relation.
 *
 * Identification:
 *	$Header: RCS/ftree.h,v 1.3 90/08/08 08:15:06 cimarron Exp Locker: cimarron $
 */

#ifndef FTreeIncluded
#define FTreeIncluded

#include "access/btree.h"

/* ----------------
 *	constants should be in a pg_xxx.h file someplace.
 * ----------------
 */
#define	FunctionIndexIndexAttributeNumber		1
#define	FunctionIndexExtractAttributeNumber		2
#define	FunctionIndexCountAttributeNumber		3
#define	FunctionIndexElementAttributeNumber		4
#define	FunctionIndexListifyAttributeNumber		5

#define	FunctionIndexRelationNumberOfAttributes		5

/* XXX Should be in: cat.h */
typedef struct {
	ObjectId	finindex;
	ObjectId	finextract;
	ObjectId	fincount;
	ObjectId	finelement;
	ObjectId	finlistify;
} FunctionIndexTupleFormData;
typedef	FunctionIndexTupleFormData	*FunctionIndexTupleForm;

/* XXX Should be in: name.[ch] */
extern Name	FunctionIndexRelationName;

#endif /* !FTreeIncluded */
@


1.3
log
@reorganized some header files
@
text
@d7 1
a7 1
 *	$Header: RCS/ftree.h,v 1.2 89/09/05 17:06:10 mao Version_2 Locker: cimarron $
d13 1
a13 1
#include "btree.h"
@


1.2
log
@Working version of C-only demo
@
text
@d7 1
a7 1
 *	$Header: /usr6/postgres/mao/postgres/src/lib/H/RCS/ftree.h,v 1.1 89/01/19 22:24:19 aoki Stab $
d15 4
a18 1
/* XXX Should be in: anum.h */
@


1.1
log
@Initial revision
@
text
@d7 1
a7 1
 *	$Header$
@
