/*
 * creatinh.h --
 *	POSTGRES create/destroy relation with inheritance utility definitions.
 *
 * Identification:
 *	$Header: RCS/creatinh.h,v 1.1 89/08/11 16:02:54 hirohama Exp $
 */

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

#ifndef C_H
#include "c.h"
#endif

#include "name.h"
#include "pg_lisp.h"

/*
 * DefineRelation --
 *	Creates a new relation.
 */
extern
void
DefineRelation ARGS((
	LispValue	relationName;
	LispValue	parameters;
	LispValue	schema;
));

/*
 * RemoveRelation --
 *	Deletes a new relation.
 *
 * Exceptions:
 *	BadArg if name is invalid.
 *
 * Note:
 *	If the relation has indices defined on it, then the index relations
 * themselves will be destroyed, too.
 */
extern
void
RemoveRelation ARGS((
	Name	name;
));

#endif	/* !defined(CreatInhIncluded) */
