head     1.15;
branch   ;
access   ;
symbols  Version_2_1:1.14 Version_2:1.11 C_Demo_1:1.6;
locks    ; strict;
comment  @ * @;


1.15
date     91.03.26.17.21.28;  author kemnitz;  state Exp;
branches ;
next     1.14;

1.14
date     90.08.18.00.40.29;  author cimarron;  state Exp;
branches ;
next     1.13;

1.13
date     90.08.17.08.54.24;  author cimarron;  state Exp;
branches ;
next     1.12;

1.12
date     90.08.01.14.33.31;  author sp;  state Exp;
branches ;
next     1.11;

1.11
date     90.07.19.19.35.37;  author sp;  state Version_2;
branches ;
next     1.10;

1.10
date     90.07.10.14.17.47;  author sp;  state Exp;
branches ;
next     1.9;

1.9
date     90.06.19.09.16.21;  author cimarron;  state Exp;
branches ;
next     1.8;

1.8
date     90.06.07.18.20.08;  author cimarron;  state Exp;
branches ;
next     1.7;

1.7
date     90.02.08.14.39.12;  author hong;  state Exp;
branches ;
next     1.6;

1.6
date     89.09.05.17.04.27;  author mao;  state C_Demo_1;
branches ;
next     1.5;

1.5
date     89.06.17.01.58.10;  author hirohama;  state Exp;
branches ;
next     1.4;

1.4
date     89.04.14.18.16.58;  author dillon;  state Exp;
branches ;
next     1.3;

1.3
date     89.04.12.19.53.15;  author dillon;  state Exp;
branches ;
next     1.2;

1.2
date     89.03.22.17.32.29;  author muir;  state Stab;
branches ;
next     1.1;

1.1
date     89.01.17.05.53.54;  author cimarron;  state Exp;
branches ;
next     ;


desc
@@


1.15
log
@fixed pg_attribute and pg_type.
@
text
@/*
 * cat.h --
 *	POSTGRES system catalog definitions.
 *
 * Identification:
 *	$Header: RCS/cat.h,v 1.14 90/08/18 00:40:29 cimarron Exp Locker: kemnitz $
 */

#ifndef	CatIncluded		/* Include this file only once */
#define CatIncluded	1

/* ----------------
 *	include files needed for system types
 * ----------------
 */
#include "tmp/postgres.h"	/* XXX for Boolean and ABSTIME */

#include "access/attnum.h"
#include "access/istrat.h"

/* ----------------------------------------------------------------
 *	soon to be obsolete system tuple structure definitions
 * ----------------------------------------------------------------
 */

/* ----------------
 *	RelationTupleForm
 * ----------------
 */
#ifndef RelationTupleForm_Defined
#define RelationTupleForm_Defined 1

typedef struct RelationTupleFormD {
	NameData	relname;
	ObjectId	relowner;
	ObjectId	relam;
	uint32		relpages;
	uint32		reltuples;
	ABSTIME		relexpires;
	RELTIME		relpreserved;
	Boolean		relhasindex;
	Boolean		relisshared;
	char		relkind;
	char		relarch;
	AttributeNumber	relnatts;
	AttributeNumber	relkey[8];
	ObjectId	relkeyop[8];
	struct varlena  relstub; /* XXX this should be Prs2RawStub... */
/*	LOCK	rellock; */
/*	SPQUEL	reldesc; */
} RelationTupleFormD;

typedef RelationTupleFormD	*RelationTupleForm;

#endif RelationTupleForm_Defined

/* ----------------
 *	AttributeTupleForm
 * ----------------
 */
#ifndef AttributeTupleForm_Defined
#define AttributeTupleForm_Defined 1

typedef struct AttributeTupleFormD {
	ObjectId	attrelid;
	NameData	attname;
	ObjectId	atttypid;
	ObjectId	attdefrel;
	uint32		attnvals;
	ObjectId	atttyparg;	/* type arg for arrays/spquel/procs */
	int16		attlen;
	AttributeNumber	attnum;
	uint16		attbound;
	Boolean		attbyval;
	Boolean		attcanindex;
	OID		attproc;	/* spquel? */
/*	char	*attlock; */
} AttributeTupleFormD;

typedef AttributeTupleFormD	*AttributeTupleForm;
#define AttributeTupleFormData	AttributeTupleFormD

#endif AttributeTupleForm_Defined

/* ----------------
 *	InheritsTupleForm
 * ----------------
 */
#ifndef InheritsTupleForm_Defined
#define InheritsTupleForm_Defined 1

typedef struct InheritsTupleFormD {
	ObjectId	inhrel;
	ObjectId	inhparent;
	int32		inhseqnum;	/* XXX uint32 better? */
} InheritsTupleFormD;

typedef InheritsTupleFormD	*InheritsTupleForm;

#endif InheritsTupleForm_Defined

/* ----------------
 *	IndexTupleForm
 * ----------------
 */
#ifndef IndexTupleForm_Defined
#define IndexTupleForm_Defined 1

typedef struct IndexTupleFormD {
	ObjectId	indexrelid;
	ObjectId	indrelid;
	AttributeNumber	indkey[8];
	ObjectId	indclass[8];
	Boolean		indisclustered;
	Boolean		indisarchived;
/*	SPQUEL	inddesc; */
} IndexTupleFormD;

typedef IndexTupleFormD		*IndexTupleForm;
#define IndexTupleFormData	IndexTupleFormD

#endif IndexTupleForm_Defined

/* ----------------
 *	VersionTupleForm
 * ----------------
 */
#ifndef VersionTupleForm_Defined
#define VersionTupleForm_Defined 1

typedef struct VersionTupleFormD {
	ObjectId	verrelid;
	ObjectId	verbaseid;
	ABSTIME		vertime;
} VersionTupleFormD;

typedef VersionTupleFormD	*VersionTupleForm;

#endif VersionTupleForm_Defined

/* ----------------
 *	TypeTupleForm
 * ----------------
 */
#ifndef TypeTupleForm_Defined
#define TypeTupleForm_Defined 1

typedef struct	TypeTupleFormD {
        /* VARIABLE LENGTH STRUCTURE */
	NameData	typname;
	ObjectId	typowner;
	int16		typlen;
	int16		typprtlen;
	Boolean		typbyval;
	char		typtype;
	Boolean 	typisdefined;
	char		typdelim;
	ObjectId	typrelid;
	ObjectId	typelem;
	RegProcedure	typinput;
	RegProcedure	typoutput;
	RegProcedure	typreceive;
	RegProcedure	typsend;
	struct	varlena	typdefault;
} TypeTupleFormD;

typedef TypeTupleFormD		*TypeTupleForm;
#define TypeTupleFormData	TypeTupleFormD

#endif TypeTupleForm_Defined

/* ----------------
 *	OperatorTupleForm
 * ----------------
 */
#ifndef OperatorTupleForm_Defined
#define OperatorTupleForm_Defined 1

typedef struct OperatorTupleFormD {
	NameData	oprname;
	ObjectId	oprowner;
	uint16		oprprec;
	char		oprkind;
	Boolean		oprisleft;
	Boolean		oprcanhash;
	ObjectId	oprleft;
	ObjectId	oprright;
	ObjectId	oprresult;
	ObjectId	oprcom;
	ObjectId	oprnegate;
	ObjectId	oprlsortop;
	ObjectId	oprrsortop;
	RegProcedure	oprcode;
	RegProcedure	oprrest;
	RegProcedure	oprjoin;
} OperatorTupleFormD;

typedef OperatorTupleFormD	*OperatorTupleForm;

#endif OperatorTupleForm_Defined

/* ----------------
 *	AccessMethodTupleForm
 * ----------------
 */
#ifndef AccessMethodTupleForm_Defined
#define AccessMethodTupleForm_Defined 1

typedef struct AccessMethodTupleFormD {
	NameData	amname;
	ObjectId	amowner;
	char		amkind;		/* XXX */
/*	typedef uint16	StrategyNumber; */
	uint16		amstrategies;
	RegProcedure	amgettuple;
	RegProcedure	aminsert;
	RegProcedure	amdelete;
	RegProcedure	amgetattr;
	RegProcedure	amsetlock;
	RegProcedure	amsettid;
	RegProcedure	amfreetuple;
	RegProcedure	ambeginscan;
	RegProcedure	amrescan;
	RegProcedure	amendscan;
	RegProcedure	ammarkpos;
	RegProcedure	amrestrpos;
	RegProcedure	amopen;
	RegProcedure	amclose;
	RegProcedure	ambuild;
	RegProcedure	amcreate;
	RegProcedure	amdestroy;
} AccessMethodTupleFormD;

typedef AccessMethodTupleFormD		*AccessMethodTupleForm;

#endif AccessMethodTupleForm_Defined

/* ----------------
 *	AccessMethodOperatorTupleForm
 * ----------------
 */
#ifndef AccessMethodOperatorTupleForm_Defined
#define AccessMethodOperatorTupleForm_Defined 1

typedef struct AccessMethodOperatorTupleFormD {
	ObjectId	amopamid;
	ObjectId	amopclaid;
	ObjectId	amopoprid;
	StrategyNumber	amopstrategy;
	RegProcedure	amopselect;
	RegProcedure	amopnpages;
} AccessMethodOperatorTupleFormD;

typedef AccessMethodOperatorTupleFormD	*AccessMethodOperatorTupleForm;

#endif AccessMethodOperatorTupleForm_Defined

/* ----------------------------------------------------------------
 *	old catalog.h definitions
 *
 *	these are obsolete and will soon be going away.
 * ----------------------------------------------------------------
 */

/* ----------------
 *	struct user
 * ----------------
 */
#ifndef struct_user_Defined
#define struct_user_Defined 1

struct	user {
	char	usename[16];
	int16	usesysid;	/* XXX uint16 better? */
	Boolean	usecreatedb;
	Boolean	usetrace;
	Boolean	usesuper;
	Boolean	usecatupd;
};

#endif struct_user_Defined

/* ----------------
 *	struct database
 * ----------------
 */
#ifndef struct_database_Defined
#define struct_database_Defined 1
    
struct	database {
	char	datname[16];
	OID	datdba;
	struct	varlena	datpath;
}; /* VARIABLE LENGTH STRUCTURE */

#endif struct_database_Defined

/* ----------------
 *	struct defaults
 * ----------------
 */
#ifndef struct_defaults_Defined
#define struct_defaults_Defined 1

struct	defaults {
	char	defname[16];
	char	defvalue[16];
};

#endif struct_defaults_Defined

/* ----------------
 *	struct variables
 * ----------------
 */
#ifndef struct_variables_Defined
#define struct_variables_Defined 1

struct	variables {
	char	varname[16];
	struct	varlena	varvalue;
}; /* VARIABLE LENGTH STRUCTURE */

#endif struct_variables_Defined

/* ----------------
 *	struct magic
 * ----------------
 */
#ifndef struct_magic_Defined
#define struct_magic_Defined 1

struct	magic {
	char	magname[16];
	char	magvalue[16];
};
#endif struct_magic_Defined

/* ----------------
 *	struct relation
 * ----------------
 */
#ifndef struct_relation_Defined
#define struct_relation_Defined 1

struct	relation {
	char	relname[16];
	OID	relowner;
	OID	relam;
	uint32	relpages;
	uint32	reltuples;
	ABSTIME	relexpires;
	RELTIME	relpreserved;
	Boolean	relhasindex;
	Boolean	relisshared;
	char	relkind;
	char	relarch;
	uint16	relnatts;
	int16	relkey[8];
	OID	relkeyop[8];
/*	LOCK	rellock; */
/*	SPQUEL	reldesc; */
};

#endif struct_relation_Defined

/* ----------------
 *	struct attribute
 * ----------------
 */
#ifndef struct_attribute_Defined
#define struct_attribute_Defined 1

struct	attribute {
	OID	attrelid;
	char	attname[16];
	OID	atttypid;
	OID	attdefrel;
	uint32	attnvals;
	OID	atttyparg;		/* type arg for arrays/spquel/procs */
	int16	attlen;
	int16	attnum;
	uint16	attbound;
	Boolean	attbyval;
	Boolean	attcanindex;
	OID	attproc;		/* spquel? */
/*	char	*attlock; */
};

#endif struct_attribute_Defined

/* ----------------
 *	struct index
 * ----------------
 */
#ifndef struct_index_Defined
#define struct_index_Defined 1

struct	index {
	OID	indexrelid;
	OID	indrelid;
	int16	indkey[8];
	OID	indclass[8];
	Boolean	indisclustered;
	Boolean	indisarchived;
/*	SPQUEL	inddesc; */
};
#endif struct_index_Defined

/* ----------------
 *	struct version
 * ----------------
 */
#ifndef struct_version_Defined
#define struct_version_Defined 1

struct	version {
	OID	verrelid;
	OID	verbaseid;
	ABSTIME	vertime;
};
#endif struct_version_Defined

/* ----------------
 *	struct statistic
 * ----------------
 */
#ifndef struct_statistic_Defined
#define struct_statistic_Defined 1

struct	statistic {
	OID	starelid;
	uint16	staattnum;
	OID	staop;
	struct	varlena	stalokey;
/*	struct	varlena	stahikey; */
}; /* VARIABLE LENGTH STRUCTURE */

#endif struct_statistic_Defined

/* ----------------
 *	struct type
 * ----------------
 */
#ifndef struct_type_Defined
#define struct_type_Defined 1

struct	type {
	char	typname[16];
	OID	typowner;
	int16	typlen;
	int16	typprtlen;
	Boolean	typbyval;
	char	typtype;
	Boolean typisdefined;
	OID	typrelid;
	OID	typelem;
	REGPROC	typinput;
	REGPROC	typoutput;
	REGPROC	typreceive;
	REGPROC	typsend;
	struct	varlena	typdefault;
}; /* VARIABLE LENGTH STRUCTURE */

#endif struct_type_Defined

/* ----------------
 *	struct operator
 * ----------------
 */
#ifndef struct_operator_Defined
#define struct_operator_Defined 1

struct	operator {
	char	oprname[16];
	OID	oprowner;
	uint16	oprprec;
	char	oprkind;
	Boolean	oprisleft;
	Boolean	oprcanhash;
	OID	oprleft;
	OID	oprright;
	OID	oprresult;
	OID	oprcom;
	OID	oprnegate;
	OID	oprlsortop;
	OID	oprrsortop;
	REGPROC	oprcode;
	REGPROC	oprrest;
	REGPROC	oprjoin;
};

#endif struct_operator_Defined

/* ----------------
 *	struct opclass
 * ----------------
 */
#ifndef struct_opclass_Defined
#define struct_opclass_Defined 1

struct	opclass {
	char	opcname[16];
};
#endif struct_opclass_Defined

/* ----------------
 *	struct am
 * ----------------
 */
#ifndef struct_am_Defined
#define struct_am_Defined 1

struct	am {
	char	amname[16];
	OID	amowner;
	char	amkind;
	uint16  amstrategies;
	REGPROC	amgettuple;
	REGPROC	aminsert;
	REGPROC	amdelete;
	REGPROC	amgetattr;
	REGPROC	amsetlock;
	REGPROC	amsettid;
	REGPROC	amfreetuple;
	REGPROC	ambeginscan;
	REGPROC	amrescan;
	REGPROC	amendscan;
	REGPROC	ammarkpos;
	REGPROC	amrestrpos;
	REGPROC	amopen;
	REGPROC	amclose;
	REGPROC	ambuild;
	REGPROC	amcreate;
	REGPROC	amdestroy;
};

#endif struct_am_Defined

/* ----------------
 *	struct amop
 * ----------------
 */
#ifndef struct_amop_Defined
#define struct_amop_Defined 1

struct	amop {
	OID	amopamid;
	OID	amopclaid;
	OID	amopoprid;
	uint16	amopstrategy;
	REGPROC	amopselect;
	REGPROC	amopnpages;
};

#endif struct_amop_Defined

/* ----------------
 *	struct rule
 * ----------------
 */
#ifndef struct_rule_Defined
#define struct_rule_Defined 1

struct	rule {
	char	rulname[16];
	OID	rulowner;
	OID	rulserver;
	char	rulportal[16];
	uint16	rulpriority;
	char	rulstatus;
	char	rulkind;
	REGPROC	rulstat1;
	REGPROC	rulstat2;
};
#endif struct_rule_Defined

/* ----------------
 *	struct ruleplans
 * ----------------
 */
#ifndef struct_ruleplans_Defined
#define struct_ruleplans_Defined 1

struct	ruleplans {
	OID	rplrulid;
	uint16	rplnum;
	struct	varlena	rplcode;	/* postquel */
}; /* VARIABLE LENGTH STRUCTURE */

#endif struct_ruleplans_Defined

/* ----------------
 *	struct proc
 * ----------------
 */
#ifndef struct_proc_Defined
#define struct_proc_Defined 1

struct	proc {
	char	proname[16];
	OID	proowner;
	OID	prolang;
	Boolean	proisinh;
	Boolean	proistrusted;
	Boolean	proiscachable;
	uint16	pronargs;
	OID	prorettype;
}; /* VARIABLE LENGTH STRUCTURE */

#endif struct_proc_Defined

/* ----------------
 *	struct language
 * ----------------
 */
#ifndef struct_language_Defined
#define struct_language_Defined 1

struct	language {
	char	lanname[16];
	struct	varlena	lancompiler;
}; /* VARIABLE LENGTH STRUCTURE */

#endif struct_language_Defined

/* ----------------
 *	struct parg
 * ----------------
 */
#ifndef struct_parg_Defined
#define struct_parg_Defined 1

struct	parg {
	OID	parproid;
	uint16	parnum;
	uint8	parbound;
	OID	partype;
};
#endif struct_parg_Defined

/* ----------------
 *	struct aggregate
 * ----------------
 */
#ifndef struct_aggregate_Defined
#define struct_aggregate_Defined 1

struct	aggregate {
	char	aggname[16];
	OID	aggowner;
	OID	aggfun1;
	OID	aggfun2;
};
#endif struct_aggregate_Defined

/* ----------------
 *	struct ipl
 * ----------------
 */
#ifndef struct_ipl_Defined
#define struct_ipl_Defined 1

struct	ipl {
	OID	ipdrel;
	OID	ipdinherits;
	int32	ipdseqnum;	/* XXX uint16 better? */
};
#endif struct_ipl_Defined

/* ----------------
 *	struct inheritproc
 * ----------------
 */
#ifndef struct_inheritproc_Defined
#define struct_inheritproc_Defined 1

struct	inheritproc {
	char	inhprocname[16];
	OID	inhargrel;
	OID	inhdefrel;
	OID	inhproc;
};
#endif struct_inheritproc_Defined

/* ----------------
 *	struct demon
 * ----------------
 */
#ifndef struct_demon_Defined
#define struct_demon_Defined 1

struct	demon {
	OID	demserid;
	char	demname[16];
	OID	demowner;
	REGPROC	demcode;
};

#endif struct_demon_Defined

/* ----------------
 *	struct_server
 * ----------------
 */
#ifndef struct_server_Defined
#define struct_server_Defined 1

struct	server {	
	char	sername[16];
	int16	serpid;		/* XXX uint16 better? */
	int16	serport;	/* XXX uint16 better? */
};
#endif struct_server_Defined

/* ----------------
 *	struct prs2plans
 * ----------------
 */
#ifndef struct_prs2plans_Defined
#define struct_prs2plans_Defined 1

struct	prs2plans {
	OID	prs2ruleid;
	uint16	prs2planno;
	struct	varlena prs2code;
}; /* VARIABLE LENGTH STRUCTURE */

#endif struct_prs2plans_Defined

/* ----------------
 *	struct prs2rule
 * ----------------
 */
#ifndef struct_prs2rule_Defined
#define struct_prs2rule_Defined 1

struct	prs2rule {
	char	prs2name[16];
	uint8	prs2eventtype;
	OID	prs2eventrel;
	uint16	prs2eventattr;
	float64 prs2necessary;
	float64 prs2sufficient;
	struct	varlena prs2text;
}; /* VARIABLE LENGTH STRUCTURE */

#endif struct_prs2rule_Defined

#endif	/* !defined(CatIncluded) */
@


1.14
log
@eliminated less significant .h files
@
text
@d6 1
a6 1
 *	$Header: RCS/cat.h,v 1.13 90/08/17 08:54:24 cimarron Exp Locker: cimarron $
d157 1
@


1.13
log
@added pathnames to #include statements
@
text
@d6 1
a6 1
 *	$Header: RCS/cat.h,v 1.12 90/08/01 14:33:31 sp Exp Locker: cimarron $
a19 2
#include "tmp/name.h"
#include "tmp/regproc.h"
@


1.12
log
@RelationTupleForm & pg_relation have a new attribute: relstub
@
text
@d6 1
a6 1
 *	$Header: RCS/cat.h,v 1.11 90/07/19 19:35:37 sp Version_2 $
d16 1
a16 1
#include "postgres.h"	/* XXX for Boolean and ABSTIME */
d18 4
a21 6
#include "c.h"
#include "attnum.h"
#include "istrat.h"
#include "name.h"
#include "oid.h"
#include "regproc.h"
@


1.11
log
@struct prs2rule is in sync now with pg_prs2rule
@
text
@d6 1
a6 1
 *	$Header: RCS/cat.h,v 1.10 90/07/10 14:17:47 sp Exp Locker: sp $
d52 1
@


1.10
log
@`typtype' in struct `type' should be a `char' and not a `Boolean'
@
text
@d6 1
a6 1
 *	$Header: RCS/cat.h,v 1.9 90/06/19 09:16:21 cimarron Exp Locker: sp $
d745 2
@


1.9
log
@modified some #ifdefs while
reorginizing code and adding support
for relation types
@
text
@d6 1
a6 1
 *	$Header: RCS/cat.h,v 1.8 90/06/07 18:20:08 cimarron Exp Locker: cimarron $
d456 1
a456 1
	Boolean	typtype;
@


1.8
log
@made changes to simplify header include files
@
text
@d6 1
a6 1
 *	$Header: RCS/cat.h,v 1.7 90/02/08 14:39:12 hong Exp $
d12 4
a17 1
#ifndef C_H
a18 2
#endif
#ifndef ATTNUM_H
a19 2
#endif
#ifndef ISTRAT_H
a20 2
#endif
#ifndef NAME_H
a21 2
#endif
#ifndef OID_H
a22 2
#endif
#ifndef REGPROC_H
a23 1
#endif
d25 4
a28 1
#define CAT_H	"$Header: RCS/cat.h,v 1.7 90/02/08 14:39:12 hong Exp $"
d30 7
d58 9
d86 9
d103 9
d125 9
d142 9
d158 1
a158 1
	Boolean		typisrel;
d172 9
d202 9
d238 9
d258 2
d261 3
a263 1
 *			old catalog.h definitions
d266 8
d283 9
d298 9
d312 9
d326 9
d339 1
d341 7
d367 9
d392 1
a392 8
#if 0
/* inherits is now a key word */
struct	INHERITS {
	OID	inhrel;
	OID	inhparent;
	int32	inhseqnum;	/* XXX uint32 better? */
};
#endif
d394 7
d410 1
d412 7
d424 1
d426 7
d441 9
d456 1
a456 1
	Boolean	typisrel;
d467 9
d495 9
d507 1
d509 7
d540 9
d558 9
d578 1
d580 7
d593 9
d613 9
d627 9
d642 1
d644 7
d657 1
d659 7
d671 1
d673 7
d686 1
d688 7
d702 10
a711 1
struct	server {
d716 1
d718 7
d731 9
d747 2
@


1.7
log
@fix for hermes to reduce levels of #include nesting.
@
text
@d6 1
a6 1
 *	$Header: RCS/cat.h,v 1.6 89/09/05 17:04:27 mao C_Demo_1 $
d33 1
a33 1
#define CAT_H	"$Header: RCS/cat.h,v 1.6 89/09/05 17:04:27 mao C_Demo_1 $"
d111 1
a111 1
	Boolean		typisproc;
d113 1
a113 1
	ObjectId	typprocid;
d183 263
@


1.6
log
@Working version of C-only demo
@
text
@d6 1
a6 1
 *	$Header: /usr6/postgres/mao/postgres/src/lib/H/RCS/cat.h,v 1.5 89/06/17 01:58:10 hirohama Exp $
d17 1
a17 1

d19 2
d22 2
d25 2
d28 2
d31 1
d33 1
a33 1
#define CAT_H	"$Header: /usr6/postgres/mao/postgres/src/lib/H/RCS/cat.h,v 1.5 89/06/17 01:58:10 hirohama Exp $"
@


1.5
log
@added stuff--now closer to the contents of lib/H/catalog.h
@
text
@d6 1
a6 1
 *	$Header: cat.h,v 1.4 89/04/14 18:16:58 hirohama Locked $
d24 1
a24 1
#define CAT_H	"$Header$"
@


1.4
log
@*** empty log message ***
@
text
@d6 1
a6 1
 *	$Header: /usr6/postgres/dillon/ptree/src/lib/H/RCS/cat.h,v 1.3 89/04/12 19:53:15 dillon Exp $
d9 2
a10 2
#ifndef	CAT_H	/* Include this file only once. */
#define CAT_H
d24 3
a26 1
typedef struct RelationTupleFormData {
d43 1
a43 1
} RelationTupleFormData;
d45 1
a45 1
typedef RelationTupleFormData	*RelationTupleForm;
d47 1
a47 1
typedef struct AttributeTupleFormData {
d61 1
a61 1
} AttributeTupleFormData;
d63 2
a64 1
typedef AttributeTupleFormData	*AttributeTupleForm;
d66 9
a74 1
typedef struct IndexTupleFormData {
d82 1
a82 1
} IndexTupleFormData;
d84 2
a85 1
typedef IndexTupleFormData	*IndexTupleForm;
d87 9
a95 1
typedef struct	TypeTupleFormData {
d111 1
a111 1
} TypeTupleFormData; 
d113 2
a114 1
typedef TypeTupleFormData    *TypeTupleForm;
d116 1
a116 1
typedef struct OperatorTupleFormData {
d133 1
a133 1
} OperatorTupleFormData;
d135 1
a135 1
typedef OperatorTupleFormData	*OperatorTupleForm;
d137 1
a137 1
typedef struct AccessMethodTupleFormData {
d160 1
a160 1
} AccessMethodTupleFormData;
d162 1
a162 1
typedef AccessMethodTupleFormData	*AccessMethodTupleForm;
d164 1
a164 1
typedef struct AccessMethodOperatorTupleFormData {
d171 1
a171 1
} AccessMethodOperatorTupleFormData;
d173 1
a173 1
typedef AccessMethodOperatorTupleFormData	*AccessMethodOperatorTupleForm;
d175 1
a175 1
#endif	/* !defined(CAT_H) */
@


1.3
log
@c.h
@
text
@d6 1
a6 1
 *	$Header: /usr6/postgres/dillon/ptree/src/lib/H/RCS/cat.h,v 1.2 89/03/22 17:32:29 muir Stab $
d9 2
a10 2
#ifndef	CatIncluded	/* Include this file only once. */
#define CatIncluded	1
d154 1
a154 1
#endif	/* !defined(CatIncluded) */
@


1.2
log
@copyright removal
@
text
@d6 1
a6 1
 *	$Header: /usr6/postgres/muir/postgres/src/lib/H/RCS/cat.h,v 1.1 89/01/17 05:53:54 cimarron Exp $
d14 1
d16 1
@


1.1
log
@Initial revision
@
text
@a0 27

; /*
; * 
; * POSTGRES Data Base Management System
; * 
; * Copyright (c) 1988 Regents of the University of California
; * 
; * Permission to use, copy, modify, and distribute this software and its
; * documentation for educational, research, and non-profit purposes and
; * without fee is hereby granted, provided that the above copyright
; * notice appear in all copies and that both that copyright notice and
; * this permission notice appear in supporting documentation, and that
; * the name of the University of California not be used in advertising
; * or publicity pertaining to distribution of the software without
; * specific, written prior permission.  Permission to incorporate this
; * software into commercial products can be obtained from the Campus
; * Software Office, 295 Evans Hall, University of California, Berkeley,
; * Ca., 94720 provided only that the the requestor give the University
; * of California a free licence to any derived software for educational
; * and research purposes.  The University of California makes no
; * representations about the suitability of this software for any
; * purpose.  It is provided "as is" without express or implied warranty.
; * 
; */



d6 1
a6 1
 *	$Header: cat.h,v 1.1 88/11/11 16:36:57 postgres Exp $
@
