/*-------------------------------------------------------------------------
 *
 * pg_amproc.h
 *	  definition of the system "amproc" relation (pg_amproc)
 *	  along with the relation's initial contents.  The amproc
 *	  catalog is used to store procedures used by index access
 *	  methods that aren't associated with operators.
 *
 *
 * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
 * Portions Copyright (c) 1994, Regents of the University of California
 *
 * $Id: pg_amproc.h,v 1.23 2000/06/19 03:54:45 tgl Exp $
 *
 * NOTES
 *	  the genbki.sh script reads this file and generates .bki
 *	  information from the DATA() statements.
 *
 *-------------------------------------------------------------------------
 */
#ifndef PG_AMPROC_H
#define PG_AMPROC_H

/* ----------------
 *		postgres.h contains the system type definitions and the
 *		CATALOG(), BOOTSTRAP and DATA() sugar words so this file
 *		can be read by both genbki.sh and the C compiler.
 * ----------------
 */

/* ----------------
 *		pg_amproc definition.  cpp turns this into
 *		typedef struct FormData_pg_amproc
 * ----------------
 */
CATALOG(pg_amproc)
{
	Oid			amid;			/* the access method this proc is for */
	Oid			amopclaid;		/* the opclass this proc is for */
	Oid			amproc;			/* OID of the proc */
	int2		amprocnum;		/* support procedure index */
} FormData_pg_amproc;

/* ----------------
 *		Form_pg_amproc corresponds to a pointer to a tuple with
 *		the format of pg_amproc relation.
 * ----------------
 */
typedef FormData_pg_amproc *Form_pg_amproc;

/* ----------------
 *		compiler constants for pg_amproc
 * ----------------
 */
#define Natts_pg_amproc					4
#define Anum_pg_amproc_amid				1
#define Anum_pg_amproc_amopclaid		2
#define Anum_pg_amproc_amproc			3
#define Anum_pg_amproc_amprocnum		4

/* ----------------
 *		initial contents of pg_amproc
 * ----------------
 */

/* rtree */
DATA(insert OID = 0 (402  422  193 1));
DATA(insert OID = 0 (402  422  194 2));
DATA(insert OID = 0 (402  422  195 3));
DATA(insert OID = 0 (402  433  193 1));
DATA(insert OID = 0 (402  433  194 2));
DATA(insert OID = 0 (402  433  196 3));
DATA(insert OID = 0 (402  434  197 1));
DATA(insert OID = 0 (402  434  198 2));
DATA(insert OID = 0 (402  434  199 3));


/* btree */
DATA(insert OID = 0 (403  421  350 1));
DATA(insert OID = 0 (403  423  355 1));
DATA(insert OID = 0 (403  426  351 1));
DATA(insert OID = 0 (403  427  356 1));
DATA(insert OID = 0 (403  428  354 1));
DATA(insert OID = 0 (403  429  358 1));
DATA(insert OID = 0 (403  431  360 1));
DATA(insert OID = 0 (403  432  357 1));
DATA(insert OID = 0 (403  435  404 1));
DATA(insert OID = 0 (403  754  842 1));
DATA(insert OID = 0 (403 1076 1078 1));
DATA(insert OID = 0 (403 1077 1079 1));
DATA(insert OID = 0 (403 1114 1092 1));
DATA(insert OID = 0 (403 1115 1107 1));
DATA(insert OID = 0 (403 1181  359 1));
DATA(insert OID = 0 (403 1312 1314 1));
DATA(insert OID = 0 (403 1313 1315 1));
DATA(insert OID = 0 (403  810  836 1));
DATA(insert OID = 0 (403  935  926 1));
DATA(insert OID = 0 (403  652  926 1));
DATA(insert OID = 0 (403 1768 1769 1));
DATA(insert OID = 0 (403 1690 1693 1));
DATA(insert OID = 0 (403 1663 1636 1));
DATA(insert OID = 0 (403 1399 1358 1));



/* hash */
DATA(insert OID = 0 (405  421  449 1));
DATA(insert OID = 0 (405  423  452 1));
DATA(insert OID = 0 (405  426  450 1));
DATA(insert OID = 0 (405  427  453 1));
DATA(insert OID = 0 (405  428  451 1));
DATA(insert OID = 0 (405  429  454 1));
DATA(insert OID = 0 (405  431  456 1));
DATA(insert OID = 0 (405  435  457 1));
DATA(insert OID = 0 (405  652  456 1));
DATA(insert OID = 0 (405  754  949 1));
DATA(insert OID = 0 (405  810  456 1));
DATA(insert OID = 0 (405  935  456 1));
DATA(insert OID = 0 (405 1076 1080 1));
DATA(insert OID = 0 (405 1077  456 1));
DATA(insert OID = 0 (405 1114  450 1));
DATA(insert OID = 0 (405 1115  452 1));
DATA(insert OID = 0 (405 1181  455 1));
DATA(insert OID = 0 (405 1312  452 1));
DATA(insert OID = 0 (405 1313 1697 1));
DATA(insert OID = 0 (405 1399 1696 1));

#endif	 /* PG_AMPROC_H */
