diff options
author | Marc G. Fournier <scrappy@hub.org> | 1996-08-27 21:49:14 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1996-08-27 21:49:14 +0000 |
commit | 9247b29228c05e1e368c14d339fcbabeb27b426b (patch) | |
tree | 9ab68b8bb9118aa21b47c5398c7df2571d41506c /src/backend/access/funcindex.h | |
parent | e1f31a2bb67d5b70f12951562da3fa33b141cafe (diff) | |
download | postgresql-9247b29228c05e1e368c14d339fcbabeb27b426b.tar.gz postgresql-9247b29228c05e1e368c14d339fcbabeb27b426b.zip |
The use of include files is a mess...alot of redundancy, it seems...
First Step: Centralize them under on src/include hierarchy
Diffstat (limited to 'src/backend/access/funcindex.h')
-rw-r--r-- | src/backend/access/funcindex.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/src/backend/access/funcindex.h b/src/backend/access/funcindex.h deleted file mode 100644 index 4689df19c04..00000000000 --- a/src/backend/access/funcindex.h +++ /dev/null @@ -1,43 +0,0 @@ -/*------------------------------------------------------------------------- - * - * funcindex.h-- - * - * - * - * Copyright (c) 1994, Regents of the University of California - * - * $Id: funcindex.h,v 1.1.1.1 1996/07/09 06:21:08 scrappy Exp $ - * - *------------------------------------------------------------------------- - */ -#ifndef _FUNC_INDEX_INCLUDED_ -#define _FUNC_INDEX_INCLUDED_ - -#include "postgres.h" - -typedef struct { - int nargs; - Oid arglist[8]; - Oid procOid; - NameData funcName; -} FuncIndexInfo; - -typedef FuncIndexInfo *FuncIndexInfoPtr; - -/* - * some marginally useful macro definitions - */ -/* #define FIgetname(FINFO) (&((FINFO)->funcName.data[0]))*/ -#define FIgetname(FINFO) (FINFO)->funcName.data -#define FIgetnArgs(FINFO) (FINFO)->nargs -#define FIgetProcOid(FINFO) (FINFO)->procOid -#define FIgetArg(FINFO, argnum) (FINFO)->arglist[argnum] -#define FIgetArglist(FINFO) (FINFO)->arglist - -#define FIsetnArgs(FINFO, numargs) ((FINFO)->nargs = numargs) -#define FIsetProcOid(FINFO, id) ((FINFO)->procOid = id) -#define FIsetArg(FINFO, argnum, argtype) ((FINFO)->arglist[argnum] = argtype) - -#define FIisFunctionalIndex(FINFO) (FINFO->procOid != InvalidOid) - -#endif /* FUNCINDEX_H */ |